| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.portalpages.admin.objmgr.ObjMgrModel
public class ObjMgrModel
| Field Summary | |
|---|---|
 IFolderViewHelper | 
m_folderViewHelper
Stores common class used to display one folder  | 
static int | 
MAX_DISPLAYED_USERS
 | 
static int | 
MAX_NAME_LENGTH
 | 
static int | 
MAX_PRE_EXPANDED_OBJECTS
 | 
static int | 
NUM_SUB_SUB_FOLDERS
 | 
static java.lang.String | 
STR_MVC_CLASS_NAME
Name of this object  | 
| Constructor Summary | |
|---|---|
ObjMgrModel()
 | 
|
| Method Summary | |
|---|---|
 void | 
ABODeleteFolders(int[] nFolders)
This method creates a job to delete folders using Asynchronous Browser Operations (ABO).  | 
 void | 
ABODeletePageTemplates(XPHashtable xpmSelectedObjects)
 | 
 boolean | 
ABOJobsToDisplay()
This method returns whether or not there are any job IDs to display.  | 
 boolean | 
CheckAuthSourceForDelete()
This method checks if any users or groups came from an auth source other than plumtree.  | 
 boolean | 
CheckFoldersForDelete()
This method checks whether or not the user is trying to delete any folders.  | 
protected  boolean | 
CheckIsCommunityFolder(int nFolderID)
 | 
 boolean | 
CheckPageTemplatesForDelete()
This method checks whether or not the user is trying to delete any page templates.  | 
 void | 
CleanupAllData()
This method is called when an ActivitySpace is removed from the cache.  | 
 void | 
CleanupTempData()
This method is called at the end of every HTTP request by the Interpreter.  | 
 void | 
ClearAllSelectedObjects()
This method clears all of the selected items.  | 
 void | 
CopyFolders(int nTargetFolderID,
            int[] nFolders)
This method copies folders to a new folder.  | 
 void | 
CopyObjectsBetweenFolders(int nFolderID,
                          XPHashtable xpmObjects)
This method copies objects between folders.  | 
 java.lang.Object | 
Create()
This method is used by the ASManager to return new instances of managed objects.  | 
 void | 
CreateFolder(java.lang.String name,
             java.lang.String description)
 | 
 void | 
DeleteFolders(int[] nFolders)
This method deletes folders.  | 
 void | 
DeleteObjects(XPHashtable xpmObjects,
              boolean bABODeleteObjects)
This method deletes objects.  | 
 boolean | 
DoNotShowObject(int nIndex)
Get whether to show this object or not.  | 
 void | 
EnableObjects(XPHashtable xpmObjects,
              java.lang.String sComment,
              boolean bEnable)
This method enables and disables users and web services.  | 
protected  void | 
ExpandAllClasses()
This method is used to set the expanded object types index and string to include all currently visible classes.  | 
 void | 
ExpandAllObjects(boolean bExpand)
This method is used to expand and collapse all objects in an admin folder.  | 
 void | 
ExpandObjectType(int nClassID,
                 boolean bExpand)
This method expands an object type.  | 
 void | 
Finish()
Implement some code to execute when the user clicks on "Finish".  | 
 java.lang.String | 
GetABOJobFolderName()
This method returns the folder where the ABO jobs were created.  | 
 int[] | 
GetABOJobIDs()
This method returns the job IDs for the last ABO deletes, and then clears them.  | 
 java.lang.String[] | 
GetABOJobNames(int[] nABOJobIDs)
This method returns the job names for the supplied ABO job IDs.  | 
 boolean | 
GetAreAllObjectsExpanded()
This method is used to determine whether to display the 'expand all' button or the 'collapse all' button.  | 
 IASQueryResult | 
GetBreadCrumbPath()
This method returns a 2d query result with folder level, id, and name.  | 
 int | 
GetCommunityID(int nFolderID)
This method returns the community object ID associated with the folder.  | 
 int | 
GetCurrentFolderID()
Get the id of the current folder.  | 
 boolean | 
GetCurrentFolderIsCommunity()
This method returns whether or not the current folder is a community.  | 
 boolean | 
GetCurrentFolderIsSubportal()
This method returns whether or not the current folder is a subportal.  | 
 int | 
GetCurrentFolderLevel()
Get the level of the current folder  | 
 java.lang.String | 
GetCurrentFolderName()
Get the name of the current folder.  | 
 int | 
