com.atlassian.jira.issue.fields.layout.column
Class ColumnLayoutImpl

java.lang.Object
  extended by com.atlassian.jira.issue.fields.layout.AbstractLayout
      extended by com.atlassian.jira.issue.fields.layout.column.ColumnLayoutImpl
All Implemented Interfaces:
ColumnLayout
Direct Known Subclasses:
DefaultColumnLayoutImpl, EditableColumnLayoutImpl, UserColumnLayoutImpl

public abstract class ColumnLayoutImpl
extends AbstractLayout
implements ColumnLayout


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.issue.fields.layout.column.ColumnLayout
ColumnLayout.ColumnConfig
 
Constructor Summary
ColumnLayoutImpl(List<ColumnLayoutItem> columnLayoutItems)
           
ColumnLayoutImpl(List<ColumnLayoutItem> columnLayoutItems, ColumnLayout.ColumnConfig columnConfig)
           
 
Method Summary
 List<String> asFieldNames()
           
 boolean contains(NavigableField navigableField)
           
 List<ColumnLayoutItem> getAllVisibleColumnLayoutItems(com.atlassian.crowd.embedded.api.User user)
          Get the ColumnLayoutItems that can be displayed to the user.
 ColumnLayout.ColumnConfig getColumnConfig()
           
protected  FieldManager getFieldManager()
           
protected  List<ColumnLayoutItem> getInternalList()
           
 List<ColumnLayoutItem> getVisibleColumnLayoutItems(com.atlassian.crowd.embedded.api.User user, QueryContext queryContext)
          Get the ColumnLayoutItems that can be displayed to the user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.fields.layout.column.ColumnLayout
getColumnLayoutItems
 

Constructor Detail

ColumnLayoutImpl

public ColumnLayoutImpl(List<ColumnLayoutItem> columnLayoutItems)

ColumnLayoutImpl

public ColumnLayoutImpl(List<ColumnLayoutItem> columnLayoutItems,
                        ColumnLayout.ColumnConfig columnConfig)
Method Detail

getAllVisibleColumnLayoutItems

public List<ColumnLayoutItem> getAllVisibleColumnLayoutItems(com.atlassian.crowd.embedded.api.User user)
Description copied from interface: ColumnLayout
Get the ColumnLayoutItems that can be displayed to the user.

Specified by:
getAllVisibleColumnLayoutItems in interface ColumnLayout
Parameters:
user - the user for whom the columns are to be displayed.
Returns:
All visible column layout items

getVisibleColumnLayoutItems

public List<ColumnLayoutItem> getVisibleColumnLayoutItems(com.atlassian.crowd.embedded.api.User user,
                                                          QueryContext queryContext)
Description copied from interface: ColumnLayout
Get the ColumnLayoutItems that can be displayed to the user.

Specified by:
getVisibleColumnLayoutItems in interface ColumnLayout
Parameters:
user - the user for whom the columns are to be displayed.
queryContext - the context of the search the columns are being displayed for
Returns:
All visible column layout items for the given query context

contains

public boolean contains(NavigableField navigableField)
Specified by:
contains in interface ColumnLayout

asFieldNames

public List<String> asFieldNames()
Specified by:
asFieldNames in interface ColumnLayout
Returns:
the column layout items as a list of string

getColumnConfig

public ColumnLayout.ColumnConfig getColumnConfig()
Specified by:
getColumnConfig in interface ColumnLayout
Returns:
the columns used when creating the ColumnLayout

getInternalList

protected List<ColumnLayoutItem> getInternalList()

getFieldManager

protected FieldManager getFieldManager()


Copyright © 2002-2014 Atlassian. All Rights Reserved.