public interface SelectComponentAssigneesUtil
SelectComponentAssignees
action.
This should be refactored in the future so that this logic can be unit tested. It should probably live in the ProjectComponentService
. Setters and getters should not be "reused"
Modifier and Type | Method and Description |
---|---|
ErrorCollection |
execute(ApplicationUser user) |
Map |
getComponentAssigneeTypes() |
String |
getFieldPrefix() |
boolean |
hasPermission(Project project,
ApplicationUser user) |
void |
setComponentAssigneeTypes(Map<ProjectComponent,Long> componentAssigneeTypes) |
void |
setFieldPrefix(String fieldPrefix) |
ErrorCollection |
validate() |
ErrorCollection validate()
boolean hasPermission(Project project, ApplicationUser user)
ErrorCollection execute(ApplicationUser user) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
Map getComponentAssigneeTypes()
void setComponentAssigneeTypes(Map<ProjectComponent,Long> componentAssigneeTypes)
String getFieldPrefix()
void setFieldPrefix(String fieldPrefix)
Copyright © 2002-2019 Atlassian. All Rights Reserved.