GetCurrentLowerObjectCount()
This method returns the current lower count for which objects to display.  | 
 int | 
GetCurrentlyOpeningObjectType()
This method returns the object type that is in the process of being expanded, if any.  | 
 int | 
GetCurrentUpperObjectCount()
This method returns the current upper count for which objects to display.  | 
 boolean | 
GetDisplayPaginationHiddenInputs()
Get whether or not to display the hidden inputs needed by the PaginationControl.  | 
 boolean | 
GetDisplaySortHiddenInputs()
Get whether or not to display the hidden inputs needed by the SortControl.  | 
 int[] | 
GetExpandedObjectTypesArray()
This method returns an int array of the currently expanded object types.  | 
 java.lang.String | 
GetExpandedObjectTypesString()
This method returns the string of currently expanded object types suitable for using in an URL.  | 
 int | 
GetFirstFolderIndex()
Get the index of the first folder to display.  | 
 int | 
GetFirstFolderIndex(int[] nFolders)
This method checks the array of folder IDs until it finds a non-community folder.  | 
 int | 
GetFolderColumnCount()
Get the number of columns to display.  | 
 int | 
GetFolderIDFromTree()
This method gets the selected folder from the tree sub space.  | 
 IASQueryResult | 
GetFolderObjectCount()
Get a list of object names and the number of those objects in the current folder.  | 
 IASQueryResult | 
GetFolderQueryResult()
Get an IPTQueryResult containing all of the subfolders of the current folder.  | 
 java.lang.String | 
GetFolderTreeID()
This method returns the space ID of the folder select tree.  | 
 IFolderViewHelper | 
GetFolderViewHelper()
Retrieves the folder view helper.  | 
 boolean | 
GetHasDisplayedObjects(int nClassID)
This method checks whether or not the current page has any objects that will be displayed for the requested classID.  | 
 int | 
GetHeaderCount()
Gets the count of the object headers.  | 
 boolean | 
GetHeaderHasCheckbox()
Returns whether the header has a checkbox or not.  | 
 HTMLTableRow | 
GetHeaderRow()
Returns the header row  | 
 java.lang.String | 
GetHeaderText(int nHeaderIndex)
Gets the text of the header at the given index.  | 
 boolean | 
GetIsCollapsable()
Gets whether or not the object banner should be collapsable.  | 
 boolean | 
GetIsFolderSelected(int nFolderID)
This method returns whether or not the requested folder is currently selected.  | 
 boolean | 
GetIsObjectSelected(int nObjectID)
This method returns whether or not the requested object ID is currently selected.  | 
 int | 
GetLastFolderIndex()
Get the index of the first folder to display.  | 
static java.lang.String | 
GetLocalizedErrorString(int nErrorCode,
                        AActivitySpace m_asOwner)
TODO: Move this to a central location This method is used to get a localized version of a server error code.  | 
static java.lang.String | 
GetLocalizedErrorString(java.lang.Throwable e,
                        AActivitySpace m_asOwner)
TODO: Move this to a central location This method is used to get a localized version of a server exception.  | 
 java.lang.String | 
GetName()
Return the name of the MVC object.  | 
 int | 
GetNumObjects()
This method returns the total number of objects available for display.  | 
 int | 
GetNumSubSubFoldersToDisplay()
Set the number of sub-subfolders to display after the next page..  | 
 java.lang.String | 
GetObjectBannerTitle()
Gets the name of the current folder.  | 
 int | 
GetObjectColumnCount()
Gets the number of columns of objects  | 
 int | 
GetObjectCount()
Gets the count of the objects in the query result.  | 
 java.lang.Object | 
GetObjectFields(int nIndex,
                int ptPropID)
Gets the fields from the query result.  | 
 int | 
GetObjectSubType(int nIndex)
Get the subtype of the object at the given index.  | 
 int | 
GetObjectType()
Get the Object Class ID of the type of objects we are currently viewing.  | 
 boolean | 
GetObjectViewIsCollapsed()
Get whether the object view is collapsed.  | 
 int | 
GetPaginationSize()
This is the number of objects displayed per page.  | 
 int | 
GetParentFolderID()
Get the ID of the parent folder of the current folder.  | 
 java.lang.Object[] | 
GetParentFolderIDs()
Get an Object array containing the Integer IDs of all the parent folders (the path) of the current folder.  | 
 java.lang.String | 
