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, wait
addSchemeAssociation, 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, updateFieldLayoutItemAttributesForCustomField, updateFieldLayoutScheme, updateFieldLayoutSchemeEntity
public 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()
FieldLayoutManager
FieldLayout
information when rendering a screen.getFieldLayout
in interface FieldLayoutManager
public FieldLayout getFieldLayout(Issue issue)
FieldLayoutManager
getFieldLayout
in interface FieldLayoutManager
issue
- An Issue
FieldLayout
public EditableDefaultFieldLayout getEditableDefaultFieldLayout()
FieldLayoutManager
EditableDefaultFieldLayout
.getEditableDefaultFieldLayout
in interface FieldLayoutManager
EditableDefaultFieldLayout
.public void storeEditableDefaultFieldLayout(EditableDefaultFieldLayout editableDefaultFieldLayout)
FieldLayoutManager
EditableDefaultFieldLayout
storeEditableDefaultFieldLayout
in interface FieldLayoutManager
editableDefaultFieldLayout
- The EditableDefaultFieldLayout.public EditableFieldLayout storeAndReturnEditableFieldLayout(EditableFieldLayout editableFieldLayout)
FieldLayoutManager
EditableFieldLayout
provided and returns a new instance as stored
in the database.storeAndReturnEditableFieldLayout
in interface FieldLayoutManager
editableFieldLayout
- the EditableFieldLayout.public void storeEditableFieldLayout(EditableFieldLayout editableFieldLayout)
FieldLayoutManager
EditableFieldLayout
provided.storeEditableFieldLayout
in interface FieldLayoutManager
editableFieldLayout
- the EditableFieldLayout.protected void refreshCaches(Long id)
public boolean hasDefaultFieldLayout()
FieldLayoutManager
FieldLayout
entity with type FieldLayoutManager.TYPE_DEFAULT
existshasDefaultFieldLayout
in interface FieldLayoutManager
FieldLayout
exists, false otherwise.public void restoreDefaultFieldLayout()
FieldLayoutManager
restoreDefaultFieldLayout
in interface FieldLayoutManager
protected void restoreFieldLayout(Long id)
public void refresh()
FieldLayoutManager
refresh
in interface FieldLayoutManager
protected FieldLayout getRelevantFieldLayout(Long id)
id
- field layout idprotected I18nHelper getI18nHelper()
@EventListener public void refreshCacheWhenUpdateAllowUnassignedOption(BooleanApplicationPropertySetEvent booleanApplicationPropertySetEvent)
Copyright © 2002-2024 Atlassian. All Rights Reserved.