|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IssueSecurityLevelManager
TODO: convert to use IssueSecurityLevel
's
Method Summary | |
---|---|
void |
clearProjectLevels(org.ofbiz.core.entity.GenericValue project)
|
void |
clearUsersLevels()
|
void |
deleteSecurityLevel(Long levelId)
|
Collection<org.ofbiz.core.entity.GenericValue> |
getAllSecurityLevels()
Get all the different levels of security across all schemes. |
Collection<org.ofbiz.core.entity.GenericValue> |
getAllUsersSecurityLevels(User user)
Get the different levels of security that the user can see across all projects. |
org.ofbiz.core.entity.GenericValue |
getIssueSecurity(Long id)
|
String |
getIssueSecurityDescription(Long id)
|
org.ofbiz.core.entity.GenericValue |
getIssueSecurityLevel(Long id)
|
String |
getIssueSecurityName(Long id)
|
Long |
getSchemeDefaultSecurityLevel(org.ofbiz.core.entity.GenericValue project)
|
List<org.ofbiz.core.entity.GenericValue> |
getSchemeIssueSecurityLevels(Long schemeId)
Returns the list of Security Levels for the given Issue Security Level Scheme. |
Collection<org.ofbiz.core.entity.GenericValue> |
getSecurityLevelsByName(String securityLevelName)
Get the different levels of security that have the specified name. |
List<org.ofbiz.core.entity.GenericValue> |
getUsersSecurityLevels(org.ofbiz.core.entity.GenericValue entity,
User user)
Get the different levels of security that can be set for this issue |
Collection<org.ofbiz.core.entity.GenericValue> |
getUsersSecurityLevelsByName(User user,
String securityLevelName)
Get the different levels of security that a user can see that have the specified name. |
boolean |
schemeIssueSecurityExists(Long id)
|
Method Detail |
---|
List<org.ofbiz.core.entity.GenericValue> getSchemeIssueSecurityLevels(Long schemeId)
schemeId
- ID of the Issue Security Level Scheme.
boolean schemeIssueSecurityExists(Long id)
String getIssueSecurityName(Long id)
String getIssueSecurityDescription(Long id)
org.ofbiz.core.entity.GenericValue getIssueSecurity(Long id)
List<org.ofbiz.core.entity.GenericValue> getUsersSecurityLevels(org.ofbiz.core.entity.GenericValue entity, User user) throws org.ofbiz.core.entity.GenericEntityException
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
- Exception in the OFBiz persistence layer.Collection<org.ofbiz.core.entity.GenericValue> getAllUsersSecurityLevels(User user) throws org.ofbiz.core.entity.GenericEntityException
user
- The user used for the security check
org.ofbiz.core.entity.GenericEntityException
- Exception in the OFBiz persistence layer.Collection<org.ofbiz.core.entity.GenericValue> getAllSecurityLevels() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
- Exception in the OFBiz persistence layer.Collection<org.ofbiz.core.entity.GenericValue> getUsersSecurityLevelsByName(User user, String securityLevelName) throws org.ofbiz.core.entity.GenericEntityException
user
- the usersecurityLevelName
- the name of the security level.
org.ofbiz.core.entity.GenericEntityException
- Exception in the OFBiz persistence layer.Collection<org.ofbiz.core.entity.GenericValue> getSecurityLevelsByName(String securityLevelName) throws org.ofbiz.core.entity.GenericEntityException
securityLevelName
- the name of the security level.
org.ofbiz.core.entity.GenericEntityException
- Exception in the OFBiz persistence layer.Long getSchemeDefaultSecurityLevel(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericValue getIssueSecurityLevel(Long id) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
void deleteSecurityLevel(Long levelId) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
void clearUsersLevels()
void clearProjectLevels(org.ofbiz.core.entity.GenericValue project)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |