| | |
| | | package kr.wisestone.owl.web.condition; |
| | | |
| | | import com.google.common.collect.Lists; |
| | | import kr.wisestone.owl.util.ConvertUtil; |
| | | import kr.wisestone.owl.util.MapUtil; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | private Long relationIssueId; |
| | | private Long relationIssueType; |
| | | |
| | | private List<Long> removeIds = Lists.newArrayList(); |
| | | |
| | | public IssueRelationCondition() {} |
| | | |
| | | public static IssueRelationCondition make(Map<String, Object> params) { |
| | | IssueRelationCondition condition = ConvertUtil.convertMapToClass(params, IssueRelationCondition.class); |
| | | |
| | | // 삭제 이슈 정보 |
| | | if (MapUtil.getLongs(params, "removeIds") != null) { |
| | | condition.setRemoveIds(MapUtil.getLongs(params, "removeIds")); |
| | | } |
| | | |
| | | return condition; |
| | | } |
| | | |
| | |
| | | public void setRelationIssueType(Long type) { |
| | | this.relationIssueType = type; |
| | | } |
| | | |
| | | public List<Long> getRemoveIds() { |
| | | return removeIds; |
| | | } |
| | | |
| | | public void setRemoveIds(List<Long> removeIds) { |
| | | this.removeIds = removeIds; |
| | | } |
| | | } |