public interface FieldVisibilityManager
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_ISSUE_TYPES |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCustomFieldHidden(Long projectId,
Long customFieldId,
String issueTypeId)
Checks if the custom field is hidden in the project with id of projectId.
|
boolean |
isCustomFieldVisible(Long projectId,
Long customFieldId,
String issueTypeId)
Checks if the custom field is visible in the project with id of projectId.
|
boolean |
isFieldHidden(Long projectId,
String fieldId,
Long issueTypeId)
Checks if the field is hidden in the project with id of projectId.
|
boolean |
isFieldHidden(Long projectId,
String fieldId,
String issueTypeId)
Checks if specified field is hidden in at least one scheme associated with the specified project and issue type.
|
boolean |
isFieldHidden(String fieldId,
Issue issue)
Checks if the field is hidden for the issue's current field layout scheme.
|
boolean |
isFieldHidden(com.atlassian.crowd.embedded.api.User remoteUser,
String id)
Checks if the field is hidden across all the projects
that the user can see (has the
Permissions.BROWSE permission). |
boolean |
isFieldHiddenInAllSchemes(Long projectId,
String fieldId) |
boolean |
isFieldHiddenInAllSchemes(Long projectId,
String fieldId,
List<String> issueTypes)
Returns TRUE if specified field is hidden under the following scenarios:
1: Project specified
- is field hidden in all schemes associated with the specified project.
|
boolean |
isFieldHiddenInAllSchemes(String fieldId,
SearchContext context,
com.atlassian.crowd.embedded.api.User user) |
boolean |
isFieldVisible(Long projectId,
String fieldId,
Long issueTypeId)
Checks if the field is visible in the project with id of projectId.
|
boolean |
isFieldVisible(Long projectId,
String fieldId,
String issueTypeId)
Checks if specified field is visible in all schemes associated with the specified project and issue type.
|
boolean |
isFieldVisible(String fieldId,
Issue issue)
Checks if the field is visible for the issue's current field layout scheme.
|
boolean |
isFieldVisible(com.atlassian.crowd.embedded.api.User remoteUser,
String id)
Checks if the field is visible in at least one of the projects
that the user can see (has the
Permissions.BROWSE permission). |
static final String ALL_ISSUE_TYPES
boolean isFieldHidden(com.atlassian.crowd.embedded.api.User remoteUser,
String id)
Permissions.BROWSE permission).remoteUser - userid - id of the FieldConfigurationboolean isFieldVisible(com.atlassian.crowd.embedded.api.User remoteUser,
String id)
Permissions.BROWSE permission).remoteUser - userid - id of the FieldConfigurationboolean isFieldHidden(String fieldId, Issue issue)
fieldId - field idissue - issueboolean isFieldVisible(String fieldId, Issue issue)
fieldId - field idissue - issueboolean isFieldHidden(Long projectId, String fieldId, Long issueTypeId)
projectId - project idfieldId - field idissueTypeId - issue type idboolean isFieldVisible(Long projectId, String fieldId, Long issueTypeId)
projectId - project idfieldId - field idissueTypeId - issue type idboolean isFieldHidden(Long projectId, String fieldId, String issueTypeId)
projectId - project idfieldId - field idissueTypeId - issue type idboolean isFieldVisible(Long projectId, String fieldId, String issueTypeId)
projectId - project idfieldId - field idissueTypeId - issue type idboolean isCustomFieldHidden(Long projectId, Long customFieldId, String issueTypeId)
projectId - project idcustomFieldId - the data store id of the custom fieldissueTypeId - issue type idboolean isCustomFieldVisible(Long projectId, Long customFieldId, String issueTypeId)
projectId - project idcustomFieldId - the data store id of the custom fieldissueTypeId - issue type idboolean isFieldHiddenInAllSchemes(Long projectId, String fieldId, List<String> issueTypes)
projectId - project idfieldId - field idissueTypes - list of issue type ids (as String objects)boolean isFieldHiddenInAllSchemes(String fieldId, SearchContext context, com.atlassian.crowd.embedded.api.User user)
Copyright © 2002-2015 Atlassian. All Rights Reserved.