GetPath()
Get the path to the current folder concatenated with '\'.  | 
 int | 
GetPreviousFolderID()
This method returns the folder ID that we were previously at.  | 
 Redirect | 
GetRedirectAfterFinish()
Returns the Redirect object (this is were we need to go at the end of the Editor).  | 
 int | 
GetRoughDisplayedObjectCount(int nClassID)
This method checks approximately how many objects of the requested classID are displayed on the page.  | 
 boolean | 
GetShowCheckbox()
Returns whether the folders should have checkboxes next to them.  | 
 boolean | 
GetShowFolderBanner()
Returns whether the subfolder banner should be shown.  | 
 boolean | 
GetShowPagination()
Get whether these objects should use pagination or not.  | 
 boolean | 
GetSortable()
Get whether these objects are sortable or not.  | 
 int | 
GetSortDirection()
Get the sort direction for the currently sorted header column.  | 
 int | 
GetSortedHeader()
Get the column id of the header that is currently sorted (starting with 0).  | 
 java.lang.String | 
GetSpaceID()
Get the SpaceID of the parent Activity Space  | 
 int | 
GetSubFolderCount()
Get the number of folders at all levels in the hierachy  | 
 int | 
GetSubFolderCount(int nLevel)
Get the number of sub folders in the current folder at the specified level.  | 
 boolean | 
HasAccessToCreateMenu()
JF- Helper method to determine if the current user should see the create object menu.  | 
 void | 
Init(AActivitySpace parent)
This method initializes the model.  | 
 boolean | 
InRootFolder()
Returns true if the current folder is the root folder.  | 
protected  boolean | 
IsSuppressedClass(int nObjectClassID)
This method allows us to suppress certain object types.  | 
 void | 
MigrateFolders(int[] nFolderIDs,
               java.lang.String sComment)
This method adds folders into the migration queue.  | 
 void | 
MigrateObjects(XPHashtable xpmObjects,
               java.lang.String sComment)
This method adds objects into the migration queue.  | 
 void | 
MoveFolders(int nTargetFolderID,
            int[] nFolders)
This method moves folders to a new folder.  | 
 boolean | 
MoveNext()
This method moves to the next object type to display.  | 
 void | 
MoveObjectsBetweenFolders(int nFolderID,
                          java.lang.Object[][] nObjects)
This method moves objects between folders.  | 
 void | 
OpenSubFolder(int nID)
Open the folder with the id ID.  | 
 void | 
RaiseError(java.lang.String strError)
 | 
 int | 
