@InjectableComponent public class FieldLayoutSchemeHelperImpl extends Object implements FieldLayoutSchemeHelper
Constructor and Description |
---|
FieldLayoutSchemeHelperImpl(FieldLayoutManager fieldLayoutManager,
SearchProvider searchProvider) |
Modifier and Type | Method and Description |
---|---|
boolean |
doesChangingFieldLayoutAssociationRequireMessage(ApplicationUser user,
FieldLayoutScheme fieldLayoutScheme,
Long oldFieldLayoutId,
Long newFieldLayoutId)
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.
|
boolean |
doesChangingFieldLayoutRequireMessage(ApplicationUser user,
EditableFieldLayout fieldLayout)
Determines whether or not a reindex message is required after modifying visibility of a field in the specified
field layout.
|
boolean |
doesChangingFieldLayoutSchemeForProjectRequireMessage(ApplicationUser user,
Long projectId,
Long oldFieldLayoutSchemeId,
Long newFieldLayoutSchemeId)
Determines whether or not a reindex message is required after changing the associated
FieldLayoutScheme
(field configuration scheme) for a project. |
public FieldLayoutSchemeHelperImpl(FieldLayoutManager fieldLayoutManager, SearchProvider searchProvider)
public boolean doesChangingFieldLayoutAssociationRequireMessage(ApplicationUser user, FieldLayoutScheme fieldLayoutScheme, Long oldFieldLayoutId, Long newFieldLayoutId)
FieldLayoutSchemeHelper
doesChangingFieldLayoutAssociationRequireMessage
in interface FieldLayoutSchemeHelper
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 Configurationpublic boolean doesChangingFieldLayoutRequireMessage(ApplicationUser user, EditableFieldLayout fieldLayout)
FieldLayoutSchemeHelper
doesChangingFieldLayoutRequireMessage
in interface FieldLayoutSchemeHelper
user
- the userfieldLayout
- the field layout being changedpublic boolean doesChangingFieldLayoutSchemeForProjectRequireMessage(ApplicationUser user, Long projectId, Long oldFieldLayoutSchemeId, Long newFieldLayoutSchemeId)
FieldLayoutSchemeHelper
FieldLayoutScheme
(field configuration scheme) for a project.doesChangingFieldLayoutSchemeForProjectRequireMessage
in interface FieldLayoutSchemeHelper
user
- the userprojectId
- the project which is being changedoldFieldLayoutSchemeId
- the old schemenewFieldLayoutSchemeId
- the new schemeCopyright © 2002-2015 Atlassian. All Rights Reserved.