|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalpages.admin.objmgr.ObjectManagerHolder
public class ObjectManagerHolder
Field Summary | |
---|---|
int[] |
m_nSelectedObjectIDs
|
IPTObjectManager |
m_ptObjMgr
|
Constructor Summary | |
---|---|
ObjectManagerHolder(IPTObjectManager ptObjMgr)
Creates a new ObjectManagerHolder object. |
Method Summary | |
---|---|
int |
GetFirstObjectCount()
This gets the first object count |
int |
GetLastObjectCount()
This gets the last object count |
int |
GetSkippedRows()
This gets the number of rows that are being skipped in the query. |
int |
GetSortDirection()
This gets the sort property ID. |
int |
GetSortPropID()
This gets the sort property ID. |
boolean |
IsObjectSelected(int nID)
This returns whether or not the object is selected |
IASQueryResult |
QueryObjects(int nFolderID)
This method returns a query of the objects with the correct sorting. |
void |
Reset()
This resets the selected items and pagination for this object manager. |
void |
SetDefaultPaginationSize(int nDefaultPaginationSize)
|
void |
SetPagination(int nFirstObjectCount,
int nLastObjectCount)
This sets the pagination. |
void |
SetSortOrder(int nPropID,
int nSortDirection)
This sets the sort order. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final IPTObjectManager m_ptObjMgr
public int[] m_nSelectedObjectIDs
Constructor Detail |
---|
public ObjectManagerHolder(IPTObjectManager ptObjMgr)
ptObjMgr
- Method Detail |
---|
public void Reset()
public int GetSkippedRows()
public int GetFirstObjectCount()
public int GetLastObjectCount()
public int GetSortDirection()
public int GetSortPropID()
public boolean IsObjectSelected(int nID)
int
- nID the object ID of the object to check
public IASQueryResult QueryObjects(int nFolderID)
public void SetPagination(int nFirstObjectCount, int nLastObjectCount)
int
- the first object countint
- the second object countpublic void SetDefaultPaginationSize(int nDefaultPaginationSize)
public void SetSortOrder(int nPropID, int nSortDirection)
int
- the property id to sort onint
- the sort direction (PTSortedArrayWrapper.PTSAW_SORT_*)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |