|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.plumtree.uiinfrastructure.editor.EditorModel
com.plumtree.portaluiinfrastructure.editor.ObjEditorModel
com.plumtree.portalpages.admin.editors.communitytemplate.CommunityTemplateModel
public class CommunityTemplateModel
Field Summary | |
---|---|
static int |
HEADERFOOTER_ID_FORCE_SUBPORTAL
|
static int |
LIST_KEY_FOOTER
List Key: Footer |
static int |
LIST_KEY_HEADER
List Key: Header |
static int |
POSTTOSELF_ACTION_RETURN_FROM_TREE
Repost Action: From Tree |
static java.lang.String |
STR_MVC_CLASS_NAME
Object Name |
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 | |
---|---|
CommunityTemplateModel()
|
Method Summary | |
---|---|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskAfterStore()
Code executed after the object is stored. |
void |
DoTaskBeforeStore()
Initializes IPTProperty with the property type member variable just before we store the object in the DB. |
void |
DoTaskOnStartEditor(XPHashtable _htFormData)
Initializes the property type member variable with the one from IPTProperty in Edit mode and the default value in create mode. |
int |
GetCommunityFolderID()
|
int |
GetCommunityID()
Not a community return -1. |
java.lang.String |
GetData(java.lang.String name)
|
boolean |
GetFooterHasCommunityPrefs()
|
int |
GetFooterID()
|
java.lang.String |
GetFooterName()
|
boolean |
GetHeaderHasCommunityPrefs()
|
int |
GetHeaderID()
|
java.lang.String |
GetHeaderName()
|
java.lang.String |
GetName()
Returns the Class name. |
boolean |
IsTemplateSelector()
Check to see if the force subportal header/banner checkbox should be enabled. |
void |
RefreshItemFromFooterTree(XPHashtable _htFormData)
This method gets the selected items from the tree. |
void |
RefreshItemFromHeaderTree(XPHashtable _htFormData)
|
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
void |
SetDefaultHeaderOrFooter(boolean bHeader)
|
void |
SetUseForceSubPortal(boolean bForce)
|
boolean |
UsingFooterFromCommunityTemplate()
This is a function used in the community editor to determine whether the footer was set in the community template, in which case we disable some of the buttons on the footer selection page. |
boolean |
UsingHeaderFromCommunityTemplate()
This is a function used in the community editor to determine whether the header was set in the community template, in which case we disable some of the buttons on the header selection page. |
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
CheckEditorAccess, CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, DoTaskOnComeBackFromSubEditor, Finish, ForceSaveInFolder, GetClassID, GetFolderID, GetFolderName, GetIsSysAdmin, GetMigrationStatus, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession, Init, InitIsSysAdminFlag, InitPTObject, 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, 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.uiinfrastructure.editor.IEditorModelRO |
---|
GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int POSTTOSELF_ACTION_RETURN_FROM_TREE
public static final int LIST_KEY_HEADER
public static final int LIST_KEY_FOOTER
public static final int HEADERFOOTER_ID_FORCE_SUBPORTAL
Constructor Detail |
---|
public CommunityTemplateModel()
Method Detail |
---|
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void DoTaskAfterStore()
DoTaskAfterStore
in class EditorModel
public void DoTaskBeforeStore()
DoTaskBeforeStore
in class EditorModel
public void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor
in class EditorModel
_htFormData
- public int GetCommunityID()
GetCommunityID
in interface IHeaderAndFooterModel
com.plumtree.portalpages.browsing.editors.community.IHeaderAndBannerModel#GetCommunityID()
public java.lang.String GetData(java.lang.String name)
GetData
in interface IHeaderAndFooterModel
name
-
public boolean GetFooterHasCommunityPrefs()
GetFooterHasCommunityPrefs
in interface IHeaderAndFooterModel
public int GetFooterID()
GetFooterID
in interface IHeaderAndFooterModel
public java.lang.String GetFooterName()
GetFooterName
in interface IHeaderAndFooterModel
com.plumtree.portalpages.browsing.editors.community.IHeaderAndBannerModel#GetFooterName()
public boolean GetHeaderHasCommunityPrefs()
GetHeaderHasCommunityPrefs
in interface IHeaderAndFooterModel
public int GetHeaderID()
GetHeaderID
in interface IHeaderAndFooterModel
public java.lang.String GetHeaderName()
GetHeaderName
in interface IHeaderAndFooterModel
com.plumtree.portalpages.browsing.editors.community.IHeaderAndBannerModel#GetHeaderName()
public boolean IsTemplateSelector()
IHeaderAndFooterModel
IsTemplateSelector
in interface IHeaderAndFooterModel
IHeaderAndFooterModel.IsTemplateSelector()
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public void RefreshItemFromFooterTree(XPHashtable _htFormData)
RefreshItemFromFooterTree
in interface IHeaderAndFooterModel
public void RefreshItemFromHeaderTree(XPHashtable _htFormData)
RefreshItemFromHeaderTree
in interface IHeaderAndFooterModel
_htFormData
- public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class ObjEditorModel
_sPageName
- _htFormData
-
public void SetDefaultHeaderOrFooter(boolean bHeader)
SetDefaultHeaderOrFooter
in interface IHeaderAndFooterModel
bHeader
- public void SetUseForceSubPortal(boolean bForce)
SetUseForceSubPortal
in interface IHeaderAndFooterModel
public boolean UsingFooterFromCommunityTemplate()
UsingFooterFromCommunityTemplate
in interface IHeaderAndFooterModel
public boolean UsingHeaderFromCommunityTemplate()
UsingHeaderFromCommunityTemplate
in interface IHeaderAndFooterModel
public int GetCommunityFolderID()
GetCommunityFolderID
in interface IHeaderAndFooterModel
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |