|
|||||||||
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.portalpages.common.editpage.PageLayoutPlugInModel
public class PageLayoutPlugInModel
This Model contains the state of the plug-in section.
Field Summary | |
---|---|
static int |
COL_GADGET_ALIGNMENT
Selected Portlet Alignment Column |
static int |
COL_GADGET_INDEX
Selected Portlet Index Column |
static int |
COL_GADGET_MAX
Selected Portlet Column Count |
static int |
COL_GADGET_NAME
Selected Portlet Name Column |
static int |
COL_GADGET_QUERY_INDEX
Selected Portlet Query Index |
protected int[][] |
m_aanPortletOrder
Portlet Order in Columns |
static int |
PAGELAYOUT_COL_GADGET_MODEL
Portlet Model Column |
static int |
PAGELAYOUT_SORTEDARRAY_PROPID_INDEX
Sorted Array Index Column |
static java.lang.String |
STR_MVC_CLASS_NAME
Object Name |
static java.lang.String |
SUBSPACE_NAME_ADDFREEFORM
Key name used by the Activity Space to store the add free form page. |
static java.lang.String |
SUBSPACE_NAME_ADDGADGETS
Key name used by the Activity Space to store the add gadgets page. |
static java.lang.String |
SUBSPACE_NAME_SELECTLAYOUT
Key name used by the Activity Space to store the select community template tree. |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
PageLayoutPlugInModel()
|
Method Summary | |
---|---|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskAfterStore(IPTPage page)
|
void |
DoTaskAfterStore(IPTPageTemplate pageTemplate)
|
void |
DoTaskBeforeStore(IPTPage page)
|
void |
DoTaskBeforeStore(IPTPageTemplate pageTemplate)
|
int |
FreeFormToBeRemove()
DCA - Returns the freeform portlet's ID if it has been removed. |
boolean |
GetCanChangeLayout()
Method GetCanChangeLayout. |
boolean |
GetCanChooseFreeForm()
Method GetCanChooseFreeForm. |
boolean |
GetCanCreatePortlet()
Method GetCanCreatePortlet. |
int |
GetClassID()
Method GetClassID. |
int[][] |
GetColumnOrder()
Method GetColumnOrder. |
int |
GetFolderID()
Method GetFolderID. |
int |
GetFreeFormPortletID()
DCA - Returns the freeform portlet's ID. |
boolean |
GetHasFreeFormPortlet()
Method GetHasFreeFormPortlet. |
java.lang.String |
GetInputValue(java.lang.String name)
Method GetInputValue. |
java.lang.String |
GetName()
Returns the Class name. |
int |
GetNewPortletID()
Method GetNewPortletID. |
int |
GetObjectID()
Method GetObjectID. |
PageData |
GetPageModel()
Method GetPageModel. |
int |
GetPageType()
Method GetPageType. |
int |
GetPortletAlignment(int nPortletIndex)
Method GetPortletAlignment. |
int |
GetPortletColumn(int nPortletIndex)
Method GetPortletColumn. |
int |
GetPortletCount()
Method GetPortletCount. |
java.lang.String |
GetPortletDescription(int nPortletIndex)
Method GetPortletDescription. |
int |
GetPortletID(int nPortletIndex)
Method GetPortletID. |
boolean |
GetPortletIsCommunityType(int nPortletIndex)
Method GetPortletIsCommunityType. |
boolean |
GetPortletIsFromPT(int nPortletIndex)
Method GetPortletIsFromPT. |
java.lang.String |
GetPortletName(int nPortletIndex)
Method GetPortletName. |
XPSortedDictionary |
GetPortletsToHide()
Method GetPortletsToHide. |
XPSortedDictionary |
GetSelectedPortlets()
Method GetSelectedPortlets. |
int |
GetTableHeight()
Method GetTableHeight. |
boolean |
GetUseDragDropLayout()
Method GetUseDragDropLayout. |
void |
InitializePlugIn(IPTPage ptPage,
int _nTableHeight,
IASQueryResult _ptqrPortlets,
boolean bIgnorePortletFromPageTemplate,
IPTSession _Session)
Method InitializePlugIn. |
void |
InitializePlugIn(IPTPageTemplate ptPageTemplate,
int _nTableHeight,
IASQueryResult _ptqrPortlets,
IPTSession _Session)
Method InitializePlugIn. |
void |
InitializePlugIn(PageData _myPageModel,
IPTCommunity _myCommunity,
int _nTableHeight,
IPTSession _Session)
Method InitializePlugIn. |
boolean |
IsFreeFormLayoutAllowed()
Method IsFreeFormLayoutAllowed. |
void |
RepostAddFreeForm()
Method RepostAddFreeForm. |
void |
RepostAddPortlets()
Method RepostAddPortlets. |
void |
RepostDeletePortlet()
Method RepostDeletePortlet. |
void |
RepostNewPortlet()
Method RepostNewPortlet. |
int |
SaveSection(XPHashtable _htFormData)
Method SaveSection. |
void |
SetAllowFreeFormSection(boolean bAllowFreeFormSection)
|
void |
SetIsHomeMyPage(boolean bIsHomeMyPage)
Sets whether this is the users home my page or not. |
void |
SetOpenerClassID(int nOpenerClassID)
Method SetOpenerClassID. |
void |
SetOpenerObjectID(int nOpenerObjectID)
Method SetOpenerObjectID. |
void |
SetOpenerPageID(int nOpenerPageID)
Method SetOpenerPageID. |
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 |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String SUBSPACE_NAME_ADDGADGETS
public static final java.lang.String SUBSPACE_NAME_ADDFREEFORM
public static final java.lang.String SUBSPACE_NAME_SELECTLAYOUT
public static final int PAGELAYOUT_SORTEDARRAY_PROPID_INDEX
public static final int PAGELAYOUT_COL_GADGET_MODEL
public static final int COL_GADGET_MAX
public static final int COL_GADGET_INDEX
public static final int COL_GADGET_NAME
public static final int COL_GADGET_ALIGNMENT
public static final int COL_GADGET_QUERY_INDEX
protected int[][] m_aanPortletOrder
Constructor Detail |
---|
public PageLayoutPlugInModel()
Method Detail |
---|
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class EditorHelperModel
IManagedObject.Create()
public void DoTaskBeforeStore(IPTPage page)
public void DoTaskAfterStore(IPTPage page)
public void DoTaskBeforeStore(IPTPageTemplate pageTemplate)
public void DoTaskAfterStore(IPTPageTemplate pageTemplate)
public boolean GetCanChangeLayout()
IPageLayoutModelRO
GetCanChangeLayout
in interface IPageLayoutModelRO
IPageLayoutModelRO.GetCanChangeLayout()
public boolean GetCanChooseFreeForm()
IPageLayoutModelRO
GetCanChooseFreeForm
in interface IPageLayoutModelRO
IPageLayoutModelRO.GetCanChooseFreeForm()
public boolean GetCanCreatePortlet()
IPageLayoutModelRO
GetCanCreatePortlet
in interface IPageLayoutModelRO
IPageLayoutModelRO.GetCanCreatePortlet()
public int[][] GetColumnOrder()
public int GetPortletAlignment(int nPortletIndex)
IPageLayoutModelRO
GetPortletAlignment
in interface IPageLayoutModelRO
IPageLayoutModelRO.GetPortletAlignment(int)
public int GetPortletColumn(int nPortletIndex)
IPageLayoutModelRO
GetPortletColumn
in interface IPageLayoutModelRO
IPageLayoutModelRO.GetPortletColumn(int)
public int GetPortletCount()
IPageLayoutModelRO
GetPortletCount
in interface IPageLayoutModelRO
IPageLayoutModelRO.GetPortletCount()
public java.lang.String GetPortletDescription(int nPortletIndex)
IPageLayoutModelRO
GetPortletDescription
in interface IPageLayoutModelRO
IPageLayoutModelRO.GetPortletDescription(int)
public int GetPortletID(int nPortletIndex)
IPageLayoutModelRO
GetPortletID
in interface IPageLayoutModelRO
IPageLayoutModelRO.GetPortletID(int)
public boolean GetPortletIsCommunityType(int nPortletIndex)
IPageLayoutModelRO
GetPortletIsCommunityType
in interface IPageLayoutModelRO
IPageLayoutModelRO.GetPortletIsCommunityType(int)
public boolean GetPortletIsFromPT(int nPortletIndex)
IPageLayoutModelRO
GetPortletIsFromPT
in interface IPageLayoutModelRO
IPageLayoutModelRO.GetPortletIsFromPT(int)
public java.lang.String GetPortletName(int nPortletIndex)
IPageLayoutModelRO
GetPortletName
in interface IPageLayoutModelRO
IPageLayoutModelRO.GetPortletName(int)
public XPSortedDictionary GetPortletsToHide()
public boolean GetHasFreeFormPortlet()
IPageLayoutModelRO
GetHasFreeFormPortlet
in interface IPageLayoutModelRO
IPageLayoutModelRO.GetHasFreeFormPortlet()
public int GetFreeFormPortletID()
public int FreeFormToBeRemove()
public java.lang.String GetInputValue(java.lang.String name)
IPageLayoutModelRO
GetInputValue
in interface IPageLayoutModelRO
IPageLayoutModelRO.GetInputValue(String)
public boolean IsFreeFormLayoutAllowed()
IPageLayoutModelRO
IsFreeFormLayoutAllowed
in interface IPageLayoutModelRO
IPageLayoutModelRO.IsFreeFormLayoutAllowed()
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorHelperModel
public int GetNewPortletID()
public int GetClassID()
IPageLayoutModelRO
GetClassID
in interface IPageLayoutModelRO
com.plumtree.portalpages.common.editpage.IPageLayoutModelRO#GetOpenerClassID()
public int GetFolderID()
IPageLayoutModelRO
GetFolderID
in interface IPageLayoutModelRO
com.plumtree.portalpages.common.editpage.IPageLayoutModelRO#GetOpenerCommunityID()
public int GetObjectID()
IPageLayoutModelRO
GetObjectID
in interface IPageLayoutModelRO
com.plumtree.portalpages.common.editpage.IPageLayoutModelRO#GetOpenerObjectID()
public PageData GetPageModel()
public int GetPageType()
IPageLayoutModelRO
GetPageType
in interface IPageLayoutModelRO
IPageLayoutModelRO.GetPageType()
public XPSortedDictionary GetSelectedPortlets()
public int GetTableHeight()
IPageLayoutModelRO
GetTableHeight
in interface IPageLayoutModelRO
IPageLayoutModelRO.GetTableHeight()
public void InitializePlugIn(IPTPage ptPage, int _nTableHeight, IASQueryResult _ptqrPortlets, boolean bIgnorePortletFromPageTemplate, IPTSession _Session)
_nPageLayoutType
- _nPageTemplateID
- _nTableHeight
- _ptqrPortlets
- _Session
- public void InitializePlugIn(IPTPageTemplate ptPageTemplate, int _nTableHeight, IASQueryResult _ptqrPortlets, IPTSession _Session)
_nPageLayoutType
- _nPageTemplateID
- _nTableHeight
- _ptqrPortlets
- _Session
- public void InitializePlugIn(PageData _myPageModel, IPTCommunity _myCommunity, int _nTableHeight, IPTSession _Session)
_myPageModel
- _myCommunity
- _nTableHeight
- _Session
- public void RepostAddFreeForm()
public void RepostAddPortlets()
public void RepostDeletePortlet()
public void RepostNewPortlet()
public int SaveSection(XPHashtable _htFormData)
SaveSection
in class EditorHelperModel
_htFormData
-
public void SetOpenerClassID(int nOpenerClassID)
nOpenerClassID
- public void SetOpenerObjectID(int nOpenerObjectID)
nOpenerObjectID
- public void SetOpenerPageID(int nOpenerPageID)
nOpenerPageID
- public void SetIsHomeMyPage(boolean bIsHomeMyPage)
bIsHomeMyPage
- public void SetAllowFreeFormSection(boolean bAllowFreeFormSection)
public boolean GetUseDragDropLayout()
IPageLayoutModelRO
GetUseDragDropLayout
in interface IPageLayoutModelRO
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |