com.plumtree.portalpages.common.search
Class FolderSelectorModel
java.lang.Object
com.plumtree.uiinfrastructure.editor.EditorHelperModel
com.plumtree.portalpages.common.search.FolderSelectorModel
- All Implemented Interfaces:
- IFolderSelectorModel, IFolderSelectorModelRO, IManagedObject, IModel, IModelRO, IMVCObject
public class FolderSelectorModel
- extends EditorHelperModel
- implements IFolderSelectorModelRO, IFolderSelectorModel
- Author:
- CraigS, based on MikeS code
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STR_MVC_CLASS_NAME
public static final java.lang.String STR_MVC_CLASS_NAME
- See Also:
- Constant Field Values
FolderSelectorModel
public FolderSelectorModel()
AddFoldersFromTreeSelections
public void AddFoldersFromTreeSelections(boolean isAdmin,
ITreeModel tree)
- Specified by:
AddFoldersFromTreeSelections
in interface IFolderSelectorModel
- Parameters:
isAdmin
- tree
-
Create
public java.lang.Object Create()
- Description copied from class:
EditorHelperModel
- This method is used by the ASManager to return new instances of managed
objects.
- Specified by:
Create
in interface IManagedObject
- Specified by:
Create
in class EditorHelperModel
- Returns:
DeleteFolders
public void DeleteFolders(boolean isAdmin,
int[] folderIDs)
- Specified by:
DeleteFolders
in interface IFolderSelectorModel
- Parameters:
isAdmin
- folderIDs
-
GetIncludeSubfolders
public boolean GetIncludeSubfolders()
- Specified by:
GetIncludeSubfolders
in interface IFolderSelectorModelRO
- Returns:
GetLastTreeSpaceId
public java.lang.String GetLastTreeSpaceId(boolean isAdmin)
- Specified by:
GetLastTreeSpaceId
in interface IFolderSelectorModelRO
- Parameters:
isAdmin
-
- Returns:
GetMultiSelectMode
public boolean GetMultiSelectMode()
- Specified by:
GetMultiSelectMode
in interface IFolderSelectorModelRO
- Returns:
GetName
public java.lang.String GetName()
- Description copied from class:
EditorHelperModel
- Returns the Class name.
- Specified by:
GetName
in interface IMVCObject
- Specified by:
GetName
in class EditorHelperModel
- Returns:
GetSelections
public IXPCollection GetSelections(boolean isAdmin)
- Specified by:
GetSelections
in interface IFolderSelectorModelRO
- Parameters:
isAdmin
-
- Returns:
InitializePlugIn
public void InitializePlugIn(boolean multiSelectMode)
- Parameters:
multiSelectMode
-
SaveSection
public int SaveSection(XPHashtable formData)
- Description copied from class:
EditorHelperModel
- Code to save the section represented by this Model.
- Specified by:
SaveSection
in class EditorHelperModel
- Parameters:
formData
-
- Returns:
InitFromFormData
public void InitFromFormData(XPHashtable formData)
GetFolderSelections
public java.lang.String GetFolderSelections(boolean isAdmin)
- Description copied from interface:
IFolderSelectorModelRO
- Returns a comma-separated list of classid,objectid pairs used
to initialize the tree view.
- Specified by:
GetFolderSelections
in interface IFolderSelectorModelRO
- Parameters:
isAdmin
- True, return admin folder selections.
- Returns: