Interface SelectComponentAssigneesUtil
- All Known Implementing Classes:
SelectComponentAssigneesUtilImpl
public interface SelectComponentAssigneesUtil
This a loose collection of things that are used by the
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"
-
Method Summary
Modifier and TypeMethodDescriptionexecute(ApplicationUser user) booleanhasPermission(Project project, ApplicationUser user) voidsetComponentAssigneeTypes(Map<ProjectComponent, Long> componentAssigneeTypes) voidsetFieldPrefix(String fieldPrefix) validate()
-
Method Details
-
validate
ErrorCollection validate() -
hasPermission
-
execute
- Throws:
org.ofbiz.core.entity.GenericEntityException
-
getComponentAssigneeTypes
Map getComponentAssigneeTypes() -
setComponentAssigneeTypes
-
getFieldPrefix
String getFieldPrefix() -
setFieldPrefix
-