com.atlassian.jira.security
Class AbstractSecurityTypeManager
java.lang.Object
com.atlassian.jira.scheme.AbstractSchemeTypeManager<SecurityType>
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSecurityTypeManager
public AbstractSecurityTypeManager()
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.