java.lang.Object | |||
↳ | com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType<T, S> | ||
↳ | com.atlassian.jira.issue.customfields.impl.AbstractMultiCFType<S> | ||
↳ | com.atlassian.jira.issue.customfields.impl.MultiGroupCFType |
Multiple User Group Select Type
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MultiGroupCFType.Visitor<T> |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.jira.issue.customfields.CustomFieldType
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
multiGroupConverter |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.issue.customfields.impl.AbstractMultiCFType
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns lower level Information about the field.
| |||||||||||
Return The default data for this system field.
| |||||||||||
Return a JsonData representation of the field value
| |||||||||||
Return a description of the shape of this field when represented as JSON.
| |||||||||||
Returns the object that will perform the actual project import functions for the custom field type.
| |||||||||||
This method should be implemented in your custom type to return a Query.
| |||||||||||
Returns a list of indexers that will be used for the field.
| |||||||||||
Returns the RestFieldOperationsHandler for this field.
| |||||||||||
The custom field may wish to pass parameters to the velocity context beyond the getValueFromIssue methods
(eg managers).
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Converts a given db value to Single form of Transport Object
| |||||||||||
Converts a given underlying type to its db storage value.
| |||||||||||
Type of database field needed to store this field.
| |||||||||||
Returns a comparator for underlying type of this custom field.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.issue.customfields.impl.AbstractMultiCFType
| |||||||||||
From class
com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.imports.project.customfield.ProjectImportableCustomField
| |||||||||||
From interface
com.atlassian.jira.issue.customfields.CustomFieldType
| |||||||||||
From interface
com.atlassian.jira.issue.customfields.GroupSelectorField
| |||||||||||
From interface
com.atlassian.jira.issue.customfields.SortableCustomField
| |||||||||||
From interface
com.atlassian.jira.issue.fields.rest.RestAwareCustomFieldType
| |||||||||||
From interface
com.atlassian.jira.issue.fields.rest.RestCustomFieldTypeOperations
|
Returns lower level Information about the field. This information contains allowed values and/or the autocomplete url
fieldTypeInfoContext | context information for generating the FieldTypeInfo . |
---|
Return The default data for this system field. May be null if there is no default.
issueCtx | Issue (This should really only need to be an issue context, but for historical reasons we need an issue object. |
---|---|
field | the Custom Field |
Return a JsonData representation of the field value
field | configuration of the current field |
---|---|
issue | to get field data from |
renderedVersionRequested | whether the use requested the return of rendered/pretty data as well as raw data |
fieldLayoutItem | field layout for this field. |
Return a description of the shape of this field when represented as JSON.
Returns the object that will perform the actual project import functions for the custom field type.
This method should be implemented in your custom type to return a Query. Generally you should return a TermQuery
in the form of fieldName:groupName
. However some custom fields, such as (@Link SelectCFType)
manipulate the field identifiers and values before storing in the index. In cases like this you will have to
implement the method such that it searches the correct fields.
fieldName | the id of the custom field |
---|---|
groupName | the name of the group to filter on |
Returns a list of indexers that will be used for the field.
customField | the custom field to get the related indexers of. |
---|
FieldIndexer
objects. Null if no related indexers.
Returns the RestFieldOperationsHandler for this field.
field | the Custom Field |
---|
FieldValidationException |
---|
The custom field may wish to pass parameters to the velocity context beyond the getValueFromIssue methods (eg managers).
The values are added to the context for all velocity views (edit, search, view, xml)issue | The issue currently in context (Note: this will be null in cases like 'default value') |
---|---|
field | CustomField |
fieldLayoutItem | FieldLayoutItem |
Map
of parameters to add to the velocity context, or an empty Map otherwise (never null)
Converts a given db value to Single form of Transport Object
dbValue | db representation as returned by convertTypeToDbValue(Object) |
---|
Converts a given underlying type to its db storage value. Must be compatable with PersistenceFieldType
returned by getDatabaseType()
value | Single form of Transport Object |
---|
Type of database field needed to store this field.
PersistenceFieldType
types.
Returns a comparator for underlying type of this custom field. Used e.g. for sorting values retrieved from the Database