|
|||||||||
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.admin.editors.savedsearch.SavedSearchModel
public class SavedSearchModel
Field Summary | |
---|---|
static int[] |
ARR_ROOT_FOLDERID
|
static java.lang.String |
CLASSID_KDDOCUMENT
|
static java.lang.String |
CLASSID_KDFOLDER
|
static int |
DESTINATION_FOLDER_GROUP
|
static int |
INDEX_DISPLAYPROPID
|
static int |
INDEX_DISPLAYPROPNAME
|
static int |
INDEX_DISPLAYPROPTYPE
|
static int |
KDTYPES_DOCUMENTS
|
static int |
KDTYPES_FOLDERS
|
protected XPArrayList |
m_ActionData
|
java.lang.String |
m_lastAdmTreeSpaceId
|
java.lang.String |
m_lastCatTreeSpaceId
|
int |
m_nAction
|
protected boolean |
m_sortAscending
|
static int |
REPOSITORY_SETTINGS_ALLDOCUMENTS
|
static int |
REPOSITORY_SETTINGS_ALLFOLDERS
|
static int |
REPOSITORY_SETTINGS_SUBFOLDERS
|
static int |
REPOSITORY_TYPES_ADMIN
|
static int |
REPOSITORY_TYPES_COLLAB
|
static int |
REPOSITORY_TYPES_CONTENT
|
static int |
REPOSITORY_TYPES_KD
|
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 | |
---|---|
SavedSearchModel()
|
Method Summary | |
---|---|
protected void |
AddFolder(int intFolderType,
int id)
Helper function for adding a folder to the list of folders |
boolean |
AreClassIDsShown()
Deprecated. ClassIDs are always shown. |
void |
BuildSavedSearchFromForm(XPHashtable form)
|
protected void |
ClearActionData()
Clears the m_ActionData member variable |
protected void |
ClearDeleteData(int intSize)
Clears and recreates the hashtable member variable m_DeleteData |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
protected void |
DeleteFolder(java.lang.String strCheckboxName,
int id)
Deletes a folder |
void |
DoTaskAfterStore()
That method contains the code that should be executed just after the object has been stored in the DB. |
void |
DoTaskBeforeStore()
Code executed before the object is stored. |
void |
DoTaskOnChangePage(java.lang.String _sNewSpace,
java.lang.String _sNewPage)
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)
Code executed when the Editor is starting. |
protected void |
ExtractActionData_FoldersFromCheckboxes(java.lang.Object oCatalogPost,
java.lang.Object oAdminPost)
|
protected void |
ExtractActionData_FoldersFromTree(int intFolderType)
|
protected java.lang.String |
ExtractOneElement(java.lang.Object o)
|
IPTSearchResponse |
GenerateResponse()
|
protected int |
GetAction()
|
XPArrayList |
GetAdmFolderIDs()
|
boolean |
GetApplyRecursive()
Deprecated. @see GetRepositories() and REPOSITORY_SETTINGS_SUBFOLDERS |
XPArrayList |
GetCatFolderIDs()
|
int[] |
GetDisplayFields()
|
java.lang.Object[][] |
GetDisplayFieldsInfo()
|
IFilterIteratorRO |
GetFilterIterator()
Returns the current filter iterator. |
int |
GetKDTypes()
Returns a bitmask of the enabled knowledge directory types. |
java.lang.String |
GetLastAdmTreeSpaceId()
|
java.lang.String |
GetLastCatTreeSpaceId()
|
int |
GetMaxResults()
|
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String |
GetPortletFormat()
Deprecated. the portlet format & presentation style are now set via the portlet editor |
IASQueryResult |
GetProperties()
|
int |
GetRepositories()
Returns a bitmask of the enabled repositories. |
XPArrayList |
GetSelectedFolderIDs(int _type,
boolean _accessible)
|
java.lang.String |
GetSelectedOrderProp()
|
boolean |
GetSortAscending()
|
boolean |
IsAscending()
|
boolean |
IsClassIDChecked(java.lang.String strID)
|
boolean |
IsCollabInstalled()
|
boolean |
IsContentInstalled()
|
int |
LoadResultParameters(XPHashtable _htFormData)
|
void |
OnAdd(int intFolderType)
Add an element to the list of folders |
void |
OnCreatePortlet()
|
void |
OnDel()
Delete an element from the list of folders |
void |
OnSort()
|
protected 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. |
boolean |
ShouldRegenerate()
Deprecated. we don't regenerate portlets anymore. instead, via a 'create portlet link', a portlet is created and added to an exp list. this method will always return false. |
void |
StartSelectPTObject()
Helper method to start the Select PTObject List. |
boolean |
SubscriptionEnabled()
|
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, 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.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 SOURCE_FOLDER_GROUP
public static final int DESTINATION_FOLDER_GROUP
public static final int TOTAL_GROUPS
public java.lang.String m_lastAdmTreeSpaceId
public java.lang.String m_lastCatTreeSpaceId
public int m_nAction
protected XPArrayList m_ActionData
protected boolean m_sortAscending
public static final int KDTYPES_FOLDERS
public static final int KDTYPES_DOCUMENTS
public static final int REPOSITORY_TYPES_KD
public static final int REPOSITORY_TYPES_ADMIN
public static final int REPOSITORY_TYPES_COLLAB
public static final int REPOSITORY_TYPES_CONTENT
public static final int REPOSITORY_SETTINGS_ALLFOLDERS
public static final int REPOSITORY_SETTINGS_ALLDOCUMENTS
public static final int REPOSITORY_SETTINGS_SUBFOLDERS
public static final java.lang.String CLASSID_KDFOLDER
public static final java.lang.String CLASSID_KDDOCUMENT
public static final int[] ARR_ROOT_FOLDERID
public static final int INDEX_DISPLAYPROPID
public static final int INDEX_DISPLAYPROPTYPE
public static final int INDEX_DISPLAYPROPNAME
Constructor Detail |
---|
public SavedSearchModel()
Method Detail |
---|
public boolean AreClassIDsShown()
AreClassIDsShown
in interface ISavedSearchModelRO
public void BuildSavedSearchFromForm(XPHashtable form)
form
- public IFilterIteratorRO GetFilterIterator()
GetFilterIterator
in interface IFilterIteratorContainerRO
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void DoTaskBeforeStore()
DoTaskBeforeStore
in class EditorModel
public void DoTaskAfterStore()
EditorModel
DoTaskAfterStore
in class EditorModel
public void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor
in class EditorModel
_htFormData
- public void DoTaskOnComeBackFromSubEditor()
ObjEditorModel
DoTaskOnComeBackFromSubEditor
in class ObjEditorModel
public void DoTaskOnChangePage(java.lang.String _sNewSpace, java.lang.String _sNewPage)
EditorModel
DoTaskOnChangePage
in class EditorModel
public void StartSelectPTObject()
public IPTSearchResponse GenerateResponse()
GenerateResponse
in interface ISavedSearchModelRO
public XPArrayList GetAdmFolderIDs()
GetAdmFolderIDs
in interface ISavedSearchModelRO
public XPArrayList GetCatFolderIDs()
GetCatFolderIDs
in interface ISavedSearchModelRO
public XPArrayList GetSelectedFolderIDs(int _type, boolean _accessible)
GetSelectedFolderIDs
in interface ISavedSearchModelRO
public java.lang.String GetLastAdmTreeSpaceId()
GetLastAdmTreeSpaceId
in interface ISavedSearchModelRO
public java.lang.String GetLastCatTreeSpaceId()
GetLastCatTreeSpaceId
in interface ISavedSearchModelRO
public int GetRepositories()
ISavedSearchModelRO
GetRepositories
in interface ISavedSearchModelRO
public int GetKDTypes()
ISavedSearchModelRO
GetKDTypes
in interface ISavedSearchModelRO
public int GetMaxResults()
GetMaxResults
in interface ISavedSearchModelRO
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public java.lang.String GetPortletFormat()
GetPortletFormat
in interface ISavedSearchModelRO
public java.lang.String GetSelectedOrderProp()
GetSelectedOrderProp
in interface ISavedSearchModelRO
public boolean GetSortAscending()
GetSortAscending
in interface ISavedSearchModelRO
public boolean IsAscending()
IsAscending
in interface ISavedSearchModelRO
public boolean IsClassIDChecked(java.lang.String strID)
IsClassIDChecked
in interface ISavedSearchModelRO
strID
-
public int LoadResultParameters(XPHashtable _htFormData)
_htFormData
- public void OnAdd(int intFolderType)
public void OnDel()
public void OnSort()
public void OnCreatePortlet()
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class ObjEditorModel
_sPageName
- _htFormData
-
public boolean ShouldRegenerate()
ShouldRegenerate
in interface ISavedSearchModelRO
public boolean SubscriptionEnabled()
SubscriptionEnabled
in interface ISavedSearchModelRO
protected void AddFolder(int intFolderType, int id)
intFolderType
- - The type of folder, Catalog or Adminid
- The ID of the folderprotected void ClearActionData()
protected void ClearDeleteData(int intSize)
intSize
- - The size of the new hash tableprotected void DeleteFolder(java.lang.String strCheckboxName, int id)
id
- protected void ExtractActionData_FoldersFromCheckboxes(java.lang.Object oCatalogPost, java.lang.Object oAdminPost)
o
- protected void ExtractActionData_FoldersFromTree(int intFolderType)
protected java.lang.String ExtractOneElement(java.lang.Object o)
o
-
protected int GetAction()
protected int RemoveGroupFromAction(int action)
action
-
protected int SaveMainPage(XPHashtable _htFormData)
_htFormData
-
public IASQueryResult GetProperties()
GetProperties
in interface ISavedSearchModelRO
public java.lang.Object[][] GetDisplayFieldsInfo()
GetDisplayFieldsInfo
in interface ISavedSearchModelRO
public int[] GetDisplayFields()
GetDisplayFields
in interface ISavedSearchModelRO
public boolean IsCollabInstalled()
IsCollabInstalled
in interface ISavedSearchModelRO
public boolean IsContentInstalled()
IsContentInstalled
in interface ISavedSearchModelRO
public boolean GetApplyRecursive()
GetApplyRecursive
in interface ISavedSearchModelRO
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |