public class AdminProjectUtilities extends Object
Constructor | Description |
---|---|
AdminProjectUtilities() |
Modifier and Type | Method | Description |
---|---|---|
static void |
handleInitialProjectMembers(org.itracker.model.Project project,
Set<Integer> userIds,
Set<Integer> permissions,
org.itracker.services.ProjectService projectService,
org.itracker.services.UserService userService) |
When creating project, initial set of users with specific set of rights
can be defined.
|
static void |
setFormProperties(org.itracker.model.Project project,
org.itracker.services.ProjectService projectService,
org.apache.struts.action.ActionForm form,
org.apache.struts.action.ActionMessages errors) |
|
static void |
updateProjectOwners(org.itracker.model.Project project,
Set<Integer> userIds,
org.itracker.services.ProjectService projectService,
org.itracker.services.UserService userService) |
Setup permissions for updated project-owners.
|
public static void handleInitialProjectMembers(org.itracker.model.Project project, Set<Integer> userIds, Set<Integer> permissions, org.itracker.services.ProjectService projectService, org.itracker.services.UserService userService)
project
- the projectuserIds
- the user IDspermissions
- the permissionsprojectService
- the project serviceuserService
- the user servicepublic static void updateProjectOwners(org.itracker.model.Project project, Set<Integer> userIds, org.itracker.services.ProjectService projectService, org.itracker.services.UserService userService)
project
- the projectuserIds
- the user IDsuserService
- the user servicepublic static void setFormProperties(org.itracker.model.Project project, org.itracker.services.ProjectService projectService, org.apache.struts.action.ActionForm form, org.apache.struts.action.ActionMessages errors) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
Copyright © 2002–2019 itracker. All rights reserved.