|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldLayoutSchemeHelper
Provides help with some business logic around the configuration of Field Configuration Schemes (FieldLayoutSchemes in code) and the requirement for reindex.
Method Summary | |
---|---|
boolean |
doesChangingFieldLayoutAssociationRequireMessage(com.opensymphony.user.User user,
FieldLayoutScheme fieldLayoutScheme,
java.lang.Long oldFieldLayoutId,
java.lang.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(com.opensymphony.user.User 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(com.opensymphony.user.User user,
java.lang.Long projectId,
java.lang.Long oldFieldLayoutSchemeId,
java.lang.Long newFieldLayoutSchemeId)
Determines whether or not a reindex message is required after changing the associated FieldLayoutScheme
(field configuration scheme) for a project. |
Method Detail |
---|
boolean doesChangingFieldLayoutAssociationRequireMessage(com.opensymphony.user.User user, FieldLayoutScheme fieldLayoutScheme, java.lang.Long oldFieldLayoutId, java.lang.Long newFieldLayoutId)
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
boolean doesChangingFieldLayoutRequireMessage(com.opensymphony.user.User user, EditableFieldLayout fieldLayout)
user
- the userfieldLayout
- the field layout being changed
boolean doesChangingFieldLayoutSchemeForProjectRequireMessage(com.opensymphony.user.User user, java.lang.Long projectId, java.lang.Long oldFieldLayoutSchemeId, java.lang.Long newFieldLayoutSchemeId) throws FieldLayoutStorageException
FieldLayoutScheme
(field configuration scheme) for a project.
user
- the userprojectId
- the project which is being changedoldFieldLayoutSchemeId
- the old schemenewFieldLayoutSchemeId
- the new scheme
FieldLayoutStorageException
- If there is a DB problem.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |