|
|||||||||
| 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.savedsearch.SavedSearchModel
public class SavedSearchModel
| Field Summary | |
|---|---|
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 |
|---|
isReadAccessAvailable, m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bEnableCancelButton, 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, 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.portaluiinfrastructure.editor.IObjEditorModelRO |
|---|
GetClassID, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession |
| 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 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 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 ISavedSearchModelROpublic void BuildSavedSearchFromForm(XPHashtable form)
form - public IFilterIteratorRO GetFilterIterator()
GetFilterIterator in interface IFilterIteratorContainerROpublic java.lang.Object Create()
EditorModel
Create in interface IManagedObjectCreate in class EditorModelIManagedObject.Create()public void DoTaskBeforeStore()
DoTaskBeforeStore in class EditorModelpublic void DoTaskAfterStore()
EditorModel
DoTaskAfterStore in class EditorModelpublic 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 EditorModelpublic void StartSelectPTObject()
public IPTSearchResponse GenerateResponse()
GenerateResponse in interface ISavedSearchModelROpublic XPArrayList GetAdmFolderIDs()
GetAdmFolderIDs in interface ISavedSearchModelROpublic XPArrayList GetCatFolderIDs()
GetCatFolderIDs in interface ISavedSearchModelRO
public XPArrayList GetSelectedFolderIDs(int _type,
boolean _accessible)
GetSelectedFolderIDs in interface ISavedSearchModelROpublic java.lang.String GetLastAdmTreeSpaceId()
GetLastAdmTreeSpaceId in interface ISavedSearchModelROpublic java.lang.String GetLastCatTreeSpaceId()
GetLastCatTreeSpaceId in interface ISavedSearchModelROpublic int GetRepositories()
ISavedSearchModelRO
GetRepositories in interface ISavedSearchModelROpublic int GetKDTypes()
ISavedSearchModelRO
GetKDTypes in interface ISavedSearchModelROpublic int GetMaxResults()
GetMaxResults in interface ISavedSearchModelROpublic java.lang.String GetName()
GetName in interface IMVCObjectGetName in class EditorModelpublic java.lang.String GetPortletFormat()
GetPortletFormat in interface ISavedSearchModelROpublic java.lang.String GetSelectedOrderProp()
GetSelectedOrderProp in interface ISavedSearchModelROpublic boolean GetSortAscending()
GetSortAscending in interface ISavedSearchModelROpublic boolean IsAscending()
IsAscending in interface ISavedSearchModelROpublic boolean IsClassIDChecked(java.lang.String strID)
IsClassIDChecked in interface ISavedSearchModelROstrID -
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 IRepostModelSavePage in class ObjEditorModel_sPageName - _htFormData -
public boolean ShouldRegenerate()
ShouldRegenerate in interface ISavedSearchModelROpublic 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 table
protected 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 ISavedSearchModelROpublic java.lang.Object[][] GetDisplayFieldsInfo()
GetDisplayFieldsInfo in interface ISavedSearchModelROpublic int[] GetDisplayFields()
GetDisplayFields in interface ISavedSearchModelROpublic boolean IsCollabInstalled()
IsCollabInstalled in interface ISavedSearchModelROpublic boolean IsContentInstalled()
IsContentInstalled in interface ISavedSearchModelROpublic boolean GetApplyRecursive()
GetApplyRecursive in interface ISavedSearchModelRO
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||