SavePage(java.lang.String _sPageName,
         XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument.  | 
 void | 
SetFirstItemIndex(int nFirstItemIndex)
Set the index of the first folder to display on a page.  | 
 void | 
SetFoldersForDeleteCheck(boolean bFolders)
This method is used to set whether or not folders will be deleted.  | 
 void | 
SetLastItemIndex(int nLastItemIndex)
Set the index of the first folder to display on a page.  | 
 void | 
SetObjectsForDeleteCheck(int[] nObjectIDPairs)
This method is used to set the list of folder IDs (temporary) to be checked for delete.  | 
 void | 
SetObjMgrSettings(int nFolderID,
                  int[] nExpandedObjectTypes)
This method sets the basic settings on the object manager model.  | 
 void | 
SetPagination(int nPaginationID,
              int nPaginationLowerBound,
              int nPaginationUpperBound)
This is used by the PaginationControl to set which objects should be displayed.  | 
 void | 
SetSelectedObjects(int nClassID,
                   int[] nSelectedObjectIDs)
This method sets the selected items in a Class ID  | 
 void | 
SetSort(int nSortID,
        int nSortHeader,
        int nSortDirection)
Set the sort to use.  | 
 boolean | 
ShowObjectBanner()
Get whether to show the banner or not.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int MAX_NAME_LENGTH
public static final int NUM_SUB_SUB_FOLDERS
public static final int MAX_DISPLAYED_USERS
public static final int MAX_PRE_EXPANDED_OBJECTS
public IFolderViewHelper m_folderViewHelper
| Constructor Detail | 
|---|
public ObjMgrModel()
| Method Detail | 
|---|
public int GetFirstFolderIndex(int[] nFolders)
int[] - nFolders the folder IDs to check
public void ABODeleteFolders(int[] nFolders)
int[] - the folder IDs to deletepublic void ABODeletePageTemplates(XPHashtable xpmSelectedObjects)
XPHashtable - a map of Integer Class IDs to int[] arrays of object IDs.public boolean ABOJobsToDisplay()
IObjMgrModelRO
ABOJobsToDisplay in interface IObjMgrModelROcom.plumtree.portalpages.admin.objmgr.IObjMgrModelRO#ABOJobIDsToDisplay()public boolean CheckAuthSourceForDelete()
IObjMgrModelRO
CheckAuthSourceForDelete in interface IObjMgrDeleteROCheckAuthSourceForDelete in interface IObjMgrModelROIObjMgrModelRO.CheckAuthSourceForDelete()public boolean CheckPageTemplatesForDelete()
IObjMgrModelRO
CheckPageTemplatesForDelete in interface IObjMgrDeleteROCheckPageTemplatesForDelete in interface IObjMgrModelROIObjMgrModelRO.CheckPageTemplatesForDelete()public boolean CheckFoldersForDelete()
IObjMgrModelRO
CheckFoldersForDelete in interface IObjMgrDeleteROCheckFoldersForDelete in interface IObjMgrModelROIObjMgrModelRO.CheckFoldersForDelete()public void CleanupTempData()
IModel
CleanupTempData in interface IModelIModel.CleanupTempData()public void CleanupAllData()
IModel
CleanupAllData in interface IModelIModel.CleanupAllData()
public void CopyFolders(int nTargetFolderID,
                        int[] nFolders)
int - nTargetFolderID the ID of the folder to copy the folders to.int[] - nFolders an array of folder IDs.
public void CopyObjectsBetweenFolders(int nFolderID,
                                      XPHashtable xpmObjects)
int - nFolderID the ID of the folder to copy the objects to.XPHashtable - a map of Integer Class IDs to int[] arrays of object IDs.public java.lang.Object Create()
IManagedObject
Create in interface IManagedObjectIManagedObject.Create()
public void CreateFolder(java.lang.String name,
                         java.lang.String description)
public void DeleteFolders(int[] nFolders)
int[] - the folder IDs to delete
public void DeleteObjects(XPHashtable xpmObjects,
                          boolean bABODeleteObjects)
XPHashtable - a map of Integer Class IDs to int[] arrays of object IDs.boolean - true implies ABO delete has been selected (so page templates
 will not be deleted through this method).public boolean DoNotShowObject(int nIndex)
IObjectModelRO
DoNotShowObject in interface IObjectModelROIObjectModelRO.DoNotShowObject(int)
public void EnableObjects(XPHashtable xpmObjects,
                          java.lang.String sComment,
                          boolean bEnable)
public void ExpandObjectType(int nClassID,
                             boolean bExpand)
int - the class ID to expandboolean - true implies expand, false implies collapsepublic int GetCurrentlyOpeningObjectType()
public void Finish()
IRepostModel
Finish in interface IRepostModelIRepostModel.Finish()public java.lang.String[] GetABOJobNames(int[] nABOJobIDs)
IObjMgrModelRO
GetABOJobNames in interface IObjMgrModelROcom.plumtree.portalpages.admin.objmgr.IObjMgrModelRO#GetABOJobNames()public int[] GetABOJobIDs()
IObjMgrModelRO
GetABOJobIDs in interface IObjMgrModelROIObjMgrModelRO.GetABOJobIDs()public java.lang.String GetABOJobFolderName()
IObjMgrModelRO
GetABOJobFolderName in interface IObjMgrModelROIObjMgrModelRO.GetABOJobFolderName()public int GetCommunityID(int nFolderID)
IObjMgrModelRO
GetCommunityID in interface IObjMgrModelROcom.plumtree.portalpages.admin.objmgr.IObjMgrModelRO#GetCommunityID()public int GetCurrentFolderID()
IFolderModelRO
GetCurrentFolderID in interface IFolderModelROIFolderModelRO.GetCurrentFolderID()public int GetPreviousFolderID()
GetPreviousFolderID in interface IObjMgrModelROpublic IASQueryResult GetBreadCrumbPath()
IObjMgrModelRO
GetBreadCrumbPath in interface IObjMgrModelROIObjMgrModelRO.GetBreadCrumbPath()public boolean GetCurrentFolderIsCommunity()
IObjMgrModelRO
GetCurrentFolderIsCommunity in interface IObjMgrModelROIObjMgrModelRO.GetCurrentFolderIsCommunity()public boolean GetCurrentFolderIsSubportal()
IObjMgrModelRO
GetCurrentFolderIsSubportal in interface IObjMgrModelROIObjMgrModelRO.GetCurrentFolderIsSubportal()public int GetCurrentFolderLevel()
IFolderModelRO
GetCurrentFolderLevel in interface IFolderModelROIFolderModelRO.GetCurrentFolderLevel()public java.lang.String GetCurrentFolderName()
IFolderModelRO
GetCurrentFolderName in interface IFolderModelROIFolderModelRO.GetCurrentFolderName()public int GetCurrentLowerObjectCount()
IPaginationModelRO
GetCurrentLowerObjectCount in interface IPaginationModelROcom.plumtree.portalpages.common.objects.IPaginationModelRO#GetCurrentLowerObjectIndex()public int GetCurrentUpperObjectCount()
IPaginationModelRO
GetCurrentUpperObjectCount in interface IPaginationModelROcom.plumtree.portalpages.common.objects.IPaginationModelRO#GetCurrentUpperObjectIndex()public boolean GetDisplayPaginationHiddenInputs()
IObjectModelRO
GetDisplayPaginationHiddenInputs in interface IObjectModelROIObjectModelRO.GetDisplayPaginationHiddenInputs()public boolean GetDisplaySortHiddenInputs()
IObjectModelRO
GetDisplaySortHiddenInputs in interface IObjectModelROIObjectModelRO.GetDisplaySortHiddenInputs()public int[] GetExpandedObjectTypesArray()
IObjMgrModelRO
GetExpandedObjectTypesArray in interface IObjMgrModelROIObjMgrModelRO.GetExpandedObjectTypesArray()public java.lang.String GetExpandedObjectTypesString()
IObjMgrModelRO
GetExpandedObjectTypesString in interface IObjMgrModelROIObjMgrModelRO.GetExpandedObjectTypesString()public boolean GetAreAllObjectsExpanded()
GetAreAllObjectsExpanded in interface IObjMgrModelROpublic int GetFirstFolderIndex()
IFolderModelRO
GetFirstFolderIndex in interface IFolderModelROIFolderModelRO.GetFirstFolderIndex()public int GetFolderColumnCount()
IFolderModelRO
GetFolderColumnCount in interface IFolderModelROIFolderModelRO.GetFolderColumnCount()public int GetFolderIDFromTree()
public IASQueryResult GetFolderObjectCount()
IFolderModelRO
GetFolderObjectCount in interface IFolderModelROIFolderModelRO.GetFolderObjectCount()public IASQueryResult GetFolderQueryResult()
IFolderModelRO
GetFolderQueryResult in interface IFolderModelROcom.plumtree.portalpages.common.folder.IFolderModelRO#GetFolderData()public java.lang.String GetFolderTreeID()
IObjMgrModelRO
GetFolderTreeID in interface IObjMgrModelROIObjMgrModelRO.GetFolderTreeID()public IFolderViewHelper GetFolderViewHelper()
IFolderModelRO
GetFolderViewHelper in interface IFolderModelROIFolderModelRO.GetFolderViewHelper()public boolean GetHasDisplayedObjects(int nClassID)
GetHasDisplayedObjects in interface IObjMgrModelROint - nClassID the class ID to check forpublic int GetRoughDisplayedObjectCount(int nClassID)
int - nClassID the class ID to check forpublic int GetHeaderCount()
IObjectModelRO
GetHeaderCount in interface IObjectModelROIObjectModelRO.GetHeaderCount()public boolean GetHeaderHasCheckbox()
IObjectModelRO
GetHeaderHasCheckbox in interface IObjectModelROIObjectModelRO.GetHeaderHasCheckbox()public HTMLTableRow GetHeaderRow()
IObjectModelRO
GetHeaderRow in interface IObjectModelROIObjectModelRO.GetHeaderRow()public java.lang.String GetHeaderText(int nHeaderIndex)
IObjectModelRO
GetHeaderText in interface IObjectModelROnHeaderIndex - nHeaderIndex
IObjectModelRO.GetHeaderText(int)public boolean GetIsCollapsable()
IObjectModelRO
GetIsCollapsable in interface IObjectModelROIObjectModelRO.GetIsCollapsable()public boolean GetIsFolderSelected(int nFolderID)
IFolderModelRO
GetIsFolderSelected in interface IFolderModelROIFolderModelRO.GetShowCheckbox()public boolean GetIsObjectSelected(int nObjectID)
IObjectModelRO
GetIsObjectSelected in interface IObjectModelROIObjectModelRO.GetIsObjectSelected(int)public int GetLastFolderIndex()
IFolderModelRO
GetLastFolderIndex in interface IFolderModelROIFolderModelRO.GetLastFolderIndex()public java.lang.String GetName()
IMVCObject
GetName in interface IMVCObjectcom.plumtree.xpshared.activityspace.IModel#GetName()public int GetNumObjects()
IPaginationModelRO
GetNumObjects in interface IPaginationModelROcom.plumtree.portalpages.common.objects.IPaginationModelRO#GetNumObjects()public int GetPaginationSize()
IPaginationModelRO
GetPaginationSize in interface IPaginationModelROpublic int GetNumSubSubFoldersToDisplay()
IFolderModelRO
GetNumSubSubFoldersToDisplay in interface IFolderModelROcom.plumtree.portalpages.common.folder.IFolderModelRO#GetNumSubSubFolders()public java.lang.String GetObjectBannerTitle()
IObjectModelRO
GetObjectBannerTitle in interface IObjectModelROcom.plumtree.portalpages.browsing.objects.IObjectModelRO#GetObjectBannerTitle()public int GetObjectColumnCount()
IObjectModelRO
GetObjectColumnCount in interface IObjectModelROcom.plumtree.portalpages.browsing.objects.IObjectModelRO#GetObjectColumnCount()public int GetObjectCount()
IObjectModelRO
GetObjectCount in interface IObjectModelROIObjectModelRO.GetObjectCount()
public java.lang.Object GetObjectFields(int nIndex,
                                        int ptPropID)
IObjectModelRO
GetObjectFields in interface IObjectModelROnIndex - nIndexptPropID - nPropID
IObjectModelRO.GetObjectFields(int,
      int)public int GetObjectType()
IObjectModelRO
GetObjectType in interface IObjectModelROIObjectModelRO.GetObjectType()public int GetObjectSubType(int nIndex)
IObjectModelRO
GetObjectSubType in interface IObjectModelROnIndex - index of the object in the list.
com.plumtree.portalpages.common.objects.IObjectModelRO#GetObjectSubType()public boolean GetObjectViewIsCollapsed()
IObjectModelRO
GetObjectViewIsCollapsed in interface IObjectModelROIObjectModelRO.GetObjectViewIsCollapsed()public int GetParentFolderID()
IFolderModelRO
GetParentFolderID in interface IFolderModelROIFolderModelRO.GetParentFolderID()public java.lang.Object[] GetParentFolderIDs()
IFolderModelRO
GetParentFolderIDs in interface IFolderModelROIFolderModelRO.GetParentFolderIDs()public java.lang.String GetPath()
IFolderModelRO
GetPath in interface IFolderModelROIFolderModelRO.GetPath()public Redirect GetRedirectAfterFinish()
IRepostModel
GetRedirectAfterFinish in interface IRepostModelIRepostModel.GetRedirectAfterFinish()public boolean GetShowCheckbox()
IFolderModelRO
GetShowCheckbox in interface IFolderModelROIFolderModelRO.GetShowCheckbox()public boolean GetShowFolderBanner()
IFolderModelRO
GetShowFolderBanner in interface IFolderModelROcom.plumtree.portalpages.common.folder.IFolderModelRO#GetShowBanner()public boolean GetShowPagination()
IObjectModelRO
GetShowPagination in interface IObjectModelROIObjectModelRO.GetShowPagination()public int GetSortDirection()
ISortModelRO
GetSortDirection in interface ISortModelROcom.plumtree.portalpages.common.objects.ISortModelRO#GetSortDirection()public boolean GetSortable()
IObjectModelRO
GetSortable in interface IObjectModelROIObjectModelRO.GetSortable()public int GetSortedHeader()
ISortModelRO
GetSortedHeader in interface ISortModelROcom.plumtree.portalpages.common.objects.ISortModelRO#GetSortedHeader()public java.lang.String GetSpaceID()
GetSpaceID in interface IObjectModelROpublic int GetSubFolderCount(int nLevel)
IFolderModelRO
GetSubFolderCount in interface IFolderModelROGet all subfolders in query at the appropriate level and above.public int GetSubFolderCount()
IFolderModelRO
GetSubFolderCount in interface IFolderModelROGet the number of folders at all levels in the current querypublic boolean HasAccessToCreateMenu()
HasAccessToCreateMenu in interface IObjMgrModelROHasAccessToCreateMenu()public boolean InRootFolder()
IFolderModelRO
InRootFolder in interface IFolderModelROIFolderModelRO.InRootFolder()public void Init(AActivitySpace parent)
IModel
Init in interface IModelparent - the parent Activity Spacecom.plumtree.xpshared.activityspace.IModel#Init()
public void MigrateFolders(int[] nFolderIDs,
                           java.lang.String sComment)
public void MigrateObjects(XPHashtable xpmObjects,
                           java.lang.String sComment)
public void MoveFolders(int nTargetFolderID,
                        int[] nFolders)
int - nTargetFolderID the ID of the folder to move the folders to.int[] - nFolders an array of folder IDs.public boolean MoveNext()
public void MoveObjectsBetweenFolders(int nFolderID,
                                      java.lang.Object[][] nObjects)
int - nFolderID the ID of the folder to move the objects to.Object[][] - nObjects an (2 x n) array of class IDs / Object IDspublic void OpenSubFolder(int nID)
IFolderModel
OpenSubFolder in interface IFolderModelThis is just here to satisfy the interface.  It should not get used because
 the obj mgr space does not use the opensubfoldercontrol.public void RaiseError(java.lang.String strError)
strError - 
public int SavePage(java.lang.String _sPageName,
                    XPHashtable _htFormData)
IRepostModel
SavePage in interface IRepostModelIRepostModel.SavePage(String, XPHashtable)public void SetFirstItemIndex(int nFirstItemIndex)
IFolderModel
SetFirstItemIndex in interface IFolderModelIFolderModel.SetFirstItemIndex(int)public void SetFoldersForDeleteCheck(boolean bFolders)
SetFoldersForDeleteCheck in interface IObjMgrDeleteROboolean - true implies folders will be deleted.public void SetLastItemIndex(int nLastItemIndex)
IFolderModel
SetLastItemIndex in interface IFolderModelIFolderModel.SetLastItemIndex(int)
public void SetObjMgrSettings(int nFolderID,
                              int[] nExpandedObjectTypes)
int - the current folder IDint[] - the list of expanded object typespublic void ExpandAllObjects(boolean bExpand)
boolean - true implies expand all objectspublic void SetObjectsForDeleteCheck(int[] nObjectIDPairs)
SetObjectsForDeleteCheck in interface IObjMgrDeleteROint[] - of object class id / object id pairs.
public void SetPagination(int nPaginationID,
                          int nPaginationLowerBound,
                          int nPaginationUpperBound)
IPaginationModel
SetPagination in interface IPaginationModelnPaginationID - Unique ID of objects to paginate (usually class
             id) when there are multiple pagination sections per page.nPaginationLowerBound - The starting count for objects to displaynPaginationUpperBound - The ending count for objects to display.com.plumtree.uiinfrastructure.form.pagination
public void SetSelectedObjects(int nClassID,
                               int[] nSelectedObjectIDs)
int - nClassID the class ID of the selected itemsint[] - nSelectedObjectIDs the selected object IDspublic void ClearAllSelectedObjects()
public void SetSort(int nSortID,
                    int nSortHeader,
                    int nSortDirection)
ISortModel
SetSort in interface ISortModelnSortID - the ID of the objects to sort on.nSortHeader - the index of the header to sort (starting with 0).nSortDirection - PTSortedArrayWrapper.PTSAW_SORT_ASCENDING or
                           PTSortedArrayWrapper.PTSAW_SORT_DESCENDING.com.plumtree.portalpages.common.objects.ISortModel#SetSort(int, int, int)public boolean ShowObjectBanner()
IObjectModelRO
ShowObjectBanner in interface IObjectModelROIObjectModelRO.ShowObjectBanner()
public static java.lang.String GetLocalizedErrorString(java.lang.Throwable e,
                                                       AActivitySpace m_asOwner)
Throwable - e
public static java.lang.String GetLocalizedErrorString(int nErrorCode,
                                                       AActivitySpace m_asOwner)
int - nErrorCode the error code to translate
protected boolean CheckIsCommunityFolder(int nFolderID)
nFolderID - 
protected void ExpandAllClasses()
protected boolean IsSuppressedClass(int nObjectClassID)
int - nObjectClassID
  | 
 | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||