|
|||||||||
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.browsing.editors.sitemap.SiteMapFolderModel
public class SiteMapFolderModel
File: SiteMapFolderModel.java -----------------------------
Field Summary | |
---|---|
static int |
EDIT_TYPE_NAME_DESC
Constant representing the name and description page |
static int |
EDIT_TYPE_SECURITY
Constant representing the security page |
static int |
NO_PARENT
Constant indicating no parent admin folder |
static java.lang.String |
QS_LOCALIZEDNAME
Query string argument indicating to show localized names page only |
static java.lang.String |
QS_NAMEORSECURITY
The edit type query string argument |
static java.lang.String |
QS_PARENTFOLDERID
The parent folder id query string argment |
static java.lang.String |
QS_STARTEDINSITEMAP
Query string argument indicating the starting context for the editor |
static java.lang.String |
STR_MVC_CLASS_NAME
Unique identifier for the class |
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 | |
---|---|
SiteMapFolderModel()
|
Method Summary | |
---|---|
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. |
void |
DeleteFolderOnCancel()
This function cleans up the folder created at the outset if the user cancels the editor |
void |
DoInitialStore()
This function saves the site map link folder at the outset, at least temporarily, so we can add links to it. |
void |
DoTaskOnStartEditor(XPHashtable _htFormData)
Initializes member variables when the editor starts |
boolean |
FolderHasParent()
|
java.lang.String |
GetName()
Returns the Class name. |
Redirect |
GetRedirectAfterFinish()
Returns Redirect object where the Framework should redirect to on Finish. |
boolean |
GetStartedInSiteMap()
Returns true if the editor was started in the site map |
void |
InitializeSiteMapPlugIn()
Helper method to initialize the plug-in section for navigation link creation |
protected void |
InitPTObject(XPHashtable _htFormData)
Initializes the object being created or edited with this editor |
protected int |
SaveEditLinkPage(XPHashtable _htFormData)
Saves the values from the edit link page into member variables. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, DoTaskOnComeBackFromSubEditor, Finish, ForceSaveInFolder, GetClassID, GetFolderID, GetFolderName, GetIsSysAdmin, GetMigrationStatus, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession, Init, InitIsSysAdminFlag, IsDescriptionDisabled, IsMigrationApproved, SaveMigrationStatus, SetDisableDescription, SetEditorToReadOnly, SetMemberVariablesFromQS, SetMigrationStatus, StartKeywords, StartLocNamesList, StartMigrationHistory, StartObjectProp, StartSecurityList, StoreObject |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskBeforeStore, DoTaskOnChangePage, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, 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 QS_PARENTFOLDERID
public static final java.lang.String QS_NAMEORSECURITY
public static final java.lang.String QS_STARTEDINSITEMAP
public static final java.lang.String QS_LOCALIZEDNAME
public static final int EDIT_TYPE_NAME_DESC
public static final int EDIT_TYPE_SECURITY
public static final int NO_PARENT
Constructor Detail |
---|
public SiteMapFolderModel()
Method Detail |
---|
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void DeleteFolderOnCancel()
public void DoInitialStore()
public void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor
in class EditorModel
_htFormData
- public void InitializeSiteMapPlugIn()
public boolean FolderHasParent()
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public Redirect GetRedirectAfterFinish()
GetRedirectAfterFinish
in interface IRepostModel
GetRedirectAfterFinish
in class EditorModel
public boolean GetStartedInSiteMap()
ISiteMapFolderRO
GetStartedInSiteMap
in interface ISiteMapFolderRO
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class ObjEditorModel
_sPageName
- _htFormData
-
protected boolean CheckEditorAccess(XPHashtable _htFormData)
CheckEditorAccess
in class ObjEditorModel
_htFormData
- Form data
protected void InitPTObject(XPHashtable _htFormData)
InitPTObject
in class ObjEditorModel
protected int SaveEditLinkPage(XPHashtable _htFormData)
_htFormData
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |