com.atlassian.jira.issue.security
Interface IssueSecurityLevelManager

All Known Implementing Classes:
IssueLevelSecurities

public interface IssueSecurityLevelManager


Method Summary
 void clearProjectLevels(org.ofbiz.core.entity.GenericValue project)
           
 void clearUsersLevels()
           
 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)
           
 Long getSchemeDefaultSecurityLevel(org.ofbiz.core.entity.GenericValue project)
           
 List getSchemeIssueSecurityLevels(Long schemeId)
          Returns the list of Security Levels for the given Issue Security Level 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)
           
 

Method Detail

getSchemeIssueSecurityLevels

List getSchemeIssueSecurityLevels(Long schemeId)
Returns the list of Security Levels for the given Issue Security Level Scheme.

Parameters:
schemeId - ID of the Issue Security Level Scheme.
Returns:
the list of Security Levels for the given Issue Security Level Scheme.

schemeIssueSecurityExists

boolean schemeIssueSecurityExists(Long id)

getIssueSecurityName

String getIssueSecurityName(Long id)

getIssueSecurityDescription

String getIssueSecurityDescription(Long id)

getIssueSecurity

org.ofbiz.core.entity.GenericValue getIssueSecurity(Long id)

getUsersSecurityLevels

List getUsersSecurityLevels(org.ofbiz.core.entity.GenericValue entity,
                            User user)
                            throws org.ofbiz.core.entity.GenericEntityException
Get the different levels of security that can be set for this issue

Parameters:
entity - This is the issue or the project that the security is being checked for
user - The user used for the security check
Returns:
list containing the security levels, can be null
Throws:
org.ofbiz.core.entity.GenericEntityException - Exception in the OFBiz persistence layer.

getSchemeDefaultSecurityLevel

Long getSchemeDefaultSecurityLevel(org.ofbiz.core.entity.GenericValue project)
                                   throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getIssueSecurityLevel

org.ofbiz.core.entity.GenericValue getIssueSecurityLevel(Long id)
                                                         throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

deleteSecurityLevel

void deleteSecurityLevel(Long levelId)
                         throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

clearUsersLevels

void clearUsersLevels()

clearProjectLevels

void clearProjectLevels(org.ofbiz.core.entity.GenericValue project)


Copyright © 2002-2009 Atlassian. All Rights Reserved.