java.lang.Object | ||
↳ | com.atlassian.jira.issue.fields.layout.field.AbstractFieldLayoutManager | |
↳ | com.atlassian.jira.issue.fields.layout.field.DefaultFieldLayoutManager |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Associates a
FieldLayoutScheme to the project supplied. | |||||||||||
Associates a
FieldLayoutScheme to the project supplied. | |||||||||||
Copies an existing field layout to a new one.
| |||||||||||
Persists a new field Layout scheme (i.e Field Configuration Scheme).
| |||||||||||
Persists a new field Layout scheme (i.e Field Configuration Scheme).
| |||||||||||
Persists a new
FieldLayoutSchemeEntity for a particular FieldLayoutScheme . | |||||||||||
Persists a new
FieldLayoutSchemeEntity for a particular FieldLayoutScheme . | |||||||||||
Deletes a custom
FieldLayout | |||||||||||
Removes the
FieldLayoutScheme supplied. | |||||||||||
Checks if a FieldConfigurationScheme with the given name exists.
| |||||||||||
Returns an
EditableFieldLayout for the id supplied. | |||||||||||
Retrieves editable (see
EditableFieldLayout versions of the field layouts. | |||||||||||
Retrieves the Field Configuration Scheme associated with the supplied project.
| |||||||||||
Retrieves a
FieldConfigurationScheme by id | |||||||||||
Retrieves the Field Configuration Scheme associated with the supplied project.
| |||||||||||
Returns a collection of
FieldConfigurationScheme s that include the given FieldLayout . | |||||||||||
Returns the fieldLayout for an issue.
| |||||||||||
Used to retrieve
FieldLayout information when rendering a screen given the id
of the field layout. | |||||||||||
Find the FieldLayout for the given Project and IssueType.
| |||||||||||
Returns a collection of
FieldLayoutSchemeEntity s. | |||||||||||
Retries Field Configuration Schemes.
| |||||||||||
Retrieves a mutable
FieldLayoutScheme by id. | |||||||||||
Returns all projects that use the given FieldConfigurationScheme.
| |||||||||||
Returns all associated projects for the
FieldLayoutScheme supplied. | |||||||||||
Finds all projects that use the given
FieldLayout (via the configured FieldConfigurationScheme ). | |||||||||||
Returns all projects that use the given FieldConfigurationScheme.
| |||||||||||
Returns all projects that use the given FieldLayoutScheme.
| |||||||||||
Finds all projects that use the given
FieldLayout (via the configured FieldConfigurationScheme ). | |||||||||||
Retrieves all the
FieldLayout 's for a project. | |||||||||||
Retrieves all the
FieldLayout 's for a collection of projects and issue types. | |||||||||||
Will determine whether or not two
FieldLayoutScheme s are
"visibly equivalent". | |||||||||||
Will determine whether or not two
FieldLayout s are
"visibly equivalent". | |||||||||||
Clears all local caches.
| |||||||||||
Removes a
FieldLayoutSchemeEntity | |||||||||||
Removes an association between a particular project and field configuration scheme.
| |||||||||||
Removes an association between a particular project and field configuration scheme.
| |||||||||||
Persists the
FieldLayoutScheme supplied. | |||||||||||
Updates a
FieldLayoutSchemeEntity . |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Associates a FieldLayoutScheme
to the project supplied.
project | The project |
---|---|
fieldLayoutSchemeId | ID of the FieldLayoutScheme |
Associates a FieldLayoutScheme
to the project supplied.
project | A project GenericValue |
---|---|
fieldLayoutSchemeId | ID of the FieldLayoutScheme |
Copies an existing field layout to a new one.
Persists a new field Layout scheme (i.e Field Configuration Scheme).
Persists a new field Layout scheme (i.e Field Configuration Scheme).
fieldLayoutScheme | The FieldLayoutScheme to persist. |
---|
FieldLayoutScheme
objectPersists a new FieldLayoutSchemeEntity
for a particular FieldLayoutScheme
.
The appropriate scheme is retrieved using getFieldLayoutScheme()
fieldLayoutSchemeEntity | The FieldLayoutSchemeEntity |
---|
Persists a new FieldLayoutSchemeEntity
for a particular FieldLayoutScheme
.
The appropriate scheme is retrieved using getFieldLayoutScheme()
fieldLayoutScheme | the FieldLayoutScheme |
---|---|
issueTypeId | the Issue Type |
fieldLayoutId | the FieldConfig |
Deletes a custom FieldLayout
fieldLayout | The FieldLayout |
---|
Removes the FieldLayoutScheme
supplied.
fieldLayoutScheme | The FieldLayoutScheme |
---|
Checks if a FieldConfigurationScheme with the given name exists.
schemeName | The scheme name |
---|
true
if a FieldConfigurationScheme with the given name exists.Returns an EditableFieldLayout
for the id supplied.
id | If the id is NULL, the default layout is returned. |
---|
Retrieves editable (see EditableFieldLayout
versions of the field layouts.
Note: For standard edition this simply returns an editable version of the default field
layout. (see EditableDefaultFieldLayout
)
EditableFieldLayout
and EditableDefaultFieldLayout
Retrieves the Field Configuration Scheme associated with the supplied project.
project | A project |
---|
FieldConfigurationScheme
or null if none exists.
Retrieves a FieldConfigurationScheme
by id
schemeId | FieldConfigurationScheme ID |
---|
FieldConfigurationScheme
instanceRetrieves the Field Configuration Scheme associated with the supplied project.
projectId | The project ID |
---|
FieldConfigurationScheme
or null if none exists.Returns a collection of FieldConfigurationScheme
s that include the given FieldLayout
.
This is determined by retrieving all FieldLayoutSchemeEntity
s with the FieldLayout
and
calculating a set of FieldConfigurationScheme
s using these entities.
fieldLayout | The FieldLayout. |
---|
FieldConfigurationScheme
sUsed to retrieve FieldLayout
information when rendering a screen given the id
of the field layout. If the ID is null, the default layout is returned.
id | The FieldLayout ID. |
---|
FieldLayout
Find the FieldLayout for the given Project and IssueType.
projectId | the project |
---|---|
issueTypeId | the issue type |
Returns a collection of FieldLayoutSchemeEntity
s. These are used to
record mappings from IssueType
-> FieldLayout
for the FieldLayoutScheme
passed in.
fieldLayoutScheme | The FieldLayoutScheme |
---|
FieldLayoutSchemeEntity
s.Retries Field Configuration Schemes. These are used to link field configurations to projects.
FieldLayoutScheme
s.Retrieves a mutable FieldLayoutScheme
by id.
This returns a new copy of the object from the DB, and so will incur some performance penalty.
Please use getFieldConfigurationScheme(Long)
for access to a cached immutable scheme object.
schemeId | the scheme ID |
---|
FieldLayoutScheme
instanceReturns all projects that use the given FieldConfigurationScheme.
fieldConfigurationScheme | the FieldConfigurationScheme |
---|
Returns all associated projects for the FieldLayoutScheme
supplied.
fieldLayoutScheme | the FieldLayoutScheme |
---|
Finds all projects that use the given FieldLayout
(via the configured FieldConfigurationScheme
).
NOTE: In the case of Standard & Professional, this simply returns ALL projects, as the only fieldlayout is the default field layout.
fieldLayout | The FieldLayout. |
---|
Returns all projects that use the given FieldConfigurationScheme.
fieldConfigurationScheme | the FieldConfigurationScheme |
---|
Returns all projects that use the given FieldLayoutScheme.
fieldLayoutScheme | the FieldLayoutScheme |
---|
Finds all projects that use the given FieldLayout
(via the configured FieldConfigurationScheme
).
NOTE: In the case of Standard & Professional, this simply returns ALL projects, as the only fieldlayout is the default field layout.
fieldLayout | The FieldLayout. |
---|
Retrieves all the FieldLayout
's for a project.
project | a project |
---|
Retrieves all the FieldLayout
's for a collection of projects and issue types.
projects | a collection of projects. |
---|---|
issueTypeIds | An collection of issue type ids. |
Will determine whether or not two FieldLayoutScheme
s are
"visibly equivalent".
This can be useful for determining if swapping one field layout scheme for another in a project will have any affect on the visibility of fields in the project's issues. For instance, this will let us know if we need to re-index or not.
Since a scheme is a mapping from issue types to field layouts, two schemes are visibly equivalent if:
Note that equivalence is reflexive - all the associations in scheme1 must have equivalent associations in scheme2, and vice versa.
fieldConfigurationSchemeId1 | the first scheme; can use null for the system default scheme |
---|---|
fieldConfigurationSchemeId2 | the second scheme; can use null for the system default scheme |
Will determine whether or not two FieldLayout
s are
"visibly equivalent".
This can be useful for determining if swapping one field layout for another in a project will have any affect on the visibility of fields in the project's issues. For instance, this will let us know if we need to re-index or not.
Two field layouts are visibly equivalent if:
fieldLayoutId1 | the first layout id; null signifies the default field layout in the system |
---|---|
fieldLayoutId2 | the second layout id; null signifies the default field layout in the system |
Clears all local caches.
Removes a FieldLayoutSchemeEntity
fieldLayoutSchemeEntity | The FieldLayoutSchemeEntity |
---|
Removes an association between a particular project and field configuration scheme.
project | The project |
---|---|
fieldLayoutSchemeId | The fieldLayoutScheme ID |
Removes an association between a particular project and field configuration scheme.
project | A project GenericValue |
---|---|
fieldLayoutSchemeId | The fieldLayoutScheme ID |
Persists the FieldLayoutScheme
supplied.
fieldLayoutScheme | The FieldLayoutScheme |
---|
Updates a FieldLayoutSchemeEntity
.
fieldLayoutSchemeEntity | The FieldLayoutSchemeEntity |
---|