com.atlassian.jira.issue.fields.layout.field
Class FieldLayoutImpl

java.lang.Object
  extended by com.atlassian.jira.issue.fields.screen.AbstractGVBean
      extended by com.atlassian.jira.issue.fields.layout.field.FieldLayoutImpl
All Implemented Interfaces:
FieldLayout
Direct Known Subclasses:
EditableDefaultFieldLayoutImpl

public class FieldLayoutImpl
extends AbstractGVBean
implements FieldLayout


Constructor Summary
FieldLayoutImpl(org.ofbiz.core.entity.GenericValue genericValue, List<FieldLayoutItem> fieldLayoutItems)
           
 
Method Summary
 boolean equals(Object o)
           
 String getDescription()
           
 FieldLayoutItem getFieldLayoutItem(OrderableField orderableField)
           
 FieldLayoutItem getFieldLayoutItem(String fieldId)
           
 List<FieldLayoutItem> getFieldLayoutItems()
           
protected  FieldManager getFieldManager()
           
 List getHiddenFields(User remoteUser, org.ofbiz.core.entity.GenericValue project, List issueTypeIds)
           
 List getHiddenFields(User remoteUser, Project project, List issueTypeIds)
           
 Long getId()
           
protected  List<FieldLayoutItem> getInternalList()
           
 String getName()
           
 String getRendererTypeForField(String fieldId)
           
 List getRequiredFieldLayoutItems(User remoteUser, org.ofbiz.core.entity.GenericValue project, List issueTypes)
           
 String getType()
           
 List getVisibleCustomFieldLayoutItems(User remoteUser, org.ofbiz.core.entity.GenericValue project, List issueTypes)
           
 List getVisibleLayoutItems(User remoteUser, org.ofbiz.core.entity.GenericValue project, List issueTypes)
           
 List getVisibleLayoutItems(User remoteUser, Project project, List issueTypes)
           
 int hashCode()
           
protected  void init()
           
 boolean isDefault()
          Returns true if this is the default FieldLayout.
 boolean isFieldHidden(String fieldId)
           
protected  void setId(Long id)
           
protected  void setInternalDescription(String description)
           
protected  void setInternalName(String name)
           
 
Methods inherited from class com.atlassian.jira.issue.fields.screen.AbstractGVBean
getGenericValue, isModified, setGenericValue, setModified, updateGV, valuesEqual
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.fields.layout.field.FieldLayout
getGenericValue
 

Constructor Detail

FieldLayoutImpl

public FieldLayoutImpl(org.ofbiz.core.entity.GenericValue genericValue,
                       List<FieldLayoutItem> fieldLayoutItems)
Method Detail

init

protected void init()
Specified by:
init in class AbstractGVBean

getId

public Long getId()
Specified by:
getId in interface FieldLayout

getName

public String getName()
Specified by:
getName in interface FieldLayout

getDescription

public String getDescription()
Specified by:
getDescription in interface FieldLayout

getType

public String getType()

isDefault

public boolean isDefault()
Description copied from interface: FieldLayout
Returns true if this is the default FieldLayout. This means that the "type" field holds "value".

Specified by:
isDefault in interface FieldLayout
Returns:
true if this is the default FieldLayout.

setId

protected void setId(Long id)

setInternalName

protected void setInternalName(String name)

setInternalDescription

protected void setInternalDescription(String description)

getFieldLayoutItems

public List<FieldLayoutItem> getFieldLayoutItems()
Specified by:
getFieldLayoutItems in interface FieldLayout

getFieldLayoutItem

public FieldLayoutItem getFieldLayoutItem(OrderableField orderableField)
Specified by:
getFieldLayoutItem in interface FieldLayout

getFieldLayoutItem

public FieldLayoutItem getFieldLayoutItem(String fieldId)
Specified by:
getFieldLayoutItem in interface FieldLayout

getVisibleLayoutItems

public List getVisibleLayoutItems(User remoteUser,
                                  Project project,
                                  List issueTypes)
Specified by:
getVisibleLayoutItems in interface FieldLayout

getVisibleLayoutItems

public List getVisibleLayoutItems(User remoteUser,
                                  org.ofbiz.core.entity.GenericValue project,
                                  List issueTypes)
Specified by:
getVisibleLayoutItems in interface FieldLayout

getVisibleCustomFieldLayoutItems

public List getVisibleCustomFieldLayoutItems(User remoteUser,
                                             org.ofbiz.core.entity.GenericValue project,
                                             List issueTypes)
Specified by:
getVisibleCustomFieldLayoutItems in interface FieldLayout

getHiddenFields

public List getHiddenFields(User remoteUser,
                            org.ofbiz.core.entity.GenericValue project,
                            List issueTypeIds)
Specified by:
getHiddenFields in interface FieldLayout

getHiddenFields

public List getHiddenFields(User remoteUser,
                            Project project,
                            List issueTypeIds)
Specified by:
getHiddenFields in interface FieldLayout

getFieldManager

protected FieldManager getFieldManager()

getRequiredFieldLayoutItems

public List getRequiredFieldLayoutItems(User remoteUser,
                                        org.ofbiz.core.entity.GenericValue project,
                                        List issueTypes)
Specified by:
getRequiredFieldLayoutItems in interface FieldLayout

isFieldHidden

public boolean isFieldHidden(String fieldId)
Specified by:
isFieldHidden in interface FieldLayout

getRendererTypeForField

public String getRendererTypeForField(String fieldId)
Specified by:
getRendererTypeForField in interface FieldLayout

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getInternalList

protected List<FieldLayoutItem> getInternalList()


Copyright © 2002-2009 Atlassian. All Rights Reserved.