|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.fields.AbstractField com.atlassian.jira.issue.fields.AbstractOrderableField com.atlassian.jira.issue.fields.AbstractOrderableNavigableFieldImpl com.atlassian.jira.issue.fields.AbstractTextSystemField com.atlassian.jira.issue.fields.SummarySystemField
Copyright (c) 2002-2004 All rights reserved.
Field Summary | |
static Long |
MAX_LEN
|
Fields inherited from class com.atlassian.jira.issue.fields.AbstractField |
authenticationContext |
Fields inherited from interface com.atlassian.jira.issue.fields.NavigableField |
ORDER_ASCENDING, ORDER_DESCENDING, TEMPLATE_DIRECTORY_PATH |
Fields inherited from interface com.atlassian.jira.issue.fields.OrderableField |
MOVE_ISSUE_PARAM_KEY, NO_HEADER_PARAM_KEY, TEMPLATE_DIRECTORY_PATH |
Constructor Summary | |
SummarySystemField(com.atlassian.velocity.VelocityManager velocityManager,
ApplicationProperties applicationProperties,
SubTaskManager subTaskManager,
IssueManager issueManager,
JiraAuthenticationContext authenticationContext,
RendererManager rendererManager,
PermissionManager permissionManager)
|
Method Summary | |
String |
availableForBulkEdit(BulkEditBean bulkEditBean)
Determines whether the field is available for bulk editing given the BulkEditBean. |
List |
getAssociatedSearchers()
Returns a list of searchers associated with field |
String |
getColumnHeadingKey()
|
protected String |
getColumnViewTemplateName()
|
String |
getDefaultSortOrder()
The order in which to sort the field when it is sorted for the first time. |
Object |
getDefaultValue(Issue issue)
The value that should be set on the issue if the field is not shown for some reason. |
protected String |
getEditTemplateName()
|
LuceneFieldSorter |
getSorter()
A sorter to be used when sorting columns in a table. |
String |
getValueFromIssue(Issue issue)
Gets the value stored for this field on the provided issue. |
boolean |
isRenderable()
Defines if a field determines itself as renderable. |
boolean |
isShown(Issue issue)
Tests field specific way to determine if it should be shown or not |
void |
populateFromIssue(Map fieldValuesHolder,
Issue issue)
Used to initialise the fieldValuesHolder from the current value of teh issue. |
protected void |
populateVelocityParams(FieldLayoutItem fieldLayoutItem,
Issue issue,
Map params)
|
protected void |
populateVelocityParams(org.ofbiz.core.entity.GenericValue issue,
Map params)
|
protected void |
populateVelocityParams(Map fieldValuesHolder,
Map params)
|
void |
removeValue(MutableIssue issue)
Removes the value for the given issue. |
void |
updateIssue(FieldLayoutItem fieldLayoutItem,
MutableIssue issue,
Map fieldValueHolder)
Record the value on the issue (not saving it to the database, see updateValue) |
void |
validateParams(OperationContext operationContext,
ErrorCollection errorCollectionToAddTo,
I18nHelper i18n,
Issue issue,
FieldScreenRenderLayoutItem fieldScreenRenderLayoutItem)
validate the field value |
Methods inherited from class com.atlassian.jira.issue.fields.AbstractTextSystemField |
createValue, getChangeLogFieldName, getChangelogValue, getColumnViewHtml, getCreateHtml, getEditHtml, getRelevantParams, getValueFromParams, getViewHtml, getViewHtml, hasValue, needsMove, populateDefaults, populateForMove, populateParamsFromString, updateValue, valuesEqual |
Methods inherited from class com.atlassian.jira.issue.fields.AbstractOrderableNavigableFieldImpl |
getColumnCssClass, getHiddenFieldId, getSortComparatorSource, getVelocityParams, prettyPrintChangeHistory, prettyPrintChangeHistory |
Methods inherited from class com.atlassian.jira.issue.fields.AbstractOrderableField |
getApplicationProperties, getBulkEditHtml, getCreateHtml, getEditHtml, getPermissionManager, getVelocityParams, getVelocityParams, getViewHtml, hasBulkUpdatePermission, hasPermission, isHidden, populateFromParams, rendererTypesEqual, renderTemplate, valuesEqual |
Methods inherited from class com.atlassian.jira.issue.fields.AbstractField |
compareTo, equals, getAuthenticationContext, getId, getName, getNameKey, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.issue.fields.NavigableField |
getColumnCssClass, getColumnViewHtml, getHiddenFieldId, getSortComparatorSource, prettyPrintChangeHistory, prettyPrintChangeHistory |
Methods inherited from interface com.atlassian.jira.issue.fields.Field |
getId, getName, getNameKey |
Methods inherited from interface java.lang.Comparable |
compareTo |
Methods inherited from interface com.atlassian.jira.issue.fields.renderer.RenderableField |
getId |
Field Detail |
public static final Long MAX_LEN
Constructor Detail |
public SummarySystemField(com.atlassian.velocity.VelocityManager velocityManager, ApplicationProperties applicationProperties, SubTaskManager subTaskManager, IssueManager issueManager, JiraAuthenticationContext authenticationContext, RendererManager rendererManager, PermissionManager permissionManager)
Method Detail |
protected void populateVelocityParams(org.ofbiz.core.entity.GenericValue issue, Map params)
protected String getEditTemplateName()
getEditTemplateName
in class AbstractTextSystemField
protected String getColumnViewTemplateName()
getColumnViewTemplateName
in class AbstractTextSystemField
protected void populateVelocityParams(Map fieldValuesHolder, Map params)
populateVelocityParams
in class AbstractTextSystemField
protected void populateVelocityParams(FieldLayoutItem fieldLayoutItem, Issue issue, Map params)
populateVelocityParams
in class AbstractTextSystemField
public String getValueFromIssue(Issue issue)
RenderableField
getValueFromIssue
in interface RenderableField
getValueFromIssue
in class AbstractTextSystemField
public void updateIssue(FieldLayoutItem fieldLayoutItem, MutableIssue issue, Map fieldValueHolder)
OrderableField
updateIssue
in interface OrderableField
fieldLayoutItem
- issue
- fieldValueHolder
- public void removeValue(MutableIssue issue)
OrderableField
removeValue
in interface OrderableField
public List getAssociatedSearchers()
SearchableField
getAssociatedSearchers
in interface SearchableField
Class
objects of type @IssueSearcher
. Empty list if no searchers are required.
Must not be nullpublic void populateFromIssue(Map fieldValuesHolder, Issue issue)
OrderableField
populateFromIssue
in interface OrderableField
populateFromIssue
in class AbstractTextSystemField
public boolean isShown(Issue issue)
OrderableField
isShown
in interface OrderableField
public void validateParams(OperationContext operationContext, ErrorCollection errorCollectionToAddTo, I18nHelper i18n, Issue issue, FieldScreenRenderLayoutItem fieldScreenRenderLayoutItem)
validateParams
in interface OrderableField
operationContext
- errorCollectionToAddTo
- fieldScreenRenderLayoutItem
- issue
- this is passed to get the value of other fields that may or may not have been modifiedpublic Object getDefaultValue(Issue issue)
OrderableField
getDefaultValue
in interface OrderableField
issue
- public String getColumnHeadingKey()
getColumnHeadingKey
in interface NavigableField
public String getDefaultSortOrder()
NavigableField
getDefaultSortOrder
in interface NavigableField
NavigableField.ORDER_ASCENDING
or NavigableField.ORDER_DESCENDING
public LuceneFieldSorter getSorter()
NavigableField
getSorter
in interface NavigableField
NavigableField.getSortComparatorSource()
DocumentIssueImpl
,
MappedSortComparator
public boolean isRenderable()
RenderableField
isRenderable
in interface RenderableField
isRenderable
in class AbstractTextSystemField
public String availableForBulkEdit(BulkEditBean bulkEditBean)
OrderableField
availableForBulkEdit
in interface OrderableField
bulkEditBean
- holds the state of the bulk-edit wizard (e.g. the selected issues for bulk editing)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |