|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.web.FieldVisibilityManagerImpl
public class FieldVisibilityManagerImpl
This is just the FieldVisiblityBean renamed and getting its dependencies injected via PICO constructor injection
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.jira.web.FieldVisibilityManager |
|---|
ALL_ISSUE_TYPES |
| Constructor Summary | |
|---|---|
FieldVisibilityManagerImpl(FieldManager fieldManager,
ProjectManager projectManager)
|
|
| 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)
Checks if the field is hidden for the issue's current field layout scheme |
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)
Checks if the field is hidden or visible 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 |
isFieldHiddenInAllSchemes(String fieldId,
SearchContext context,
User user)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldVisibilityManagerImpl(FieldManager fieldManager,
ProjectManager projectManager)
| Method Detail |
|---|
public boolean isFieldHidden(com.atlassian.crowd.embedded.api.User remoteUser,
String id)
throws FieldLayoutStorageException
FieldVisibilityManagerPermissions.BROWSE permission).
isFieldHidden in interface FieldVisibilityManagerremoteUser - userid - id of the FieldConfiguration
FieldLayoutStorageException - if the visibility check fails
public final boolean isFieldHidden(User remoteUser,
String id)
throws FieldLayoutStorageException
FieldVisibilityManagerPermissions.BROWSE permission).
isFieldHidden in interface FieldVisibilityManagerremoteUser - userid - id of the FieldConfiguration
FieldLayoutStorageException - if the visibility check fails
public boolean isFieldHidden(String fieldId,
org.ofbiz.core.entity.GenericValue issue)
FieldVisibilityManager
isFieldHidden in interface FieldVisibilityManagerfieldId - the field id of the field in questionissue - issue generic value, not null
public boolean isFieldHidden(String fieldId,
Issue issue)
FieldVisibilityManager
isFieldHidden in interface FieldVisibilityManagerfieldId - field idissue - issue
public boolean isCustomFieldHidden(Long projectId,
Long customFieldId,
String issueTypeId)
FieldVisibilityManager
isCustomFieldHidden in interface FieldVisibilityManagerprojectId - project idcustomFieldId - the data store id of the custom fieldissueTypeId - issue type id
public boolean isFieldHidden(Long projectId,
String fieldId,
Long issueTypeId)
FieldVisibilityManager
isFieldHidden in interface FieldVisibilityManagerprojectId - project idfieldId - field idissueTypeId - issue type id
public boolean isFieldHidden(Long projectId,
String fieldId,
String issueTypeId)
FieldVisibilityManager
isFieldHidden in interface FieldVisibilityManagerprojectId - project idfieldId - field idissueTypeId - issue type id
public boolean isFieldHiddenInAllSchemes(Long projectId,
String fieldId,
List<String> issueTypes)
FieldVisibilityManager
isFieldHiddenInAllSchemes in interface FieldVisibilityManagerprojectId - project idfieldId - field idissueTypes - list of issue type ids (as String objects)
public boolean isFieldHiddenInAllSchemes(Long projectId,
String fieldId)
isFieldHiddenInAllSchemes in interface FieldVisibilityManager
public boolean isFieldHiddenInAllSchemes(String fieldId,
SearchContext context,
com.atlassian.crowd.embedded.api.User user)
isFieldHiddenInAllSchemes in interface FieldVisibilityManager
public final boolean isFieldHiddenInAllSchemes(String fieldId,
SearchContext context,
User user)
isFieldHiddenInAllSchemes in interface FieldVisibilityManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||