|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldVisibilityManager
This is an interface for the old FieldVisibilityBean. In the brave new world of OSGi and Plugins-2 we need an interface so it can proxied to the plugins. This allows it to be injected into Spring components.
Field Summary | |
---|---|
static String |
ALL_ISSUE_TYPES
|
Method Summary | |
---|---|
boolean |
isCustomFieldHidden(Long projectId,
Long customFieldId,
String issueTypeId)
Checks if the custom field is hidden 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,
org.ofbiz.core.entity.GenericValue issue)
Deprecated. use isFieldHidden(String, com.atlassian.jira.issue.Issue) |
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 or visible across all the projects that the user can see (has the Permissions.BROWSE permission). |
boolean |
isFieldHidden(User remoteUser,
String id)
Deprecated. Use isFieldHidden(com.atlassian.crowd.embedded.api.User, String) instead. Since v4.3 |
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 |
isFieldHiddenInAllSchemes(String fieldId,
SearchContext context,
User user)
Deprecated. Use isFieldHiddenInAllSchemes(String, com.atlassian.jira.issue.search.SearchContext, com.atlassian.crowd.embedded.api.User) instead. Since v4.3 |
Field Detail |
---|
static final String ALL_ISSUE_TYPES
Method Detail |
---|
boolean isFieldHidden(com.atlassian.crowd.embedded.api.User remoteUser, String id)
Permissions.BROWSE
permission).
remoteUser
- userid
- id of the FieldConfiguration
boolean isFieldHidden(User remoteUser, String id)
isFieldHidden(com.atlassian.crowd.embedded.api.User, String)
instead. Since v4.3
Permissions.BROWSE
permission).
remoteUser
- userid
- id of the FieldConfiguration
boolean isFieldHidden(String fieldId, org.ofbiz.core.entity.GenericValue issue)
isFieldHidden(String, com.atlassian.jira.issue.Issue)
fieldId
- the field id of the field in questionissue
- issue generic value, not null
boolean isFieldHidden(String fieldId, Issue issue)
fieldId
- field idissue
- issue
boolean isCustomFieldHidden(Long projectId, Long customFieldId, String issueTypeId)
projectId
- project idcustomFieldId
- the data store id of the custom fieldissueTypeId
- issue type id
boolean isFieldHidden(Long projectId, String fieldId, Long issueTypeId)
projectId
- project idfieldId
- field idissueTypeId
- issue type id
boolean isFieldHidden(Long projectId, String fieldId, String issueTypeId)
projectId
- project idfieldId
- field idissueTypeId
- issue type id
boolean isFieldHiddenInAllSchemes(Long projectId, String fieldId, List<String> issueTypes)
projectId
- project idfieldId
- field idissueTypes
- list of issue type ids (as String objects)
boolean isFieldHiddenInAllSchemes(Long projectId, String fieldId)
boolean isFieldHiddenInAllSchemes(String fieldId, SearchContext context, com.atlassian.crowd.embedded.api.User user)
boolean isFieldHiddenInAllSchemes(String fieldId, SearchContext context, User user)
isFieldHiddenInAllSchemes(String, com.atlassian.jira.issue.search.SearchContext, com.atlassian.crowd.embedded.api.User)
instead. Since v4.3
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |