|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.atlassian.jira.issue.security.SchemeIssueSecurities
Field Summary | |
protected org.apache.log4j.Category |
log
|
Constructor Summary | |
SchemeIssueSecurities()
This class gets a list of all the security that can be part of a issue security scheme |
Method Summary | |
void |
clearProjectLevels(org.ofbiz.core.entity.GenericValue project)
Clears the User security Level Map. |
void |
clearUsersLevels()
Clears the User security Level Map. |
void |
deleteSecurityLevel(java.lang.Long levelId)
|
org.ofbiz.core.entity.GenericValue |
getIssueSecurity(java.lang.Long id)
|
java.lang.String |
getIssueSecurityDescription(java.lang.Long id)
|
org.ofbiz.core.entity.GenericValue |
getIssueSecurityLevel(java.lang.Long id)
|
java.lang.String |
getIssueSecurityName(java.lang.Long id)
Get the name of the issue security |
java.lang.Long |
getSchemeDefaultSecurityLevel(org.ofbiz.core.entity.GenericValue project)
|
java.util.List |
getSchemeIssueSecurityLevels(java.lang.Long schemeId)
Get a map of the securities that can be part of a issue security scheme. |
java.util.List |
getUsersSecurityLevels(org.ofbiz.core.entity.GenericValue entity,
com.opensymphony.module.user.User user)
Get the different levels of security that can be set for this issue |
boolean |
schemeIssueSecurityExists(java.lang.Long id)
Checks to see if the issue security exists |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final org.apache.log4j.Category log
Constructor Detail |
public SchemeIssueSecurities()
Method Detail |
public java.util.List getSchemeIssueSecurityLevels(java.lang.Long schemeId)
getSchemeIssueSecurityLevels
in interface SchemeIssueSecurityManager
public boolean schemeIssueSecurityExists(java.lang.Long id)
schemeIssueSecurityExists
in interface SchemeIssueSecurityManager
id
- The security Id
public java.lang.String getIssueSecurityName(java.lang.Long id)
getIssueSecurityName
in interface SchemeIssueSecurityManager
id
- The security Id
public java.lang.String getIssueSecurityDescription(java.lang.Long id)
getIssueSecurityDescription
in interface SchemeIssueSecurityManager
public org.ofbiz.core.entity.GenericValue getIssueSecurity(java.lang.Long id)
getIssueSecurity
in interface SchemeIssueSecurityManager
public java.util.List getUsersSecurityLevels(org.ofbiz.core.entity.GenericValue entity, com.opensymphony.module.user.User user) throws java.lang.Exception
getUsersSecurityLevels
in interface SchemeIssueSecurityManager
entity
- This is the issue or the project that the security is being checked foruser
- The user used for the security check
java.lang.Exception
public java.lang.Long getSchemeDefaultSecurityLevel(org.ofbiz.core.entity.GenericValue project) throws java.lang.Exception
getSchemeDefaultSecurityLevel
in interface SchemeIssueSecurityManager
java.lang.Exception
public org.ofbiz.core.entity.GenericValue getIssueSecurityLevel(java.lang.Long id) throws java.lang.Exception
getIssueSecurityLevel
in interface SchemeIssueSecurityManager
java.lang.Exception
public void deleteSecurityLevel(java.lang.Long levelId) throws org.ofbiz.core.entity.GenericEntityException
deleteSecurityLevel
in interface SchemeIssueSecurityManager
org.ofbiz.core.entity.GenericEntityException
public void clearUsersLevels()
clearUsersLevels
in interface SchemeIssueSecurityManager
public void clearProjectLevels(org.ofbiz.core.entity.GenericValue project)
clearProjectLevels
in interface SchemeIssueSecurityManager
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |