com.pyxis.greenhopper.jira.boards.pagination
Class ProjectBoardColumnPagination
java.lang.Object
com.pyxis.greenhopper.jira.boards.pagination.AbstractColumnPagination
com.pyxis.greenhopper.jira.boards.pagination.ProjectBoardColumnPagination
- All Implemented Interfaces:
- ColumnPagination
public class ProjectBoardColumnPagination
- extends AbstractColumnPagination
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectBoardColumnPagination
public ProjectBoardColumnPagination(BoardContext boardContext)
getBoardsForPage
public 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- Specified by:
getBoardsForPage in class AbstractColumnPagination
- Parameters:
page - the requested page, starting with 1
- Returns:
- list of boards in that page, or empty list
getPageCount
public int getPageCount()
- Description copied from interface:
ColumnPagination
- Retrieve the number of pages
- Specified by:
getPageCount in interface ColumnPagination- Overrides:
getPageCount in class AbstractColumnPagination
- 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- Overrides:
getPageFor in class AbstractColumnPagination
- Parameters:
boardId - the board
- Returns:
- the page number for the specified board
allowUnset
protected boolean allowUnset()
- Specified by:
allowUnset in class AbstractColumnPagination
getBoards
protected java.util.List<PlanningBoard> getBoards()
- Specified by:
getBoards in class AbstractColumnPagination
getHierarchy
protected java.util.LinkedList<java.lang.String> getHierarchy(java.lang.String id)
- Specified by:
getHierarchy in class AbstractColumnPagination
useFullNamesInTooltip
protected boolean useFullNamesInTooltip()
- Specified by:
useFullNamesInTooltip in class AbstractColumnPagination
Copyright © 2007-2012 Atlassian. All Rights Reserved.