com.atlassian.jira.issue.security
Class IssueSecurityHelperImpl
java.lang.Object
com.atlassian.jira.issue.security.IssueSecurityHelperImpl
- All Implemented Interfaces:
- IssueSecurityHelper
public class IssueSecurityHelperImpl
- extends Object
- implements IssueSecurityHelper
Implementation of IssueSecurityHelper
- Since:
- v3.13
- See Also:
IssueSecurityHelper
Method Summary |
boolean |
securityLevelNeedsMove(Issue sourceIssue,
Issue targetIssue)
Checks if we possibly want to change the Security Level of an issue that is being moved. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueSecurityHelperImpl
public IssueSecurityHelperImpl(FieldLayoutManager fieldLayoutManager)
securityLevelNeedsMove
public boolean securityLevelNeedsMove(Issue sourceIssue,
Issue targetIssue)
- Description copied from interface:
IssueSecurityHelper
- Checks if we possibly want to change the Security Level of an issue that is being moved.
See
SecurityLevelSystemField.needsMove(java.util.Collection, com.atlassian.jira.issue.Issue, com.atlassian.jira.issue.fields.layout.field.FieldLayoutItem)
for the actual logic performing the check.
- Specified by:
securityLevelNeedsMove
in interface IssueSecurityHelper
- Parameters:
sourceIssue
- The original issuetargetIssue
- The new issue we're moving to. Needs to have the new project set
- Returns:
- true if the security level should be reset on the target issue.
Copyright © 2002-2012 Atlassian. All Rights Reserved.