com.atlassian.jira.issue.security
Class IssueSecurityHelperImpl

java.lang.Object
  extended by 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

Constructor Summary
IssueSecurityHelperImpl(FieldLayoutManager fieldLayoutManager)
           
 
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
 

Constructor Detail

IssueSecurityHelperImpl

public IssueSecurityHelperImpl(FieldLayoutManager fieldLayoutManager)
Method Detail

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 issue
targetIssue - 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-2014 Atlassian. All Rights Reserved.