com.atlassian.jira.scheme
Interface SchemeType

All Known Subinterfaces:
SecurityType
All Known Implementing Classes:
AbstractSecurityType

public interface SchemeType


Method Summary
 boolean doValidation(java.lang.String key, java.util.Map parameters)
           
 java.lang.String getDisplayName()
           
 java.lang.String getType()
           
 boolean hasPermission(GenericValue entity, java.lang.String argument)
          Interface for determining if a permission type has the permission
 boolean hasPermission(GenericValue entity, java.lang.String argument, User user)
          Interface for determining if a permission type has the permission
 

Method Detail

getDisplayName

public java.lang.String getDisplayName()

getType

public java.lang.String getType()

doValidation

public boolean doValidation(java.lang.String key,
                            java.util.Map parameters)

hasPermission

public boolean hasPermission(GenericValue entity,
                             java.lang.String argument)
Interface for determining if a permission type has the permission

Parameters:
entity -
argument -
Returns:
See Also:
AbstractIssueFieldSecurityType.hasPermission(GenericValue, java.lang.String), AbstractIssueFieldSecurityType.hasPermission(GenericValue, java.lang.String), ProjectLead.hasPermission(GenericValue, java.lang.String), SingleUser.hasPermission(GenericValue, java.lang.String), GroupDropdown.hasPermission(GenericValue, java.lang.String)

hasPermission

public boolean hasPermission(GenericValue entity,
                             java.lang.String argument,
                             User user)
Interface for determining if a permission type has the permission

Parameters:
entity -
argument -
user -
Returns:
See Also:
AbstractIssueFieldSecurityType.hasPermission(GenericValue, java.lang.String), AbstractIssueFieldSecurityType.hasPermission(GenericValue, java.lang.String), ProjectLead.hasPermission(GenericValue, java.lang.String), SingleUser.hasPermission(GenericValue, java.lang.String), GroupDropdown.hasPermission(GenericValue, java.lang.String)