public abstract class AbstractFieldLayoutManager extends Object implements FieldLayoutManager
| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
static String |
FIELD_LAYOUT |
protected FieldManager |
fieldManager |
protected I18nHelper.BeanFactory |
i18nFactory |
static String |
NAME |
protected OfBizDelegator |
ofBizDelegator |
static String |
SCHEME |
static String |
SCHEME_ASSOCIATION |
static String |
TYPE |
TYPE_DEFAULT| Constructor and Description |
|---|
AbstractFieldLayoutManager(FieldManager fieldManager,
OfBizDelegator ofBizDelegator,
I18nHelper.BeanFactory i18nFactory,
com.atlassian.cache.CacheManager cacheManager,
ApplicationProperties applicationProperties) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddSchemeAssociation, addSchemeAssociation, copyFieldLayoutScheme, createFieldLayoutScheme, createFieldLayoutScheme, createFieldLayoutSchemeEntity, createFieldLayoutSchemeEntity, deleteFieldLayout, deleteFieldLayoutScheme, fieldConfigurationSchemeExists, getEditableFieldLayout, getEditableFieldLayouts, getFieldConfigurationScheme, getFieldConfigurationScheme, getFieldConfigurationSchemeForProject, getFieldConfigurationSchemes, getFieldLayout, getFieldLayout, getFieldLayout, getFieldLayout, getFieldLayoutSchemeEntities, getFieldLayoutSchemes, getMutableFieldLayoutScheme, getProjects, getProjects, getProjectsUsing, getProjectsUsing, getProjectsUsing, getRelatedProjects, getUniqueFieldLayouts, getUniqueFieldLayouts, isFieldLayoutSchemesVisiblyEquivalent, isFieldLayoutsVisiblyEquivalent, removeFieldLayoutScheme, removeFieldLayoutSchemeEntity, removeSchemeAssociation, removeSchemeAssociation, updateFieldLayoutScheme, updateFieldLayoutSchemeEntitypublic static final String FIELD_LAYOUT
public static final String SCHEME
public static final String SCHEME_ASSOCIATION
public static final String NAME
public static final String DESCRIPTION
public static final String TYPE
protected final FieldManager fieldManager
protected final OfBizDelegator ofBizDelegator
protected final I18nHelper.BeanFactory i18nFactory
public AbstractFieldLayoutManager(FieldManager fieldManager, OfBizDelegator ofBizDelegator, I18nHelper.BeanFactory i18nFactory, com.atlassian.cache.CacheManager cacheManager, ApplicationProperties applicationProperties)
@EventListener public void onCustomFieldUpdated(CustomFieldUpdatedEvent event)
protected List<FieldLayoutItem> getDefaultFieldLayoutItems()
public FieldLayout getFieldLayout()
FieldLayoutManagerFieldLayout information when rendering a screen.getFieldLayout in interface FieldLayoutManagerpublic FieldLayout getFieldLayout(Issue issue)
FieldLayoutManagergetFieldLayout in interface FieldLayoutManagerissue - An IssueFieldLayoutpublic EditableDefaultFieldLayout getEditableDefaultFieldLayout()
FieldLayoutManagerEditableDefaultFieldLayout.getEditableDefaultFieldLayout in interface FieldLayoutManagerEditableDefaultFieldLayout.public void storeEditableDefaultFieldLayout(EditableDefaultFieldLayout editableDefaultFieldLayout)
FieldLayoutManagerEditableDefaultFieldLayoutstoreEditableDefaultFieldLayout in interface FieldLayoutManagereditableDefaultFieldLayout - The EditableDefaultFieldLayout.public EditableFieldLayout storeAndReturnEditableFieldLayout(EditableFieldLayout editableFieldLayout)
FieldLayoutManagerEditableFieldLayout provided and returns a new instance as stored
in the database.storeAndReturnEditableFieldLayout in interface FieldLayoutManagereditableFieldLayout - the EditableFieldLayout.public void storeEditableFieldLayout(EditableFieldLayout editableFieldLayout)
FieldLayoutManagerEditableFieldLayout provided.storeEditableFieldLayout in interface FieldLayoutManagereditableFieldLayout - the EditableFieldLayout.protected void refreshCaches(Long id)
public boolean hasDefaultFieldLayout()
FieldLayoutManagerFieldLayout entity with type FieldLayoutManager.TYPE_DEFAULT existshasDefaultFieldLayout in interface FieldLayoutManagerFieldLayout exists, false otherwise.public void restoreDefaultFieldLayout()
FieldLayoutManagerrestoreDefaultFieldLayout in interface FieldLayoutManagerprotected void restoreFieldLayout(Long id)
public void refresh()
FieldLayoutManagerrefresh in interface FieldLayoutManagerprotected FieldLayout getRelevantFieldLayout(Long id)
id - field layout idprotected I18nHelper getI18nHelper()
@EventListener public void refreshCacheWhenUpdateAllowUnassignedOption(BooleanApplicationPropertySetEvent booleanApplicationPropertySetEvent)
Copyright © 2002-2015 Atlassian. All Rights Reserved.