|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorHelperModel com.plumtree.uiinfrastructure.expandablelist.ExpListModel com.plumtree.portalpages.browsing.editors.community.PageListModel
public class PageListModel
Field Summary | |
---|---|
static int |
EXPLIST_COL_MAX
Page Growable Array Max Columns |
static int |
EXPLIST_COL_PAGE_FROMCOMMTEMP
|
static int |
EXPLIST_COL_PAGE_MODEL
Page Growable Array Page Model Column |
static int |
EXPLIST_COL_PAGE_NAME
Page Growable Array Page Name Column |
static int |
EXPLIST_DEFAULT_INITIAL_SIZE
Default initial size for the sorted array. |
protected int |
m_nPageCount
Page Count |
protected IPTSession |
m_Session
IPTSession |
static java.lang.String |
NAME_COLUMN_WIDTH
Column widths for the various columns. |
static java.lang.String |
ORDERING_COLUMN_WIDTH
|
static java.lang.String |
STR_MVC_CLASS_NAME
Object Name |
static java.lang.String |
SUBSPACE_NAME_EDITPAGE
Key name used by the Activity Space to store the edit page pop up. |
static java.lang.String |
SUBSPACE_NAME_NEWPAGETREE
Key name used by the Activity Space to store the new page tree. |
static java.lang.String |
TEMPLATE_COLUMN_WIDTH
|
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
PageListModel()
|
Method Summary | |
---|---|
void |
AddRowsOnRepost(XPHashtable _htFormData)
Will be called each time the add action is performed. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DeleteRowsOnRepost(XPHashtable _htFormData)
Gets the array of checked rows and delete them from the list. |
void |
DoTaskOnComeBackFromSubEditor()
Repost when edit page submitted. |
void |
EnableAddButton()
enables the add button |
java.lang.String |
GetInputValue(java.lang.String name)
Get the value for the given input. |
java.lang.String |
GetName()
Returns the Class name. |
int |
GetNextAvailableUniqueID()
Get next available unique id. |
int |
GetPageCount()
Returns the number of pages selected. |
XPArrayList |
GetPagesToRemove()
Returns the pages to remove as an XPArrayList of Integers. |
void |
InitializePageList(IPTSession _Session,
int _nListKey)
Method InitializePageList. |
protected java.lang.Object[][] |
InitializePages(IASQueryResult asqr)
Method InitializePages. |
void |
InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
Will be called when this class is initalized. |
void |
RepostNewPage()
Repost when new page is added. |
protected int |
SaveRow(PTGrowableSortedArrayWrapper _saData,
int _nRowIndex,
XPHashtable _htFormData)
Will be called each ime there is a repost to save the data on the list. |
int |
SaveSection(XPHashtable _htFormData)
Saves the data on the Main page. |
void |
SetAddLabel(java.lang.String _label)
modifies the Add Label shown on the Add button. |
void |
SetDefaultObjects(java.lang.Object[][] _arrRows)
Add the array passed in argument to the list. |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
CleanupAllData, CleanupTempData, Init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IModel |
---|
CleanupAllData, CleanupTempData, Init |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int EXPLIST_COL_MAX
public static final int EXPLIST_COL_PAGE_MODEL
public static final int EXPLIST_COL_PAGE_NAME
public static final int EXPLIST_COL_PAGE_FROMCOMMTEMP
public static final java.lang.String SUBSPACE_NAME_NEWPAGETREE
public static final java.lang.String SUBSPACE_NAME_EDITPAGE
public static final int EXPLIST_DEFAULT_INITIAL_SIZE
public static final java.lang.String NAME_COLUMN_WIDTH
public static final java.lang.String TEMPLATE_COLUMN_WIDTH
public static final java.lang.String ORDERING_COLUMN_WIDTH
protected IPTSession m_Session
protected int m_nPageCount
Constructor Detail |
---|
public PageListModel()
Method Detail |
---|
public void AddRowsOnRepost(XPHashtable _htFormData)
ExpListModel
AddRowsOnRepost
in class ExpListModel
_htFormData
- Form dataExpListModel.AddRowsOnRepost(XPHashtable)
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class EditorHelperModel
IManagedObject.Create()
public void DeleteRowsOnRepost(XPHashtable _htFormData)
ExpListModel
DeleteRowsOnRepost
in class ExpListModel
ExpListModel.DeleteRowsOnRepost(XPHashtable)
public java.lang.String GetInputValue(java.lang.String name)
IPageListModelRO
GetInputValue
in interface IPageListModelRO
IPageListModelRO.GetInputValue(String)
public java.lang.String GetName()
EditorHelperModel
GetName
in interface IMVCObject
GetName
in class EditorHelperModel
IMVCObject.GetName()
public int GetNextAvailableUniqueID()
public int GetPageCount()
IPageListModelRO
GetPageCount
in interface IPageListModelRO
IPageListModelRO.GetPageCount()
public XPArrayList GetPagesToRemove()
public void InitializePageList(IPTSession _Session, int _nListKey)
_Session
- _nListKey
- public void InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
ExpListModel
InitializeSortedArray
in class ExpListModel
ExpListModel.InitializeSortedArray(PTGrowableSortedArrayWrapper)
public void DoTaskOnComeBackFromSubEditor()
public void RepostNewPage()
public void EnableAddButton()
public void SetAddLabel(java.lang.String _label)
public int SaveSection(XPHashtable _htFormData)
SaveSection
in class ExpListModel
_htFormData
-
public void SetDefaultObjects(java.lang.Object[][] _arrRows)
_arrRows
- Array of rows to add.protected int SaveRow(PTGrowableSortedArrayWrapper _saData, int _nRowIndex, XPHashtable _htFormData)
ExpListModel
SaveRow
in class ExpListModel
ExpListModel.SaveRow(PTGrowableSortedArrayWrapper, int, XPHashtable)
protected java.lang.Object[][] InitializePages(IASQueryResult asqr)
asqr
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |