com.atlassian.jira.action.component
Interface SelectComponentAssigneesUtil

All Known Implementing Classes:
SelectComponentAssigneesUtilImpl

public interface SelectComponentAssigneesUtil

This a loose collection of things that are used by the SelectComponentAssignees Jelly Tag and 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
 ErrorCollection execute(com.atlassian.crowd.embedded.api.User user)
           
 Map getComponentAssigneeTypes()
           
 String getFieldPrefix()
           
 boolean hasPermission(Project project, com.atlassian.crowd.embedded.api.User user)
           
 void setComponentAssigneeTypes(Map componentAssigneeTypes)
           
 void setFieldPrefix(String fieldPrefix)
           
 ErrorCollection validate()
           
 

Method Detail

validate

ErrorCollection validate()

hasPermission

boolean hasPermission(Project project,
                      com.atlassian.crowd.embedded.api.User user)

execute

ErrorCollection execute(com.atlassian.crowd.embedded.api.User user)
                        throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getComponentAssigneeTypes

Map getComponentAssigneeTypes()

setComponentAssigneeTypes

void setComponentAssigneeTypes(Map componentAssigneeTypes)

getFieldPrefix

String getFieldPrefix()

setFieldPrefix

void setFieldPrefix(String fieldPrefix)


Copyright © 2002-2012 Atlassian. All Rights Reserved.