# com.bea.jsptools.portal
PortalAdminPaginationHelper Class

public class PortalAdminPaginationHelper
extends `Object`

Hierarchy
  `Object`
  `PortalAdminPaginationHelper`

## Constructor Summary

PortalAdminPaginationHelper()

## Method Summary

`public static int` | `getActualPageSize`(`TreeStateManager` treeStateManager, int pageSize, `PrunableTreeNode` parentNode)
`public static int` | `getActualPageSize`(`TreeStateManager` treeStateManager, int pageSize, `String` nodePath)
`public static `DesktopDefinition`[]` | `getCurrentPaginatedDesktopDefinitions`(`TreeStateManager` treeStateManager, int pageSize, `String` portalPath, `String` nodePath, `String` currentWebApp, `HttpServletRequest` request)
`public static `DesktopDefinition`[]` | `getPaginatedDesktopDefinitions`(`String` webAppName, `String` parentTaxonomy, int pageSize, `String` startId, `String` portalPath, int actualPageSize, boolean purgeFirstResult, `PortalNodePruner` pnp, `HttpServletRequest` request)
`public static `String`` | `getStartTitle`(`TreeStateManager` treeStateManager, int pageSize, `PrunableTreeNode` parentNode, boolean errorCheck)
`public static `String`` | `getStartTitle`(`TreeStateManager` treeStateManager, int pageSize, `String` nodePath, boolean errorCheck)
`public static void` | `paginationSetup`(`TreeStateManager` treeStateManager, int pageSize, `PrunableTreeNode` parentNode, int returnSetSize, boolean errorCheck)

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Constructor Detail

### PortalAdminPaginationHelper

    public PortalAdminPaginationHelper()

## Method Detail

### getActualPageSize(TreeStateManager, int, PrunableTreeNode) Method

    public static int getActualPageSize(TreeStateManager treeStateManager,
                                        int pageSize,
                                        PrunableTreeNode parentNode)

### getActualPageSize(TreeStateManager, int, String) Method

    public static int getActualPageSize(TreeStateManager treeStateManager,
                                        int pageSize,
                                        String nodePath)

### getCurrentPaginatedDesktopDefinitions(TreeStateManager, int, String, String, String, HttpServletRequest) Method

    public static DesktopDefinition[] getCurrentPaginatedDesktopDefinitions(TreeStateManager treeStateManager,
                                                                          int pageSize,
                                                                          String portalPath,
                                                                          String nodePath,
                                                                          String currentWebApp,
                                                                          HttpServletRequest request)
         throws Exception

#### Exceptions

``Exception``

### getPaginatedDesktopDefinitions(String, String, int, String, String, int, boolean, PortalNodePruner, HttpServletRequest) Method

    public static DesktopDefinition[] getPaginatedDesktopDefinitions(String webAppName,
                                                                   String parentTaxonomy,
                                                                   int pageSize,
                                                                   String startId,
                                                                   String portalPath,
                                                                   int actualPageSize,
                                                                   boolean purgeFirstResult,
                                                                   PortalNodePruner pnp,
                                                                   HttpServletRequest request)
         throws Exception

#### Exceptions

``Exception``

### getStartTitle(TreeStateManager, int, PrunableTreeNode, boolean) Method

    public static String getStartTitle(TreeStateManager treeStateManager,
                                       int pageSize,
                                       PrunableTreeNode parentNode,
                                       boolean errorCheck)

### getStartTitle(TreeStateManager, int, String, boolean) Method

    public static String getStartTitle(TreeStateManager treeStateManager,
                                       int pageSize,
                                       String nodePath,
                                       boolean errorCheck)

### paginationSetup(TreeStateManager, int, PrunableTreeNode, int, boolean) Method

    public static void paginationSetup(TreeStateManager treeStateManager,
                                       int pageSize,
                                       PrunableTreeNode parentNode,
                                       int returnSetSize,
                                       boolean errorCheck)