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


Constructor Summary
ColumnLayoutImpl(java.util.List<ColumnLayoutItem> columnLayoutItems)
           
 
Method Summary
 boolean contains(NavigableField navigableField)
           
 java.util.List<ColumnLayoutItem> getAllVisibleColumnLayoutItems(com.opensymphony.user.User user)
          Get the ColumnLayoutItems that can be displayed to the user.
protected  FieldManager getFieldManager()
           
protected  java.util.List<ColumnLayoutItem> getInternalList()
           
 java.util.List<ColumnLayoutItem> getVisibleColumnLayoutItems(com.opensymphony.user.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(java.util.List<ColumnLayoutItem> columnLayoutItems)
Method Detail

getAllVisibleColumnLayoutItems

public java.util.List<ColumnLayoutItem> getAllVisibleColumnLayoutItems(com.opensymphony.user.User user)
                                                                throws ColumnLayoutException
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
Throws:
ColumnLayoutException - if exception thrown while retreiving column layout

getVisibleColumnLayoutItems

public java.util.List<ColumnLayoutItem> getVisibleColumnLayoutItems(com.opensymphony.user.User user,
                                                                    QueryContext queryContext)
                                                             throws ColumnLayoutException
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
Throws:
ColumnLayoutException - if exception thrown while retreiving column layout

contains

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

getInternalList

protected java.util.List<ColumnLayoutItem> getInternalList()

getFieldManager

protected FieldManager getFieldManager()


Copyright © 2002-2010 Atlassian. All Rights Reserved.