| | |
| | | private List<Long> managerIds = Lists.newArrayList(); |
| | | private List<Long> removeIds = Lists.newArrayList(); |
| | | private List<Long> userIds = Lists.newArrayList(); |
| | | private List<Long> departmentIds = Lists.newArrayList(); |
| | | |
| | | public ProjectForm() { |
| | | } |
| | |
| | | |
| | | if (MapUtil.getLongs(params, "userIds") != null) { |
| | | form.setUserIds(MapUtil.getLongs(params, "userIds")); |
| | | } |
| | | |
| | | if (MapUtil.getLongs(params, "departmentIds") != null) { |
| | | form.setDepartmentIds(MapUtil.getLongs(params, "departmentIds")); |
| | | } |
| | | |
| | | if (MapUtil.getLongs(params, "removeIds") != null) { |
| | |
| | | public void addRemoveIds(Long removeId) { |
| | | this.removeIds.add(removeId); |
| | | } |
| | | |
| | | public List<Long> getDepartmentIds() { |
| | | return departmentIds; |
| | | } |
| | | |
| | | public void setDepartmentIds(List<Long> departmentIds) { |
| | | this.departmentIds = departmentIds; |
| | | } |
| | | } |