org.apache.oodt.cas.workflow.structs
Class WorkflowInstancePage

java.lang.Object
  extended by org.apache.oodt.cas.workflow.structs.WorkflowInstancePage

public class WorkflowInstancePage
extends Object

Version:
$Revision$

Describe your class here

.
Author:
mattmann

Constructor Summary
WorkflowInstancePage()
           Default Constructor
WorkflowInstancePage(int pageNum, int totalPages, int pageSize, List pageWorkflows)
           
 
Method Summary
static WorkflowInstancePage blankPage()
           
 int getPageNum()
           
 int getPageSize()
           
 List getPageWorkflows()
           
 int getTotalPages()
           
 boolean isFirstPage()
           
 boolean isLastPage()
           
 void setPageNum(int pageNum)
           
 void setPageSize(int pageSize)
           
 void setPageWorkflows(List pageWorkflows)
           
 void setTotalPages(int totalPages)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowInstancePage

public WorkflowInstancePage()

Default Constructor

.


WorkflowInstancePage

public WorkflowInstancePage(int pageNum,
                            int totalPages,
                            int pageSize,
                            List pageWorkflows)
Parameters:
pageNum - The number of this page.
totalPages - The total number of pages in the set.
pageSize - The size of this page.
pageWorkflows - The workflows associated with this page.
Method Detail

getPageNum

public int getPageNum()
Returns:
Returns the pageNum.

setPageNum

public void setPageNum(int pageNum)
Parameters:
pageNum - The pageNum to set.

getPageWorkflows

public List getPageWorkflows()
Returns:
Returns the pageWorkflows.

setPageWorkflows

public void setPageWorkflows(List pageWorkflows)
Parameters:
pageProducts - The pageWorkflows to set.

getPageSize

public int getPageSize()
Returns:
Returns the pageSize.

setPageSize

public void setPageSize(int pageSize)
Parameters:
pageSize - The pageSize to set.

getTotalPages

public int getTotalPages()
Returns:
Returns the totalPages.

setTotalPages

public void setTotalPages(int totalPages)
Parameters:
totalPages - The totalPages to set.

isLastPage

public boolean isLastPage()
Returns:
True if this is the last page in the set, false otherwise.

isFirstPage

public boolean isFirstPage()
Returns:
True if this is the fist page of the set, false otherwise.

blankPage

public static WorkflowInstancePage blankPage()
Returns:
A blank, unpopulated WorkflowInstancePage.


Copyright © 1999-2011 Apache OODT. All Rights Reserved.