com.atlassian.jira.security
Class AbstractSecurityTypeManager

java.lang.Object
  extended by com.atlassian.jira.scheme.AbstractSchemeTypeManager<SecurityType>
      extended by com.atlassian.jira.security.AbstractSecurityTypeManager
All Implemented Interfaces:
SchemeTypeManager<SecurityType>, SecurityTypeManager
Direct Known Subclasses:
IssueSecurityTypeManager, PermissionTypeManager

public abstract class AbstractSecurityTypeManager
extends AbstractSchemeTypeManager<SecurityType>
implements SecurityTypeManager

This class reads the permission-types.xml file for the different types of issue securities that are used. These can be group, CurrentReporter , Project Lead etc These types are used for general permission types as well as Issue Security types.


Constructor Summary
AbstractSecurityTypeManager()
           
 
Method Summary
 String getResourceName()
           
 Map<String,SecurityType> getSchemeTypes()
           
 SecurityType getSecurityType(String id)
           
 Map<String,SecurityType> getSecurityTypes()
           
 boolean hasSecurityType(String securityTypeStr)
           
 void setSchemeTypes(Map<String,SecurityType> schemeType)
           
 void setSecurityTypes(Map<String,SecurityType> securityTypes)
           
 
Methods inherited from class com.atlassian.jira.scheme.AbstractSchemeTypeManager
getSchemeType, getTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.scheme.SchemeTypeManager
getSchemeType, getTypes
 

Constructor Detail

AbstractSecurityTypeManager

public AbstractSecurityTypeManager()
Method Detail

getSecurityType

public SecurityType getSecurityType(String id)
Specified by:
getSecurityType in interface SecurityTypeManager

getSecurityTypes

public Map<String,SecurityType> getSecurityTypes()
Specified by:
getSecurityTypes in interface SecurityTypeManager

setSecurityTypes

public void setSecurityTypes(Map<String,SecurityType> securityTypes)
Specified by:
setSecurityTypes in interface SecurityTypeManager

getResourceName

public String getResourceName()
Specified by:
getResourceName in class AbstractSchemeTypeManager<SecurityType>

getSchemeTypes

public Map<String,SecurityType> getSchemeTypes()
Specified by:
getSchemeTypes in interface SchemeTypeManager<SecurityType>
Specified by:
getSchemeTypes in class AbstractSchemeTypeManager<SecurityType>

setSchemeTypes

public void setSchemeTypes(Map<String,SecurityType> schemeType)
Specified by:
setSchemeTypes in interface SchemeTypeManager<SecurityType>
Specified by:
setSchemeTypes in class AbstractSchemeTypeManager<SecurityType>

hasSecurityType

public boolean hasSecurityType(String securityTypeStr)
Specified by:
hasSecurityType in interface SecurityTypeManager


Copyright © 2002-2014 Atlassian. All Rights Reserved.