com.atlassian.jira.plugin.issueview
Class IssueViewFieldParamsImpl

java.lang.Object
  extended by com.atlassian.jira.plugin.issueview.IssueViewFieldParamsImpl
All Implemented Interfaces:
IssueViewFieldParams

public class IssueViewFieldParamsImpl
extends Object
implements IssueViewFieldParams


Constructor Summary
IssueViewFieldParamsImpl(boolean customViewRequested, Set<String> fieldIds, Set<String> orderableFieldIds, Set<String> customFieldIds, boolean allCustomFields)
           
 
Method Summary
 Set<String> getCustomFieldIds()
          Method returns set of custom field ids requested for view.
 Set<String> getFieldIds()
          Method returns set of field ids requested for view.
 Set<String> getOrderableFieldIds()
          Method returns set of orderable field ids requested for view.
 boolean isAllCustomFields()
          Method returns true if allcustom parameter in url was specified, otherwise false
 boolean isAnyFieldDefined()
          Method returns true if any valid field was specified in url parameters
 boolean isCustomViewRequested()
          Method returns true if custom issue view was requested by specyfing "field" parameter in request url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueViewFieldParamsImpl

public IssueViewFieldParamsImpl(boolean customViewRequested,
                                Set<String> fieldIds,
                                Set<String> orderableFieldIds,
                                Set<String> customFieldIds,
                                boolean allCustomFields)
Method Detail

getFieldIds

public Set<String> getFieldIds()
Description copied from interface: IssueViewFieldParams
Method returns set of field ids requested for view. Set contains all field ids including non-orderable fields

Specified by:
getFieldIds in interface IssueViewFieldParams
Returns:
set of non-custom field ids requested in view parameters

getCustomFieldIds

public Set<String> getCustomFieldIds()
Description copied from interface: IssueViewFieldParams
Method returns set of custom field ids requested for view.

Specified by:
getCustomFieldIds in interface IssueViewFieldParams
Returns:
set of custom field ids requested in view parameters

isAllCustomFields

public boolean isAllCustomFields()
Description copied from interface: IssueViewFieldParams
Method returns true if allcustom parameter in url was specified, otherwise false

Specified by:
isAllCustomFields in interface IssueViewFieldParams
Returns:
true if allcustom parameter in url was specified, otherwise false

getOrderableFieldIds

public Set<String> getOrderableFieldIds()
Description copied from interface: IssueViewFieldParams
Method returns set of orderable field ids requested for view.

Specified by:
getOrderableFieldIds in interface IssueViewFieldParams
Returns:
set of orderable field ids requested in view parameters

isCustomViewRequested

public boolean isCustomViewRequested()
Description copied from interface: IssueViewFieldParams
Method returns true if custom issue view was requested by specyfing "field" parameter in request url

Specified by:
isCustomViewRequested in interface IssueViewFieldParams
Returns:
true if custom issue view was requested

isAnyFieldDefined

public boolean isAnyFieldDefined()
Description copied from interface: IssueViewFieldParams
Method returns true if any valid field was specified in url parameters

Specified by:
isAnyFieldDefined in interface IssueViewFieldParams
Returns:
true if any valid field was requested


Copyright © 2002-2012 Atlassian. All Rights Reserved.