| | |
| | | */ |
| | | public class IssueCondition { |
| | | private Long id; |
| | | private String keyWord; |
| | | private String title; |
| | | private String description; |
| | | private String combinationIssueNumber; |
| | |
| | | private Long workspaceId; |
| | | private String projectType; |
| | | private String deep; |
| | | private String isApi; |
| | | private Long parentIssueId; // 상위 일감 |
| | | private String useValue; |
| | | private List<Long> projectIds = Lists.newArrayList(); |
| | | private List<Long> issueStatusIds = Lists.newArrayList(); |
| | | private List<Long> issueTypeIds = Lists.newArrayList(); |
| | |
| | | private List<Long> departmentIds = Lists.newArrayList(); |
| | | private List<Long> registerIds = Lists.newArrayList(); |
| | | private List<String> issueIds = Lists.newArrayList(); // 이슈 목록 검색에서 사용자 정의 필드로 1차 검색한 결과를 담을때 사용 |
| | | private List<String> userCustomFields = Lists.newArrayList(); |
| | | private List<Map<String, Object>> issueCustomFields = Lists.newArrayList(); |
| | | private List<Map<String, Object>> issueCompanyField = Lists.newArrayList(); |
| | | private List<Map<String, Object>> issueIspField = Lists.newArrayList(); |
| | | private List<Map<String, Object>> issueHostingField = Lists.newArrayList(); |
| | | private List<Long> statusIds = Lists.newArrayList(); |
| | | private List<Long> excludeIds = Lists.newArrayList(); |
| | | |
| | | private List<Long> myDepartmentIds; // 내가 속해있는 부서 ID |
| | | private Boolean hideDownIssue; |
| | | private Boolean hideCompleteIssue; |
| | | private Boolean isTree; // 트리구조 모드 일때 |
| | | |
| | | public IssueCondition(){} |
| | | |
| | | public IssueCondition(Long issueId, Long parentIssueId){ |
| | | this.id = issueId; |
| | | this.parentIssueId = parentIssueId; |
| | | } |
| | | // 대시보드 위기관리 위젯에서 사용 |
| | | public IssueCondition(List<String> issueIds){ |
| | | this.issueIds = issueIds; |
| | |
| | | condition.setExcludeIds(MapUtil.getLongs(conditions, "excludeIds")); |
| | | } |
| | | |
| | | if (MapUtil.getLong(conditions, "issueId") != null) { |
| | | condition.setId(MapUtil.getLong(conditions, "issueId")); |
| | | } |
| | | |
| | | if (MapUtil.getBoolean(conditions, "hideDownIssue") != null) { |
| | | condition.setHideDownIssue(MapUtil.getBoolean(conditions, "hideDownIssue")); |
| | | } |
| | | |
| | | if (MapUtil.getBoolean(conditions, "hideCompleteIssue") != null) { |
| | | condition.setHideCompleteIssue(MapUtil.getBoolean(conditions, "hideCompleteIssue")); |
| | | } |
| | | |
| | | if (MapUtil.getBoolean(conditions, "isTree") != null) { |
| | | condition.setTree(MapUtil.getBoolean(conditions, "isTree")); |
| | | } else { |
| | | condition.setTree(false); |
| | | } |
| | | |
| | | return condition; |
| | | } |
| | | |
| | | public String getKeyWord() { |
| | | return keyWord; |
| | | } |
| | | |
| | | public void setKeyWord(String keyWord) { |
| | | this.keyWord = keyWord; |
| | | } |
| | | |
| | | public Long getId() { |
| | |
| | | |
| | | public void setDeep(String deep) { |
| | | this.deep = deep; |
| | | } |
| | | |
| | | public String getIsApi() { |
| | | return isApi; |
| | | } |
| | | |
| | | public void setIsApi(String isApi) { |
| | | this.isApi = isApi; |
| | | } |
| | | |
| | | public List<Long> getProjectIds() { |
| | |
| | | this.parentIssueId = parentIssueId; |
| | | } |
| | | |
| | | public List<String> getUserCustomFields() { |
| | | return userCustomFields; |
| | | public String getUseValue() { |
| | | return useValue; |
| | | } |
| | | |
| | | public void setUserCustomFields(List<String> userCustomFields) { |
| | | this.userCustomFields = userCustomFields; |
| | | public void setUseValue(String useValue) { |
| | | this.useValue = useValue; |
| | | } |
| | | |
| | | public List<Long> getMyDepartmentIds() { |
| | | return myDepartmentIds; |
| | | } |
| | | |
| | | public void setMyDepartmentIds(List<Long> myDepartmentIds) { |
| | | this.myDepartmentIds = myDepartmentIds; |
| | | } |
| | | |
| | | public Boolean getHideDownIssue() { |
| | | return hideDownIssue; |
| | | } |
| | | |
| | | public void setHideDownIssue(Boolean hideDownIssue) { |
| | | this.hideDownIssue = hideDownIssue; |
| | | } |
| | | |
| | | public Boolean getHideCompleteIssue() { |
| | | return hideCompleteIssue; |
| | | } |
| | | |
| | | public void setHideCompleteIssue(Boolean hideCompleteIssue) { |
| | | this.hideCompleteIssue = hideCompleteIssue; |
| | | } |
| | | |
| | | public Boolean getTree() { |
| | | return isTree; |
| | | } |
| | | |
| | | public void setTree(Boolean tree) { |
| | | isTree = tree; |
| | | } |
| | | } |