com.atlassian.jira.web.bean
Class FieldVisibilityBean
java.lang.Object
com.atlassian.jira.web.bean.FieldVisibilityBean
- public class FieldVisibilityBean
- extends java.lang.Object
Method Summary |
boolean |
isCustomFieldHidden(java.lang.Long projectId,
java.lang.Long customFieldId,
java.lang.String issueTypeId)
Checks if the custom field is hidden in the project with id of projectId. |
boolean |
isFieldHidden(java.lang.Long projectId,
java.lang.String fieldId,
java.lang.Long issueTypeId)
|
boolean |
isFieldHidden(java.lang.Long projectId,
java.lang.String fieldId,
java.lang.String issueTypeId)
Checks if specified field is hidden in scheme(s) associated with the specified project and issue type |
boolean |
isFieldHidden(java.lang.String fieldId,
org.ofbiz.core.entity.GenericValue issue)
Checks if the field is hidden for the issue's current field layout scheme |
boolean |
isFieldHidden(com.opensymphony.user.User remoteUser,
java.lang.String id)
Checks if the field is hidden or visible across all the projects
that the user can see (has the com.atlassian.jira.security.Permissions.BROWSE permission). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL_ISSUE_TYPES
public static final java.lang.String ALL_ISSUE_TYPES
- See Also:
- Constant Field Values
FieldVisibilityBean
public FieldVisibilityBean()
isFieldHidden
public boolean isFieldHidden(com.opensymphony.user.User remoteUser,
java.lang.String id)
throws FieldLayoutStorageException
- Checks if the field is hidden or visible across all the projects
that the user can see (has the
com.atlassian.jira.security.Permissions.BROWSE
permission).
- Parameters:
id
- id of the FieldConfiguration
- Returns:
-
- Throws:
FieldLayoutStorageException
isFieldHidden
public boolean isFieldHidden(java.lang.String fieldId,
org.ofbiz.core.entity.GenericValue issue)
- Checks if the field is hidden for the issue's current field layout scheme
- Parameters:
fieldId
- the field id of the field in questionissue
-
isCustomFieldHidden
public boolean isCustomFieldHidden(java.lang.Long projectId,
java.lang.Long customFieldId,
java.lang.String issueTypeId)
- Checks if the custom field is hidden in the project with id of projectId.
- Parameters:
projectId
- customFieldId
- the data store id of the custom field
- Returns:
isFieldHidden
public boolean isFieldHidden(java.lang.Long projectId,
java.lang.String fieldId,
java.lang.Long issueTypeId)
isFieldHidden
public boolean isFieldHidden(java.lang.Long projectId,
java.lang.String fieldId,
java.lang.String issueTypeId)
- Checks if specified field is hidden in scheme(s) associated with the specified project and issue type
- Parameters:
projectId
- fieldId
-
- Returns:
Copyright © 2002-2005 Atlassian. All Rights Reserved.