com.atlassian.jira.web.action.admin.issuefields.enterprise
Class FieldLayoutSchemeHelperImpl
java.lang.Object
com.atlassian.jira.web.action.admin.issuefields.enterprise.FieldLayoutSchemeHelperImpl
- All Implemented Interfaces:
- FieldLayoutSchemeHelper
@InjectableComponent
public class FieldLayoutSchemeHelperImpl
- extends Object
- implements FieldLayoutSchemeHelper
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldLayoutSchemeHelperImpl
public FieldLayoutSchemeHelperImpl(FieldLayoutManager fieldLayoutManager,
SearchProvider searchProvider)
doesChangingFieldLayoutAssociationRequireMessage
public boolean doesChangingFieldLayoutAssociationRequireMessage(com.atlassian.crowd.embedded.api.User user,
FieldLayoutScheme fieldLayoutScheme,
Long oldFieldLayoutId,
Long newFieldLayoutId)
- Description copied from interface:
FieldLayoutSchemeHelper
- Determines whether or not a reindex message is required after changing the association of the specified issue type
in the given scheme from the old field layout (Field Configuration) to the new field layout.
- Specified by:
doesChangingFieldLayoutAssociationRequireMessage
in interface FieldLayoutSchemeHelper
- Parameters:
user
- the userfieldLayoutScheme
- the scheme in which the association change is occuringoldFieldLayoutId
- the id of the Field Configuration that used to be associatednewFieldLayoutId
- the id of the new Field Configuration
- Returns:
- true if the change will require a reindex message; false otherwise.
doesChangingFieldLayoutRequireMessage
public boolean doesChangingFieldLayoutRequireMessage(com.atlassian.crowd.embedded.api.User user,
EditableFieldLayout fieldLayout)
- Description copied from interface:
FieldLayoutSchemeHelper
- Determines whether or not a reindex message is required after modifying visibility of a field in the specified
field layout.
- Specified by:
doesChangingFieldLayoutRequireMessage
in interface FieldLayoutSchemeHelper
- Parameters:
user
- the userfieldLayout
- the field layout being changed
- Returns:
- true if the change will require a reindex message; false otherwise.
doesChangingFieldLayoutSchemeForProjectRequireMessage
public boolean doesChangingFieldLayoutSchemeForProjectRequireMessage(com.atlassian.crowd.embedded.api.User user,
Long projectId,
Long oldFieldLayoutSchemeId,
Long newFieldLayoutSchemeId)
- Description copied from interface:
FieldLayoutSchemeHelper
- Determines whether or not a reindex message is required after changing the associated
FieldLayoutScheme
(field configuration scheme) for a project.
- Specified by:
doesChangingFieldLayoutSchemeForProjectRequireMessage
in interface FieldLayoutSchemeHelper
- Parameters:
user
- the userprojectId
- the project which is being changedoldFieldLayoutSchemeId
- the old schemenewFieldLayoutSchemeId
- the new scheme
- Returns:
- true if the change will require a reindex message; false otherwise.
Copyright © 2002-2012 Atlassian. All Rights Reserved.