|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.security.IssueLevelSecurities
Field Summary | |
protected org.apache.log4j.Category |
log
|
Constructor Summary | |
IssueLevelSecurities()
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(Long levelId)
|
org.ofbiz.core.entity.GenericValue |
getIssueSecurity(Long id)
|
String |
getIssueSecurityDescription(Long id)
|
org.ofbiz.core.entity.GenericValue |
getIssueSecurityLevel(Long id)
|
String |
getIssueSecurityName(Long id)
Get the name of the issue security |
Long |
getSchemeDefaultSecurityLevel(org.ofbiz.core.entity.GenericValue project)
|
List |
getSchemeIssueSecurityLevels(Long schemeId)
Get a map of the securities that can be part of a issue security scheme. |
List |
getUsersSecurityLevels(org.ofbiz.core.entity.GenericValue entity,
User user)
Get the different levels of security that can be set for this issue |
boolean |
schemeIssueSecurityExists(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 IssueLevelSecurities()
Method Detail |
public List getSchemeIssueSecurityLevels(Long schemeId)
getSchemeIssueSecurityLevels
in interface IssueSecurityLevelManager
public boolean schemeIssueSecurityExists(Long id)
schemeIssueSecurityExists
in interface IssueSecurityLevelManager
id
- The security Id
public String getIssueSecurityName(Long id)
getIssueSecurityName
in interface IssueSecurityLevelManager
id
- The security Id
public String getIssueSecurityDescription(Long id)
getIssueSecurityDescription
in interface IssueSecurityLevelManager
public org.ofbiz.core.entity.GenericValue getIssueSecurity(Long id)
getIssueSecurity
in interface IssueSecurityLevelManager
public List getUsersSecurityLevels(org.ofbiz.core.entity.GenericValue entity, User user) throws org.ofbiz.core.entity.GenericEntityException
getUsersSecurityLevels
in interface IssueSecurityLevelManager
entity
- This is the issue or the project that the security is being checked foruser
- The user used for the security check
org.ofbiz.core.entity.GenericEntityException
public Long getSchemeDefaultSecurityLevel(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
getSchemeDefaultSecurityLevel
in interface IssueSecurityLevelManager
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue getIssueSecurityLevel(Long id) throws org.ofbiz.core.entity.GenericEntityException
getIssueSecurityLevel
in interface IssueSecurityLevelManager
org.ofbiz.core.entity.GenericEntityException
public void deleteSecurityLevel(Long levelId) throws org.ofbiz.core.entity.GenericEntityException
deleteSecurityLevel
in interface IssueSecurityLevelManager
org.ofbiz.core.entity.GenericEntityException
public void clearUsersLevels()
clearUsersLevels
in interface IssueSecurityLevelManager
public void clearProjectLevels(org.ofbiz.core.entity.GenericValue project)
clearProjectLevels
in interface IssueSecurityLevelManager
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |