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)
           
 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

public List getSchemeIssueSecurityLevels(Long schemeId)

schemeIssueSecurityExists

public boolean schemeIssueSecurityExists(Long id)

getIssueSecurityName

public String getIssueSecurityName(Long id)

getIssueSecurityDescription

public String getIssueSecurityDescription(Long id)

getIssueSecurity

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

getUsersSecurityLevels

public 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:
Map containing the security levels
Throws:
org.ofbiz.core.entity.GenericEntityException

getSchemeDefaultSecurityLevel

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

getIssueSecurityLevel

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

deleteSecurityLevel

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

clearUsersLevels

public void clearUsersLevels()

clearProjectLevels

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


Copyright © 2002-2006 Atlassian. All Rights Reserved.