|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorModel com.plumtree.portaluiinfrastructure.editor.ObjEditorModel com.plumtree.portalpages.admin.editors.portlet.PortletModel
public class PortletModel
Field Summary | |
---|---|
static java.lang.String |
HTTPGP_CLSID
These static variables are used in determining what UI to display and how to initialize the portlet object. |
static java.lang.String |
IGP_CLSID
|
protected XPArrayList |
m_xalPPluginDPs
This member maintains a registry of page names that extend PPluginDP. |
protected XPArrayList |
m_xalPSubModels
This member maintains a registry of Plugin model keys that support the IWSSubModel interface. |
static int |
PMODE_CREATE
|
static int |
PMODE_CREATE_FROMTEMPLATE
|
static int |
PMODE_EDIT
|
static int |
PMODE_INVALID
The following static members define the possible modes this editor can be in. |
static int |
PMODE_PRECREATE
|
static java.lang.String |
PORTLET_CLSID
|
static java.lang.String |
PORTLET_TEMPLATE_CLSID
|
static java.lang.String |
QS_SHOWFREEFORM
Query String to determine if freeform templates should be shown |
static java.lang.String |
QS_SHOWHEADERFOOTER
Query String to determine if freeform templates should be shown |
static java.lang.String |
STR_MVC_CLASS_NAME
|
static int |
WSID_COMMUNITYLINKS
Web Service ID for intrinsic Community Links portlet |
Fields inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
EDITOR_CLASSID_UNKNOWN, EDITOR_FOLDERID_UNKNOWN, EDITOR_OBJECTID_UNKNOWN, EDITOR_QS_BOL_QS_FORCESAVEINFOLDER, EDITOR_QS_INT_CLASS_ID, EDITOR_QS_INT_QS_FOLDER_ID, EDITOR_QS_INT_QS_OBJECT_ID, m_bDisableDescription, m_bDisableSecurity, m_bForceSavedInSuppliedFolder, m_bIsSysAdmin, m_nClassID, m_nFolderID, m_nFolderType, m_nObjectID, m_ptObject, m_Session, m_sFolderName, OBJECT_NAME_TRUNCATE |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
isReadAccessAvailable, m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bEnableCancelButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
Constructor Summary | |
---|---|
PortletModel()
|
Method Summary | |
---|---|
void |
AddSendToOthersButtonToHelpBanner(PTConstruct myHelpBanner)
|
protected boolean |
CheckEditorAccess(XPHashtable _htFormData)
Helper method to check the current user rights to this Object Editor. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
IPTGadget |
CreateObjectFromTemplate(int nObjectIDOfTemplate)
If this editor is invoked from a template - this function is used to create the m_ptObject from a template. |
void |
DetermineWhetherToDisplayMandatoryColumnOnSecurityPage()
Calculates whether or not the "mandatory" column should be displayed on the security tab. |
void |
DoTaskBeforeStore()
That method contains the code that should be executed just before the object is stored in the DB. |
void |
DoTaskOnComeBackFromSubEditor()
This method will be called when you come back to the main Editor from a sub Editor. |
void |
DoTaskOnStartEditor(XPHashtable _htFormData)
That method contains the code that should be executed just after the object has been initialized when the new editor is started. |
int |
GetCreatorClassID()
Returns the creatorClassID. |
int |
GetCreatorID()
Returns the creatorID. |
int |
GetFolderID()
Returns the Folder ID in which the Object will be saved. |
java.lang.String |
GetName()
Returns the Class name. |
int |
GetPMode()
Returns the nPMode. |
int |
GetPortletSize()
Returns the Portlet's visual size. |
int |
GetPortletType()
|
java.lang.String |
GetProviderCLSID()
|
IPTWebService |
GetWebService()
|
boolean |
IsForCommunity()
|
boolean |
IsMandatory()
|
boolean |
IsTemplate()
|
void |
PreStorePSubModels()
|
void |
RegisterPPage(java.lang.String strDPName)
This method is used to register a new PPluginDP with this WebService main model. |
void |
RegisterPSubModel(java.lang.String strPluginModelStorageName)
This method is used to register a new submodel with this WebService main model. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
void |
SetEditedObject(IPTGadget ptPortlet)
Reset the portlet object we are editing to this new one. |
void |
SetMemberVariablesFromQS(XPHashtable _htFormData)
Helper method for the StartEditor method. |
void |
SetPMode(int nPMode)
Sets the nPMode. |
void |
UpdatePages()
|
void |
UpdatePSubModels()
|
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, Finish, ForceSaveInFolder, GetClassID, GetFolderName, GetIsSysAdmin, GetMigrationStatus, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession, Init, InitIsSysAdminFlag, InitPTObject, IsDescriptionDisabled, IsMigrationApproved, SaveMigrationStatus, SetDisableDescription, SetEditorToReadOnly, SetMigrationStatus, StartKeywords, StartLocNamesList, StartMigrationHistory, StartObjectProp, StartSecurityList, StoreObject |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskOnChangePage, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, GetRedirectAfterFinish, GetUserHasAccessToEditor, SetCloseOnDone, SetDeleteOnCancel, SetEditorType, SetEnableApplyButton, SetHideLeftNav, SetPageStatus, SetUserHasAccessToEditor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.plumtree.portaluiinfrastructure.editor.IObjEditorModelRO |
---|
GetClassID, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession |
Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO |
---|
GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String HTTPGP_CLSID
public static final java.lang.String IGP_CLSID
public static final java.lang.String PORTLET_CLSID
public static final java.lang.String PORTLET_TEMPLATE_CLSID
public static final int PMODE_INVALID
public static final int PMODE_PRECREATE
public static final int PMODE_CREATE
public static final int PMODE_CREATE_FROMTEMPLATE
public static final int PMODE_EDIT
public static final java.lang.String QS_SHOWFREEFORM
public static final java.lang.String QS_SHOWHEADERFOOTER
public static final int WSID_COMMUNITYLINKS
protected XPArrayList m_xalPPluginDPs
protected XPArrayList m_xalPSubModels
Constructor Detail |
---|
public PortletModel()
Method Detail |
---|
public void AddSendToOthersButtonToHelpBanner(PTConstruct myHelpBanner)
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void DetermineWhetherToDisplayMandatoryColumnOnSecurityPage()
IRepostModel.SavePage(String, XPHashtable)
public void DoTaskBeforeStore()
EditorModel
DoTaskBeforeStore
in class EditorModel
EditorModel.DoTaskBeforeStore()
public void DoTaskOnStartEditor(XPHashtable _htFormData)
EditorModel
DoTaskOnStartEditor
in class EditorModel
com.plumtree.uiinfrastructure.editor.EditorModel#DoTaskOnStartEditor(_htFormData)
public boolean IsForCommunity()
IsForCommunity
in interface IPortletModelRO
public int GetFolderID()
ObjEditorModel
GetFolderID
in interface IPortletModelRO
GetFolderID
in class ObjEditorModel
public int GetPortletType()
GetPortletType
in interface IPortletModelRO
public java.lang.String GetName()
EditorModel
GetName
in interface IMVCObject
GetName
in class EditorModel
IMVCObject.GetName()
public int GetPMode()
GetPMode
in interface IPortletModelRO
public int GetPortletSize()
IPortletModelRO
GetPortletSize
in interface IPortletModelRO
public java.lang.String GetProviderCLSID()
GetProviderCLSID
in interface IPortletModelRO
public IPTWebService GetWebService()
GetWebService
in interface IPortletModelRO
public boolean IsTemplate()
IsTemplate
in interface IPortletModelRO
public boolean IsMandatory()
IsMandatory
in interface IPortletModelRO
public void PreStorePSubModels()
public void RegisterPPage(java.lang.String strDPName)
public void RegisterPSubModel(java.lang.String strPluginModelStorageName)
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
ObjEditorModel
SavePage
in interface IRepostModel
SavePage
in class ObjEditorModel
IRepostModel.SavePage(String, XPHashtable)
public void SetEditedObject(IPTGadget ptPortlet)
public void SetMemberVariablesFromQS(XPHashtable _htFormData)
ObjEditorModel
SetMemberVariablesFromQS
in class ObjEditorModel
ObjEditorModel.SetMemberVariablesFromQS(XPHashtable)
public void SetPMode(int nPMode)
nPMode
- The nPMode to setpublic void UpdatePSubModels()
public void UpdatePages()
public IPTGadget CreateObjectFromTemplate(int nObjectIDOfTemplate)
public int GetCreatorClassID()
public int GetCreatorID()
public void DoTaskOnComeBackFromSubEditor()
DoTaskOnComeBackFromSubEditor
in class ObjEditorModel
protected boolean CheckEditorAccess(XPHashtable _htFormData)
CheckEditorAccess
in class ObjEditorModel
_htFormData
- Form data
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |