com.atlassian.jira.web.bean
Class CustomIssueXMLViewFieldsBean

java.lang.Object
  extended by com.atlassian.jira.web.bean.CustomIssueXMLViewFieldsBean

public class CustomIssueXMLViewFieldsBean
extends java.lang.Object

Purpose of this class is to enable custom XML issue views. This class is a wrapper of FieldVisibilityManager If field parameters for issue view were defined correctly they are evaluated first and only for requested fields visibiliy is checked with FieldVisibilityManager. For non orderable fields checking with FieldVisibilityManager is skipped and true value is returned. Another exception are time tracking fields, which are evaluated based on IssueFieldConstants.TIMETRACKING field.


Constructor Summary
CustomIssueXMLViewFieldsBean(IssueViewFieldParams issueViewFieldParams, java.lang.Long projectId, java.lang.String issueTypeId)
           
 
Method Summary
 boolean isFieldRequestedAndVisible(java.lang.String fieldId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomIssueXMLViewFieldsBean

public CustomIssueXMLViewFieldsBean(IssueViewFieldParams issueViewFieldParams,
                                    java.lang.Long projectId,
                                    java.lang.String issueTypeId)
Method Detail

isFieldRequestedAndVisible

public boolean isFieldRequestedAndVisible(java.lang.String fieldId)
Parameters:
fieldId -
Returns:
true if field is defiend in custom view parameters and not hidden, or just not hidden if no view parameters were specified or is non orderable field


Copyright © 2002-2010 Atlassian. All Rights Reserved.