|
|||||||||
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.portlets.sitemap.prefs.SiteMapPortletPrefsSortedLinksModel
public class SiteMapPortletPrefsSortedLinksModel
Field Summary | |
---|---|
static int |
EXPLIST_DEFAULT_INITIAL_SIZE
Default initial size for the sorted array. |
static int |
LINKS_COL_LINK_DESCRIPTION
|
static int |
LINKS_COL_LINK_INDEX
|
static int |
LINKS_COL_LINK_NAME
|
static int |
LINKS_COL_LINK_OBJECTID
|
static int |
LINKS_COL_LINK_TYPE
|
static int |
LINKS_COL_LINK_UNIQUE_ID
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
SiteMapPortletPrefsSortedLinksModel()
|
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. |
int |
GetCurrNumLinks()
|
java.lang.String |
GetItemsAsStringForStore()
|
java.lang.String |
GetLinkName(int nIndex)
|
java.lang.String |
GetName()
Returns the Class name. |
void |
InitializeLinkList(IPTSession _Session,
int _nListKey,
java.lang.String strLinkOrder)
Initializes the expandable list. |
void |
InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
Will be called when this class is initalized. |
boolean |
IsAlpha()
|
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. |
void |
SetAlphaOrdering(boolean bIsAlpha)
|
void |
UpdateRowsOnRepost(XPHashtable _htFormData)
|
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 LINKS_COL_LINK_NAME
public static final int LINKS_COL_LINK_OBJECTID
public static final int LINKS_COL_LINK_DESCRIPTION
public static final int LINKS_COL_LINK_TYPE
public static final int LINKS_COL_LINK_INDEX
public static final int LINKS_COL_LINK_UNIQUE_ID
public static final int EXPLIST_DEFAULT_INITIAL_SIZE
Constructor Detail |
---|
public SiteMapPortletPrefsSortedLinksModel()
Method Detail |
---|
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class EditorHelperModel
IManagedObject.Create()
public void AddRowsOnRepost(XPHashtable _htFormData)
ExpListModel
AddRowsOnRepost
in class ExpListModel
_htFormData
- Form dataExpListModel.AddRowsOnRepost(XPHashtable)
public void UpdateRowsOnRepost(XPHashtable _htFormData)
public void DeleteRowsOnRepost(XPHashtable _htFormData)
ExpListModel
DeleteRowsOnRepost
in class ExpListModel
ExpListModel.DeleteRowsOnRepost(XPHashtable)
public int GetCurrNumLinks()
public java.lang.String GetItemsAsStringForStore()
public java.lang.String GetLinkName(int nIndex)
nIndex
-
public java.lang.String GetName()
EditorHelperModel
GetName
in interface IMVCObject
GetName
in class EditorHelperModel
IMVCObject.GetName()
public void InitializeLinkList(IPTSession _Session, int _nListKey, java.lang.String strLinkOrder)
_sSectionTitle
- Main title._sSectionSubTitle
- Sub title_imgAddIcon
- Icon for the add action._sAddLabel
- Text to display next to the add icon._arrObjectClassIDs
- Class ID of the Objects displayed on the list._nListKey
- In case you have multiple Expandable Lists on
the same DP, they should have a different key (otherwise, just set it to 1).public void InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
ExpListModel
InitializeSortedArray
in class ExpListModel
ExpListModel.InitializeSortedArray(PTGrowableSortedArrayWrapper)
public void SetAlphaOrdering(boolean bIsAlpha)
bIsAlpha
- protected int SaveRow(PTGrowableSortedArrayWrapper _saData, int _nRowIndex, XPHashtable _htFormData)
ExpListModel
SaveRow
in class ExpListModel
ExpListModel.SaveRow(PTGrowableSortedArrayWrapper, int, XPHashtable)
public boolean IsAlpha()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |