Skip navigation links

Oracle Content Services Web Services Java API Reference
10g Release 1 (10.1.2.3)

B25584-03


oracle.ifs.fdk
Interface PagingManager


public interface PagingManager

A facade interface for managing paging.


Method Summary
 Item[] getPage(NamedValue[] options, AttributeRequest[] attrs)
          Gets a page of the given size from the stored session state, starting from the given index.
 void setPagingList(NamedValue[] options)
          Stores a list of ids in the FdkSession so that they can later be retrieved one page at a time.

 

Method Detail

setPagingList

public void setPagingList(NamedValue[] options)
                   throws FdkException
Stores a list of ids in the FdkSession so that they can later be retrieved one page at a time.
Parameters:
options - The list to be stored, plus additional attributes.
  • notation: {Attribute name, Attribute type}
  • {Options.PAGING_LIST, long[]}
Throws:
FdkException - if the operation fails.

getPage

public Item[] getPage(NamedValue[] options,
                      AttributeRequest[] attrs)
               throws FdkException
Gets a page of the given size from the stored session state, starting from the given index. If the starting index is not specified, assumes 0. If page size is not specified, or is 0, returns null. If the number of items remaining is less than the page size, returns an array that is padded with null items at the end.
Parameters:
options - Options determining how to return the page.
  • notation: {Attribute name, Attribute type}
  • {Options.PAGE_SIZE, Integer}
  • {Options.STARTING_INDEX, Integer}
Throws:
FdkException - if the operation fails.

Skip navigation links

Oracle Content Services Web Services Java API Reference
10g Release 1 (10.1.2.3)

B25584-03


Copyright © 2002, 2005, Oracle. All rights reserved.