|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
FieldManager
instead. Since v5.0.
public interface FieldAccessor
A temporary alternative for FieldManager, because FieldManager was not in API module in v4.x
Method Summary | |
---|---|
Set<NavigableField> |
getAllAvailableNavigableFields()
Deprecated. |
Set<SearchableField> |
getAllSearchableFields()
Deprecated. Return all the searchable fields in the system. |
Set<CustomField> |
getAvailableCustomFields(com.atlassian.crowd.embedded.api.User remoteUser,
Issue issue)
Deprecated. Retrieves custom fields in scope for the given issue |
Set<NavigableField> |
getAvailableNavigableFields(com.atlassian.crowd.embedded.api.User remoteUser)
Deprecated. |
Set<NavigableField> |
getAvailableNavigableFieldsWithScope(com.atlassian.crowd.embedded.api.User user)
Deprecated. Gets all the available fields that the user can see, this is providing no context scope. |
Set<NavigableField> |
getAvailableNavigableFieldsWithScope(com.atlassian.crowd.embedded.api.User user,
QueryContext queryContext)
Deprecated. Gets all the available fields within the defined scope of the QueryContext. |
ConfigurableField |
getConfigurableField(String id)
Deprecated. |
CustomField |
getCustomField(String id)
Deprecated. Get a CustomField by its text key (eg 'customfield_10000'). |
Field |
getField(String id)
Deprecated. Get a field by its id. |
HideableField |
getHideableField(String id)
Deprecated. |
IssueTypeField |
getIssueTypeField()
Deprecated. Retrieve the IssueType system Field. |
NavigableField |
getNavigableField(String id)
Deprecated. |
Set<NavigableField> |
getNavigableFields()
Deprecated. |
OrderableField |
getOrderableField(String id)
Deprecated. |
Set<OrderableField> |
getOrderableFields()
Deprecated. |
ProjectField |
getProjectField()
Deprecated. Retrieve the Project system Field. |
RequirableField |
getRequiredField(String id)
Deprecated. |
Set<SearchableField> |
getSystemSearchableFields()
Deprecated. Return all the searchable systems fields. |
Set<Field> |
getUnavailableFields()
Deprecated. |
boolean |
isCustomField(Field field)
Deprecated. |
boolean |
isCustomField(String id)
Deprecated. |
boolean |
isFieldHidden(com.atlassian.crowd.embedded.api.User remoteUser,
Field field)
Deprecated. |
boolean |
isFieldHidden(com.atlassian.crowd.embedded.api.User remoteUser,
String fieldId)
Deprecated. Determines whether the field with id of fieldId is NOT hidden in AT LEAST one FieldLayout that the user can see
(assigned to projects for which the user has the Permissions.BROWSE permission). |
boolean |
isHideableField(Field field)
Deprecated. |
boolean |
isHideableField(String id)
Deprecated. |
boolean |
isMandatoryField(Field field)
Deprecated. |
boolean |
isMandatoryField(String id)
Deprecated. |
boolean |
isNavigableField(Field field)
Deprecated. |
boolean |
isNavigableField(String id)
Deprecated. |
boolean |
isOrderableField(Field field)
Deprecated. |
boolean |
isOrderableField(String id)
Deprecated. |
boolean |
isRenderableField(Field field)
Deprecated. |
boolean |
isRenderableField(String id)
Deprecated. |
boolean |
isRequirableField(Field field)
Deprecated. |
boolean |
isRequirableField(String id)
Deprecated. |
boolean |
isTimeTrackingOn()
Deprecated. |
boolean |
isUnscreenableField(Field field)
Deprecated. |
boolean |
isUnscreenableField(String id)
Deprecated. |
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()
Set<NavigableField> getNavigableFields()
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 fieldsSet<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 fieldsSet<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 projectsSet<NavigableField> getAllAvailableNavigableFields() throws FieldException
FieldException
Set<NavigableField> getAvailableNavigableFields(com.atlassian.crowd.embedded.api.User remoteUser) throws FieldException
FieldException
Set<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 |