|
|||||||||
| 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 IManagedObjectCreate in class EditorModelIManagedObject.Create()public void DoTaskAfterStore()
DoTaskAfterStore in class EditorModelpublic void DoTaskBeforeStore()
DoTaskBeforeStore in class EditorModelpublic void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor in class EditorModel_htFormData - public int GetCommunityID()
GetCommunityID in interface IHeaderAndFooterModelcom.plumtree.portalpages.browsing.editors.community.IHeaderAndBannerModel#GetCommunityID()public java.lang.String GetData(java.lang.String name)
GetData in interface IHeaderAndFooterModelname -
public boolean GetFooterHasCommunityPrefs()
GetFooterHasCommunityPrefs in interface IHeaderAndFooterModelpublic int GetFooterID()
GetFooterID in interface IHeaderAndFooterModelpublic java.lang.String GetFooterName()
GetFooterName in interface IHeaderAndFooterModelcom.plumtree.portalpages.browsing.editors.community.IHeaderAndBannerModel#GetFooterName()public boolean GetHeaderHasCommunityPrefs()
GetHeaderHasCommunityPrefs in interface IHeaderAndFooterModelpublic int GetHeaderID()
GetHeaderID in interface IHeaderAndFooterModelpublic java.lang.String GetHeaderName()
GetHeaderName in interface IHeaderAndFooterModelcom.plumtree.portalpages.browsing.editors.community.IHeaderAndBannerModel#GetHeaderName()public boolean IsTemplateSelector()
IHeaderAndFooterModel
IsTemplateSelector in interface IHeaderAndFooterModelIHeaderAndFooterModel.IsTemplateSelector()public java.lang.String GetName()
GetName in interface IMVCObjectGetName in class EditorModelpublic void RefreshItemFromFooterTree(XPHashtable _htFormData)
RefreshItemFromFooterTree in interface IHeaderAndFooterModelpublic void RefreshItemFromHeaderTree(XPHashtable _htFormData)
RefreshItemFromHeaderTree in interface IHeaderAndFooterModel_htFormData -
public int SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
SavePage in interface IRepostModelSavePage in class ObjEditorModel_sPageName - _htFormData -
public void SetDefaultHeaderOrFooter(boolean bHeader)
SetDefaultHeaderOrFooter in interface IHeaderAndFooterModelbHeader - public void SetUseForceSubPortal(boolean bForce)
SetUseForceSubPortal in interface IHeaderAndFooterModelpublic boolean UsingFooterFromCommunityTemplate()
UsingFooterFromCommunityTemplate in interface IHeaderAndFooterModelpublic boolean UsingHeaderFromCommunityTemplate()
UsingHeaderFromCommunityTemplate in interface IHeaderAndFooterModelpublic int GetCommunityFolderID()
GetCommunityFolderID in interface IHeaderAndFooterModel
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||