com.atlassian.jira.rest.v2.issue
Class AbstractMetaFieldBeanBuilder

java.lang.Object
  extended by com.atlassian.jira.rest.v2.issue.AbstractMetaFieldBeanBuilder
Direct Known Subclasses:
CreateMetaFieldBeanBuilder, EditMetaFieldBeanBuilder, TransitionMetaFieldBeanBuilder

public abstract class AbstractMetaFieldBeanBuilder
extends Object

Builder for FieldMetaBean instances..

Since:
v5.0

Field Summary
protected  JiraBaseUrls baseUrls
           
protected  DefaultFieldMetaBeanHelper defaultFieldHelper
           
protected  FieldLayoutManager fieldLayoutManager
           
protected  IncludedFields includeFields
           
protected  Issue issue
           
protected  IssueType issueType
           
protected  Project project
           
protected  com.atlassian.crowd.embedded.api.User user
           
 
Constructor Summary
AbstractMetaFieldBeanBuilder(FieldLayoutManager fieldLayoutManager, Project project, Issue issue, IssueType issueType, com.atlassian.crowd.embedded.api.User user, VersionBeanFactory versionBeanFactory, VelocityRequestContextFactory velocityRequestContextFactory, ContextUriInfo contextUriInfo, JiraBaseUrls baseUrls, DefaultFieldMetaBeanHelper defaultFieldHelper)
           
 
Method Summary
protected  void addAdditionalFields(Map<String,FieldMetaBean> fields)
           
 Map<String,FieldMetaBean> build()
           
 void fieldsToInclude(IncludedFields includeFields)
           
protected  Collection<?> getAllowedValueBeans(OrderableField field, Collection<?> allowedValues)
           
protected  FieldMetaBean getFieldMetaBean(boolean required, OrderableField field)
           
protected  JsonType getJsonType(RestAwareField field)
           
abstract  OperationContext getOperationContext()
           
abstract  boolean hasPermissionToPerformOperation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldLayoutManager

protected final FieldLayoutManager fieldLayoutManager

project

protected Project project

issueType

protected IssueType issueType

user

protected com.atlassian.crowd.embedded.api.User user

issue

protected Issue issue

baseUrls

protected JiraBaseUrls baseUrls

includeFields

protected IncludedFields includeFields

defaultFieldHelper

protected DefaultFieldMetaBeanHelper defaultFieldHelper
Constructor Detail

AbstractMetaFieldBeanBuilder

public AbstractMetaFieldBeanBuilder(FieldLayoutManager fieldLayoutManager,
                                    Project project,
                                    Issue issue,
                                    IssueType issueType,
                                    com.atlassian.crowd.embedded.api.User user,
                                    VersionBeanFactory versionBeanFactory,
                                    VelocityRequestContextFactory velocityRequestContextFactory,
                                    ContextUriInfo contextUriInfo,
                                    JiraBaseUrls baseUrls,
                                    DefaultFieldMetaBeanHelper defaultFieldHelper)
Method Detail

fieldsToInclude

public void fieldsToInclude(IncludedFields includeFields)

build

public Map<String,FieldMetaBean> build()

addAdditionalFields

protected void addAdditionalFields(Map<String,FieldMetaBean> fields)

getFieldMetaBean

protected FieldMetaBean getFieldMetaBean(boolean required,
                                         OrderableField field)

getJsonType

protected JsonType getJsonType(RestAwareField field)

getAllowedValueBeans

protected Collection<?> getAllowedValueBeans(OrderableField field,
                                             Collection<?> allowedValues)

getOperationContext

public abstract OperationContext getOperationContext()

hasPermissionToPerformOperation

public abstract boolean hasPermissionToPerformOperation()


Copyright © 2002-2015 Atlassian. All Rights Reserved.