|
|||||||||
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.smartsort.SmartSortEditorModel
public class SmartSortEditorModel
Field Summary | |
---|---|
static int |
DESTINATION_FOLDER_GROUP
|
protected XPArrayList |
m_ActionData
|
java.lang.String |
m_lastTreeSpaceId
Localized String: No |
int |
m_nAction
|
protected IPTTaxonomist |
m_ptTaxonomist
|
protected boolean[] |
m_sortAscending
|
protected int |
m_taxonomistSettings
|
static int |
SOURCE_FOLDER_GROUP
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
static int |
TOTAL_GROUPS
|
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 | |
---|---|
SmartSortEditorModel()
Creates a new SmartSortEditorModel object. |
Method Summary | |
---|---|
protected void |
AddFolder(int group,
int id)
|
protected void |
ClearActionData()
|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
protected void |
DeleteFolder(int group,
int id)
|
void |
DoTaskAfterStore()
That method contains the code that should be executed just after the object has been stored in the DB. |
void |
DoTaskBeforeStore()
That method contains the code that should be executed just before the object is 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)
That method contains the code that should be executed just after the object has been initialized when the new editor is started. |
protected void |
ExtractActionData_FoldersFromCheckboxes(java.lang.Object o)
|
protected void |
ExtractActionData_FoldersFromDestinationTree()
|
protected void |
ExtractActionData_FoldersFromSourceTree()
|
protected void |
ExtractActionData_OptionsFromCheckboxes(XPHashtable _htFormData)
|
protected boolean |
ExtractOneBoolElement(java.lang.Object o)
|
protected java.lang.String |
ExtractOneElement(java.lang.Object o)
|
protected int |
GetAction()
|
protected static int |
GetActionGroup(int action)
|
java.lang.String |
GetEmptyListInstructions()
|
java.lang.String |
GetEmptyListMainMessage()
|
java.lang.Object[] |
GetFolderIDs(int group)
|
java.lang.String |
GetLastTreeSpaceId()
|
java.lang.String |
GetName()
Returns the Class name. |
boolean |
GetSetting(int n)
|
boolean |
GetSortAscending(int group)
|
java.lang.String |
makeListOfDestinationFoldersAlreadyShown()
|
java.lang.String |
makeListOfSourceFoldersAlreadyShown()
|
void |
OnAdd(int group)
|
void |
OnDel(int group)
|
void |
OnSort(int group)
|
static int |
RemoveGroupFromAction(int action)
|
protected int |
SaveMainPage(XPHashtable _htFormData)
|
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
protected void |
SetAllSettings()
|
protected void |
SetSettings(int setting,
boolean newval)
|
protected int |
validate()
|
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
CheckEditorAccess, CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, 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, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, 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, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int SOURCE_FOLDER_GROUP
public static final int DESTINATION_FOLDER_GROUP
public static final int TOTAL_GROUPS
public java.lang.String m_lastTreeSpaceId
public int m_nAction
protected IPTTaxonomist m_ptTaxonomist
protected XPArrayList m_ActionData
protected boolean[] m_sortAscending
protected int m_taxonomistSettings
Constructor Detail |
---|
public SmartSortEditorModel()
Method Detail |
---|
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void DoTaskAfterStore()
EditorModel
DoTaskAfterStore
in class EditorModel
public java.lang.String makeListOfDestinationFoldersAlreadyShown()
makeListOfDestinationFoldersAlreadyShown
in interface ISmartSortEditorModelRO
public java.lang.String makeListOfSourceFoldersAlreadyShown()
makeListOfSourceFoldersAlreadyShown
in interface ISmartSortEditorModelRO
public void DoTaskBeforeStore()
EditorModel
DoTaskBeforeStore
in class EditorModel
public void DoTaskOnComeBackFromSubEditor()
ObjEditorModel
DoTaskOnComeBackFromSubEditor
in class ObjEditorModel
public void DoTaskOnStartEditor(XPHashtable _htFormData)
EditorModel
DoTaskOnStartEditor
in class EditorModel
public java.lang.String GetEmptyListInstructions()
GetEmptyListInstructions
in interface ISmartSortEditorModelRO
public java.lang.String GetEmptyListMainMessage()
GetEmptyListMainMessage
in interface ISmartSortEditorModelRO
public java.lang.Object[] GetFolderIDs(int group)
GetFolderIDs
in interface ISmartSortEditorModelRO
public java.lang.String GetLastTreeSpaceId()
GetLastTreeSpaceId
in interface ISmartSortEditorModelRO
public java.lang.String GetName()
EditorModel
GetName
in interface IMVCObject
GetName
in class EditorModel
public boolean GetSetting(int n)
GetSetting
in interface ISmartSortEditorModelRO
n
-
public boolean GetSortAscending(int group)
GetSortAscending
in interface ISmartSortEditorModelRO
group
-
public void OnAdd(int group)
public void OnDel(int group)
group
- public void OnSort(int group)
group
- public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class ObjEditorModel
_sPageName
- _htFormData
-
protected void AddFolder(int group, int id)
group
- id
- protected void ClearActionData()
protected void DeleteFolder(int group, int id)
group
- id
- protected void ExtractActionData_FoldersFromCheckboxes(java.lang.Object o)
o
- protected void ExtractActionData_FoldersFromDestinationTree()
protected void ExtractActionData_FoldersFromSourceTree()
protected void ExtractActionData_OptionsFromCheckboxes(XPHashtable _htFormData)
_htFormData
- protected boolean ExtractOneBoolElement(java.lang.Object o)
o
-
protected java.lang.String ExtractOneElement(java.lang.Object o)
o
-
protected int GetAction()
protected static int GetActionGroup(int action)
public static int RemoveGroupFromAction(int action)
protected int SaveMainPage(XPHashtable _htFormData)
_htFormData
-
protected void SetAllSettings()
protected void SetSettings(int setting, boolean newval)
setting
- newval
- protected int validate()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |