|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FieldAccessor
Similar to the FieldManager, but without exposing implementation classes.
| Method Detail |
|---|
Field getField(String id)
id - An IssueFieldConstants constant, or custom field key (eg. "customfield_10010")
boolean isCustomField(String id)
boolean isCustomField(Field field)
CustomField getCustomField(String id)
id - Eg. 'customfield_10000'
CustomField or null if not found.boolean isHideableField(String id)
boolean isHideableField(Field field)
HideableField getHideableField(String id)
boolean isOrderableField(String id)
boolean isOrderableField(Field field)
OrderableField getOrderableField(String id)
ConfigurableField getConfigurableField(String id)
Set<OrderableField> getOrderableFields()
boolean isNavigableField(String id)
boolean isNavigableField(Field field)
NavigableField getNavigableField(String id)
boolean isRequirableField(String id)
boolean isRequirableField(Field field)
boolean isMandatoryField(String id)
boolean isMandatoryField(Field field)
boolean isRenderableField(String id)
boolean isRenderableField(Field field)
boolean isUnscreenableField(String id)
boolean isUnscreenableField(Field field)
RequirableField getRequiredField(String id)
Set<Field> getUnavailableFields()
boolean isFieldHidden(com.atlassian.crowd.embedded.api.User remoteUser,
Field field)
boolean isFieldHidden(com.atlassian.crowd.embedded.api.User remoteUser,
String fieldId)
FieldLayout that the user can see
(assigned to projects for which the user has the Permissions.BROWSE permission).
remoteUser - the remote user.fieldId - The Field ID
Set<NavigableField> getAvailableNavigableFieldsWithScope(com.atlassian.crowd.embedded.api.User user)
throws FieldException
user - the remote user.
FieldException - thrown if there is a problem looking up the fields
Set<NavigableField> getAvailableNavigableFieldsWithScope(com.atlassian.crowd.embedded.api.User user,
QueryContext queryContext)
throws FieldException
user - the user making the requestqueryContext - the context of the search request.
FieldException - thrown if there is a problem looking up the fields
Set<CustomField> getAvailableCustomFields(com.atlassian.crowd.embedded.api.User remoteUser,
Issue issue)
throws FieldException
remoteUser - Remote Userissue - Issue
FieldException - if cannot retrieve the projects the user can see, or if cannot retrieve
the field layouts for the viewable projects
Set<NavigableField> getAllAvailableNavigableFields()
throws FieldException
FieldException
Set<NavigableField> getAvailableNavigableFields(com.atlassian.crowd.embedded.api.User remoteUser)
throws FieldException
FieldExceptionSet<SearchableField> getAllSearchableFields()
Set<SearchableField> getSystemSearchableFields()
IssueTypeField getIssueTypeField()
ProjectField getProjectField()
boolean isTimeTrackingOn()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||