com.pyxis.greenhopper.jira.boards.pagination
Class AbstractColumnPagination
java.lang.Object
com.pyxis.greenhopper.jira.boards.pagination.AbstractColumnPagination
- All Implemented Interfaces:
- ColumnPagination
- Direct Known Subclasses:
- ArchivedChartColumnPagination, AssigneeColumnPagination, ChartBoardColumnPagination, ComponentColumnPagination, ProjectBoardColumnPagination, VersionColumnPagination
public abstract class AbstractColumnPagination
- extends java.lang.Object
- implements ColumnPagination
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
boardContext
protected final BoardContext boardContext
boards
protected java.util.List<PlanningBoard> boards
AbstractColumnPagination
public AbstractColumnPagination(BoardContext boardContext)
getPageCount
public int getPageCount()
- Description copied from interface:
ColumnPagination
- Retrieve the number of pages
- Specified by:
getPageCount
in interface ColumnPagination
- Returns:
- the number of pages
getPageFor
public int getPageFor(java.lang.String boardId)
- Description copied from interface:
ColumnPagination
- Retrieves the page number for the specified board
- Specified by:
getPageFor
in interface ColumnPagination
- Parameters:
boardId
- the board
- Returns:
- the page number for the specified board
getTooltips
public java.lang.String getTooltips()
- Specified by:
getTooltips
in interface ColumnPagination
getBoardsForPage
public abstract java.util.List<PlanningBoard> getBoardsForPage(int page)
- Description copied from interface:
ColumnPagination
- Retrieves the list of boards for the given page, according to PAGE_SIZE. If that
page does not contain any boards, the returned list is empty.
- Specified by:
getBoardsForPage
in interface ColumnPagination
- Parameters:
page
- the requested page, starting with 1
- Returns:
- list of boards in that page, or empty list
getBoards
protected abstract java.util.List<PlanningBoard> getBoards()
getHierarchy
protected abstract java.util.List<java.lang.String> getHierarchy(java.lang.String id)
allowUnset
protected abstract boolean allowUnset()
useFullNamesInTooltip
protected abstract boolean useFullNamesInTooltip()
getPageContent
protected java.util.List<java.util.List<java.lang.String>> getPageContent()
Copyright © 2007-2013 Atlassian. All Rights Reserved.