|
|||||||||
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.community.CommunityEditorModel
public class CommunityEditorModel
Field Summary | |
---|---|
static int |
COMMUNITYEDITOR_GADGETTITLEBARS_PREFFALSE
|
static int |
COMMUNITYEDITOR_GADGETTITLEBARS_PREFTRUE
|
static int |
COMMUNITYEDITOR_GADGETTITLEBARS_SERVERFALSE
|
static int |
LIST_KEY_FOOTER
List Key: Footer |
static int |
LIST_KEY_HEADER
List Key: Header |
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 | |
---|---|
CommunityEditorModel()
|
Method Summary | |
---|---|
boolean |
ABOJobIDToDisplay()
This method returns whether or not there is a job ID to display. |
void |
ApplySecurityChangesUsingABO(boolean bPropagateAllACLs)
Apply the subportal profile to the users in the folder later, using ABO. |
void |
Cancel()
If editor was canceled, remove the temp stored community object & folder. |
void |
CommunityTempStore()
Temporarily store the community object and folder into the unclassified folder. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DeleteCommGroupsObjects(int[] arnObjToDelete)
|
void |
DeleteCommPortletObjects(int[] arnObjToDelete)
|
void |
DeleteCommSubcomms(int[] arnObjToDelete)
|
boolean |
DisplayTitleBarColumn()
|
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 |
DoTaskOnChangePage(java.lang.String _sNewSpaceName,
java.lang.String _sNewPageName)
This method can be implemented by classes extending this one. |
void |
DoTaskOnComeBackFromSubEditor()
This method will be called when you come back to the main Editor from a sub Editor. |
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. |
void |
Finish()
That method is called by the EditorFinishControl. |
void |
FlipTitleBar(XPHashtable _htFormData)
Flip the title bar check box. |
int |
GetABOJobID()
This method returns the job ID for a security change job. |
int |
GetCommunityFolderID()
Returns the community folder id. |
int |
GetCommunityID()
|
java.lang.String |
GetCreatedJobName()
Retrieves the name of the job created by ABO. |
IPTAccessList |
GetCurrentFolderACL()
|
java.lang.String |
GetData(java.lang.String name)
|
java.lang.String |
GetFolderNameForCreatedJobs()
Retrieves the name of the folder that ABO created the job in. |
boolean |
GetFooterHasCommunityPrefs()
|
int |
GetFooterID()
|
java.lang.String |
GetFooterName()
|
boolean |
GetHeaderHasCommunityPrefs()
|
int |
GetHeaderID()
|
java.lang.String |
GetHeaderName()
|
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String |
GetNoTitleBarPref()
Turn m_mapPortletsWithNoTitleBars into a pref that we can store. |
int |
GetPageCount()
|
int |
GetPageID(int nPageIndex)
|
PageData |
GetPageModelAt(int nPageIndex)
Get the page model at the given index. |
java.lang.String |
GetPageName(int nPageIndex)
|
PTSortedArrayWrapper |
GetPortletPreferencesList(int iPageID)
|
Redirect |
GetRedirectAfterFinish()
If this is a subcommunity editor and hence a popup, close it when editor is done. |
boolean |
IsAdminModifiedOnFolder(IPTAccessList _ptOldACL)
|
boolean |
IsCommunityEditor()
If this is the community editor, then we link to the community prefs page; if it's a community page but we're not in the community editor, then we link to the user-gadget-community prefs page. |
boolean |
IsSiteMapDisabled()
Is Site Map Disabled |
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)
Get the header and footer selected from the tree. |
void |
ReversePortletPrefsSort(XPHashtable _htFormData)
Reverses the sort order of one of the pages of gadget prefs. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
protected void |
SavePortletPrefsPage(XPHashtable _htFormData)
Saves the data on the gadget prefs page. |
void |
SetDefaultHeaderOrFooter(boolean bHeader)
Is this one used?? |
void |
SetupHeaderAndFooter(int nCommTempHeaderID,
int nCommTempFooterID)
Helper method to start the Selected Header or Footer List. |
void |
SetUseForceSubPortal(boolean bForce)
Does nothing in the community editor. |
void |
StartCommGroupSelectPTObject()
Helper method to start the Select PTObject List. |
void |
StartCommPortletSelectPTObject()
Helper method to start the Select PTObject List. |
void |
StartSubCommunitySelectPTObject()
Helper method to start the Select PTObject List. |
boolean |
UsingFooterFromCommunityTemplate()
Returns true if the footer was set in the community template. |
boolean |
UsingHeaderFromCommunityTemplate()
Returns true if the header was set in the community template. |
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
CheckEditorAccess, CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, 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 |
---|
CleanupAllData, CleanupTempData, 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 |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int LIST_KEY_HEADER
public static final int LIST_KEY_FOOTER
public static final int COMMUNITYEDITOR_GADGETTITLEBARS_SERVERFALSE
public static final int COMMUNITYEDITOR_GADGETTITLEBARS_PREFFALSE
public static final int COMMUNITYEDITOR_GADGETTITLEBARS_PREFTRUE
Constructor Detail |
---|
public CommunityEditorModel()
Method Detail |
---|
public void Cancel()
Cancel
in class EditorModel
EditorModel.Cancel()
public void CommunityTempStore()
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void DeleteCommGroupsObjects(int[] arnObjToDelete)
arnObjToDelete
- public void DeleteCommPortletObjects(int[] arnObjToDelete)
arnObjToDelete
- public void DeleteCommSubcomms(int[] arnObjToDelete)
arnObjToDelete
- public boolean DisplayTitleBarColumn()
DisplayTitleBarColumn
in interface IPortletPreferencesModelRO
IPortletPreferencesModelRO.DisplayTitleBarColumn()
public void DoTaskAfterStore()
DoTaskAfterStore
in class EditorModel
public void DoTaskBeforeStore()
DoTaskBeforeStore
in class EditorModel
XPException
public void Finish()
ObjEditorModel
Finish
in interface IRepostModel
Finish
in class ObjEditorModel
public void DoTaskOnChangePage(java.lang.String _sNewSpaceName, java.lang.String _sNewPageName)
EditorModel
DoTaskOnChangePage
in class EditorModel
public void DoTaskOnComeBackFromSubEditor()
DoTaskOnComeBackFromSubEditor
in class ObjEditorModel
public void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor
in class EditorModel
_htFormData
-
XPException
public void SetUseForceSubPortal(boolean bForce)
SetUseForceSubPortal
in interface IHeaderAndFooterModel
IHeaderAndFooterModel.SetUseForceSubPortal(boolean)
public void FlipTitleBar(XPHashtable _htFormData)
public int GetCommunityFolderID()
ICommunityEditorModelRO
GetCommunityFolderID
in interface ICommunityEditorModelRO
GetCommunityFolderID
in interface IHeaderAndFooterModel
ICommunityEditorModelRO.GetCommunityFolderID()
public int GetCommunityID()
GetCommunityID
in interface IHeaderAndFooterModel
GetCommunityID
in interface IPortletPreferencesModelRO
IPortletPreferencesModelRO.GetCommunityID()
public java.lang.String GetData(java.lang.String name)
GetData
in interface IHeaderAndFooterModel
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 IsTemplateSelector()
IHeaderAndFooterModel
IsTemplateSelector
in interface IHeaderAndFooterModel
IHeaderAndFooterModel.IsTemplateSelector()
public PTSortedArrayWrapper GetPortletPreferencesList(int iPageID)
GetPortletPreferencesList
in interface IPortletPreferencesModelRO
com.plumtree.portalpages.browsing.editors.community.IPortletPreferencesModelRO#GetPortletPreferencesList()
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 java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public java.lang.String GetNoTitleBarPref()
public int GetPageCount()
GetPageCount
in interface IPortletPreferencesModelRO
IPortletPreferencesModelRO.GetPageCount()
public int GetPageID(int nPageIndex)
GetPageID
in interface IPortletPreferencesModelRO
IPortletPreferencesModelRO.GetPageID(int)
public PageData GetPageModelAt(int nPageIndex)
ICommunityEditorModelRO
GetPageModelAt
in interface ICommunityEditorModelRO
ICommunityEditorModelRO.GetPageModelAt(int)
public java.lang.String GetPageName(int nPageIndex)
GetPageName
in interface IPortletPreferencesModelRO
IPortletPreferencesModelRO.GetPageName(int)
public Redirect GetRedirectAfterFinish()
GetRedirectAfterFinish
in interface IRepostModel
GetRedirectAfterFinish
in class EditorModel
IRepostModel.GetRedirectAfterFinish()
public boolean IsCommunityEditor()
IPortletPreferencesModelRO
IsCommunityEditor
in interface IPortletPreferencesModelRO
IPortletPreferencesModelRO#IsCommunityEditor()
public boolean IsSiteMapDisabled()
ICommunityEditorModelRO
IsSiteMapDisabled
in interface ICommunityEditorModelRO
public void RefreshItemFromFooterTree(XPHashtable _htFormData)
RefreshItemFromFooterTree
in interface IHeaderAndFooterModel
public void RefreshItemFromHeaderTree(XPHashtable _htFormData)
RefreshItemFromHeaderTree
in interface IHeaderAndFooterModel
com.plumtree.portalpages.browsing.editors.community.IHeaderAndBannerModel#RefreshItemFromHeaderTree(XPHashtable)
public void ReversePortletPrefsSort(XPHashtable _htFormData)
public boolean ABOJobIDToDisplay()
IFolderSecurityABOModelRO
ABOJobIDToDisplay
in interface IFolderSecurityABOModelRO
public int GetABOJobID()
IFolderSecurityABOModelRO
GetABOJobID
in interface IFolderSecurityABOModelRO
public java.lang.String GetCreatedJobName()
IFolderSecurityABOModelRO
GetCreatedJobName
in interface IFolderSecurityABOModelRO
public java.lang.String GetFolderNameForCreatedJobs()
IFolderSecurityABOModelRO
GetFolderNameForCreatedJobs
in interface IFolderSecurityABOModelRO
public IPTAccessList GetCurrentFolderACL()
public boolean IsAdminModifiedOnFolder(IPTAccessList _ptOldACL)
_ptOldACL
- the IPTAccessList from before the ACLs were changed
public void ApplySecurityChangesUsingABO(boolean bPropagateAllACLs)
bPropagateAllACLs
- - If true propagate all acls to child objects
and subfolders, if false propagate only admin acls.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
com.plumtree.portalpages.browsing.editors.community.IHeaderAndBannerModel#SetDefaultHeaderOrFooter(boolean)
public void SetupHeaderAndFooter(int nCommTempHeaderID, int nCommTempFooterID)
public void StartCommGroupSelectPTObject()
public void StartCommPortletSelectPTObject()
public void StartSubCommunitySelectPTObject()
public boolean UsingFooterFromCommunityTemplate()
UsingFooterFromCommunityTemplate
in interface IHeaderAndFooterModel
public boolean UsingHeaderFromCommunityTemplate()
UsingHeaderFromCommunityTemplate
in interface IHeaderAndFooterModel
protected void SavePortletPrefsPage(XPHashtable _htFormData)
_htFormData
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |