|
|||||||||
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.folder.FolderEditorModel
public class FolderEditorModel
Field Summary | |
---|---|
static int |
CANCEL_PROPAGATE_ACL
|
static int |
NO_PROPAGATE_ACL
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
static int |
UNKNOWN_PROPAGATE_ACL
|
static int |
YES_PROPAGATE_ACL
|
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 |
---|
m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
Constructor Summary | |
---|---|
FolderEditorModel()
|
Method Summary | |
---|---|
boolean |
CheckEditorAccessAndStart(XPHashtable _htFormData)
Implements some actions to perform on start. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
boolean |
DoNotShowObject(int nIndex)
|
void |
DoTaskAfterStore()
That method contains the code that should be executed just after the object has been 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)
Initializes the property type member variable with the one from IPTProperty in Edit mode and the default value in create mode. |
int |
GetACLFlag()
|
int |
GetBrowsingOrderBy()
Returns the propID to order by when BROWSING |
IASQueryResult |
GetBrowsingOrderByProperties()
Returns a query result of the card properties to sort by when BROWSING |
int |
GetClassificationFiltersOperator()
returns the value of the Folder's ClassificationFiltersOperator Setting |
java.lang.String |
GetDataSourceName(int nDataSourceID)
returns the name of a given datasource. |
int |
GetDefaultDataSource()
returns the name of the Default DataSource for this folder. |
int |
GetEditingOrderBy()
Returns the propID to order by when EDITING |
IASQueryResult |
GetFilteredDataSources()
returns a list of data sources that support Card Submission |
java.lang.Object |
GetFolderSetting(int nValueName)
returns the value of a particular Folder Setting |
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String |
GetParentDefaultDataSourceNameRecursive()
returns the name of the Default DataSource for this folder. |
java.lang.String |
GetPrimaryDesc()
returns primary name |
java.lang.String |
GetPrimaryName()
returns primary name |
Redirect |
GetRedirectAfterFinish()
Returns the Redirect object (this is were we need to go at the end of the Editor). |
java.lang.String |
GetSpaceID()
Get the SpaceID of the parent Activity Space |
IASQueryResult |
GetSubFolders()
Returns a query result of the sub-folders |
void |
Init(AActivitySpace parent)
Inits the Model with the IPTSession. |
boolean |
IsRootFolder()
returns whether this is the root folder |
protected void |
SaveDataSourcePage(XPHashtable _htFormData)
|
protected void |
SaveMainPage(XPHashtable _htFormData)
Saves the data on the Main page. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
void |
SetACLFlag(int _ACLFlag)
|
void |
StartSelectPTObject()
Helper method to start the Select PTObject List. |
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
CheckEditorAccess, CheckFolderType, DisableSecurity, Finish, ForceSaveInFolder, GetClassID, GetFolderID, GetFolderName, GetIsSysAdmin, GetMigrationStatus, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession, 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, DoTaskBeforeStore, DoTaskOnChangePage, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, 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, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int YES_PROPAGATE_ACL
public static final int NO_PROPAGATE_ACL
public static final int CANCEL_PROPAGATE_ACL
public static final int UNKNOWN_PROPAGATE_ACL
Constructor Detail |
---|
public FolderEditorModel()
Method Detail |
---|
public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
CheckEditorAccessAndStart
in class ObjEditorModel
_htFormData
-
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public boolean DoNotShowObject(int nIndex)
IObjectModelRO.DoNotShowObject(int)
public void DoTaskAfterStore()
EditorModel
DoTaskAfterStore
in class EditorModel
public void DoTaskOnComeBackFromSubEditor()
DoTaskOnComeBackFromSubEditor
in class ObjEditorModel
public void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor
in class EditorModel
_htFormData
- public int GetBrowsingOrderBy()
IFolderEditorModelRO
GetBrowsingOrderBy
in interface IFolderEditorModelRO
IFolderEditorModelRO.GetBrowsingOrderBy()
public IASQueryResult GetBrowsingOrderByProperties()
IFolderEditorModelRO
GetBrowsingOrderByProperties
in interface IFolderEditorModelRO
IFolderEditorModelRO.GetBrowsingOrderByProperties()
public int GetClassificationFiltersOperator()
IFolderEditorModelRO
GetClassificationFiltersOperator
in interface IFolderEditorModelRO
IFolderEditorModelRO.GetClassificationFiltersOperator()
public java.lang.String GetDataSourceName(int nDataSourceID)
IFolderEditorModelRO
GetDataSourceName
in interface IFolderEditorModelRO
com.plumtree.portalpages.browsing.editors.folder.IFolderEditorModelRO#GetDataSourceName()
public int GetDefaultDataSource()
IFolderEditorModelRO
GetDefaultDataSource
in interface IFolderEditorModelRO
IFolderEditorModelRO.GetDefaultDataSource()
public int GetEditingOrderBy()
IFolderEditorModelRO
GetEditingOrderBy
in interface IFolderEditorModelRO
IFolderEditorModelRO.GetBrowsingOrderBy()
public IASQueryResult GetFilteredDataSources()
IFolderEditorModelRO
GetFilteredDataSources
in interface IFolderEditorModelRO
IFolderEditorModelRO.GetFilteredDataSources()
public java.lang.Object GetFolderSetting(int nValueName)
IFolderEditorModelRO
GetFolderSetting
in interface IFolderEditorModelRO
com.plumtree.portalpages.browsing.editors.folder.IFolderEditorModelRO#GetFolderSetting()
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public java.lang.String GetParentDefaultDataSourceNameRecursive()
IFolderEditorModelRO
GetParentDefaultDataSourceNameRecursive
in interface IFolderEditorModelRO
IFolderEditorModelRO.GetParentDefaultDataSourceNameRecursive()
public java.lang.String GetSpaceID()
public IASQueryResult GetSubFolders()
IFolderEditorModelRO
GetSubFolders
in interface IFolderEditorModelRO
IFolderEditorModelRO.GetSubFolders()
public void Init(AActivitySpace parent)
ObjEditorModel
Init
in interface IModel
Init
in class ObjEditorModel
parent
- the parent Activity Spacecom.plumtree.xpshared.activityspace.IModel#Init()
public boolean IsRootFolder()
IFolderEditorModelRO
IsRootFolder
in interface IFolderEditorModelRO
IFolderEditorModelRO.IsRootFolder()
public java.lang.String GetPrimaryName()
IFolderEditorModelRO
GetPrimaryName
in interface IFolderEditorModelRO
IFolderEditorModelRO.GetPrimaryName()
public java.lang.String GetPrimaryDesc()
IFolderEditorModelRO
GetPrimaryDesc
in interface IFolderEditorModelRO
IFolderEditorModelRO.GetPrimaryDesc()
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class ObjEditorModel
_sPageName
- _htFormData
-
public void StartSelectPTObject()
protected void SaveDataSourcePage(XPHashtable _htFormData)
_htFormData
- protected void SaveMainPage(XPHashtable _htFormData)
_htFormData
- public Redirect GetRedirectAfterFinish()
EditorModel
GetRedirectAfterFinish
in interface IRepostModel
GetRedirectAfterFinish
in class EditorModel
IRepostModel.GetRedirectAfterFinish()
public int GetACLFlag()
public void SetACLFlag(int _ACLFlag)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |