|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.activityspace.AClearModel
com.plumtree.portalpages.browsing.directory.DirModel
public class DirModel
This model contains data for both the Browse and Edit Modes of the Directory.
| Field Summary | |
|---|---|
static int |
BEGIN_INDEX
index for object range array returned via GetObjectRange() |
static int |
CARD_CNT
|
static java.lang.String |
CHINESE_LANGUAGE_CODE
|
static java.lang.String |
CHINESE_LOCALE_CODE_CN
|
static java.lang.String |
CHINESE_LOCALE_CODE_HK
|
static java.lang.String |
CHINESE_LOCALE_CODE_MO
|
static java.lang.String |
CHINESE_LOCALE_CODE_SG
|
static java.lang.String |
CHINESE_LOCALE_CODE_TW
|
static java.lang.String |
DEFAULTDATA
|
static int |
END_INDEX
|
static java.lang.String |
ENGLISH_LOCALE_CODE
|
static int |
HEADER_ID_INDEX
|
static int |
HEADER_NAME_INDEX
|
static int |
HEADER_PROPERTIES_SIZE
|
static int |
HEADER_SORT_URL_INDEX
|
static java.lang.String |
HTTP_PREFIX
|
boolean |
m_bOpenDocInNewWindow
User Pref settings |
int |
m_nCurrentCardID
For Card Properties |
int |
m_nCurrentFolderID
|
protected int |
m_nDirMode
Directory mode - Browse, Edit, Disability |
int |
m_nLoadedCardID
For Advanced Card Submission to prevent Card Confirmation page from being displayed more than once if the page is refreshed. |
int |
m_nNumFoldCol
Settable Dir Pref |
int |
m_nRangeBegin
Document Range |
int |
m_nRangeEnd
|
XPDateTime |
m_xpNewTagDate
New Document Date |
XPArrayList |
m_xpPropColumns
Sorting Columns |
XPDateTime |
m_xpUpdateTagDate
Updated Document Date |
static java.lang.String |
STR_MVC_CLASS_NAME
Activity space name |
static java.lang.String |
strCopyTargetFolderTREESUBSPACE
|
static java.lang.String |
strDataSourceTREESUBSPACE
|
static java.lang.String |
strMoveTargetFolderTREESUBSPACE
|
static int |
TOTAL_CNT_INDEX
|
| Fields inherited from class com.plumtree.uiinfrastructure.activityspace.AClearModel |
|---|
m_asOwner |
| Constructor Summary | |
|---|---|
DirModel()
|
|
| Method Summary | |
|---|---|
void |
ABODeleteFolders(int[] arFolderIDs)
|
boolean |
ABOJobIDsToDisplay()
This method returns whether or not there are any job IDs to display. |
void |
AddRemoveObjectTag(java.lang.String tagname,
java.lang.String strid,
int action,
java.lang.String ptsource)
Adds/Removes Tag specified for the Object with given ID based on Action specified. |
void |
AddSelfSelectedRelatedExpert()
|
int[] |
CalculateReportMapping(IPTSearchResponse ptSR,
int nCurrentLevel)
Generates a mapping to an array that mimics what is returned by IPTFolder.QuerySubFolders() |
boolean |
CheckFoldersForDelete()
|
boolean |
CheckForActivityRight(int nActivityRight)
|
void |
CleanupTempData()
This method is called at the end of every HTTP request by the Interpreter. |
void |
ClearCardRange()
|
void |
CopyCards(int[] arCardIDs,
int nTargetFolder)
|
void |
CopyFolders(int[] arFolderIDs,
int nTargetFolder)
|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
IXPPropertyBag |
CreateCardSubmitUploadPropertyBag(java.lang.String _path,
java.lang.String _type,
java.lang.String _docID)
|
void |
CreateDirectoryFolder(java.lang.String strName,
java.lang.String strDescription)
Creates a Directory Folder and calls the PEIs OnBeforeCreateDirectoryFolder and OnAfterCreateDirectoryFolder. |
IPTFilter |
CreateSubFolderSearchFilter(int nCurrentLevel)
|
void |
DeleteCards(int[] arCardIDs)
|
void |
DeleteFolders(int[] arFolderIDs)
|
void |
doApproval(int[] arCardIDs,
int nAction)
|
boolean |
doesPropertyDescribeCard(java.lang.Object[] arCardPropIDs,
int nPropID)
|
boolean |
DoNotShowObject(int nIndex)
Get whether to show this object or not. |
void |
Finish()
Implement some code to execute when the user clicks on "Finish". |
int[] |
GetABOJobIDs()
This method returns the job IDs for the last ABO deletes, and then clears them. |
XPSortedDictionary |
GetBasicCardProperties()
|
IASQueryResult |
GetBreadCrumbPath()
|
int |
GetBrowseBy()
|
int |
GetBrowseBySource()
|
int |
GetCardID()
|
XPSortedDictionary |
GetCardInformation()
|
java.lang.String |
GetCardName()
|
java.lang.String |
GetCardName(int nCardID)
|
int[] |
GetCardRange()
Returns an array with 4 int, [0] start of range, [1] end of range, [2] card count, [3] total count |
int |
GetCardRangeBegin()
|
int |
GetCardSubmitDataSource()
|
int |
GetCardSubmitError()
Retrieve any errors generated during card submission using the REST API. |
int |
GetCardSubmitFolder()
|
int |
GetCardSubmitMode()
|
java.lang.String |
GetCardSubmitURL(boolean bIsWebDataSource)
|
int |
GetClassID()
|
java.lang.String |
GetCopyTargetFolderTREESUBSPACE()
|
int |
GetCreatedFolderID()
|
int |
GetCurrentFolderID()
Get the id of the current folder. |
int |
GetCurrentFolderLevel()
Get the level of the current folder |
java.lang.String |
GetCurrentFolderName()
Get the name of the current folder. |
int |
GetCurrentLowerObjectIndex()
|
int |
GetCurrentUpperObjectIndex()
|
XPSortedDictionary |
GetCustomCardProperties()
|
XPArrayList |
GetCustomFields(int _nObjectIndex,
XPArrayList xpCustomProps,
XPLocale xpLocale,
XPTimeZone xpTimeZone)
Returns an array list of the values for each custom property in xpCustomProps for the document in index _nObjectIndex. |
java.lang.String |
GetDataSourceName(int nDataSourceID)
returns the name of a given datasource. |
java.lang.String |
GetDataSourceProviderName(int nDataSourceID)
|
java.lang.String |
GetDataSourceTREESUBSPACE()
|
int |
GetDirectoryMode()
Gets the current directory mode - Browse or Edit |
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. |
java.lang.String |
GetDocDescriptionType()
|
int |
GetDocumentTypeId()
|
IASQueryResult |
GetFilteredDataSources()
returns a list of data sources that support Card Submission |
int |
GetFirstFolderIndex()
Get the index of the first folder to display. |
int |
GetFolderColumnCount()
Get the number of columns to display. |
java.lang.String |
GetFolderDescriptionType()
|
java.lang.String |
GetFolderName(int nFolderID)
|
IASQueryResult |
GetFolderObjectCount()
Get a list of object names and the number of those objects in the current folder. |
java.lang.String |
GetFolderPath(int nFolderID)
|
IASQueryResult |
GetFolderQueryResult()
Get an IPTQueryResult containing all of the subfolders of the current folder. |
int |
GetFolderSearchMapping(int nIndex)
Retrieves the index within the SearchResponse that corresponds to the ordering that would have been returned from IPTCatalog.QuerySubfolders() |
IPTSearchResponse |
GetFolderSearchResponse()
Get an IPTSearchResponse containing all of the subfolders of the current folder. |
IFolderViewHelper |
GetFolderViewHelper()
Retrieves the folder view helper. |
int |
GetHeaderCount()
Gets the count of the object headers. |
boolean |
GetHeaderHasCheckbox()
Returns whether the header has a checkbox or not. |
IXPList |
GetHeaderProperties()
Retrieves the headers to be displayed in a array that includes the header's name, property Id, and sort URL if applicaple. |
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. |
int |
GetLoadedCardID()
|
int |
GetMoreFolderID()
|
java.lang.Object[][] |
GetMoreRelatedResources(int nRelatedResourceID)
|
java.lang.String |
GetMoveTargetFolderTREESUBSPACE()
|
java.lang.String |
GetName()
Return the name of the MVC object. |
java.lang.Object |
GetNewTempData()
This method returns a new temporary data object. |
int |
GetNumDocsPerPage()
|
int |
GetNumFolderColumns()
|
int |
GetNumObjects()
|
int |
GetNumSubSubFolders()
|
int |
GetNumSubSubFoldersToDisplay()
Set the number of sub-subfolders to display after the next page.. |
java.lang.String |
GetObjectBannerText()
this creates a string with the banner sub-header text. |
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 nPropID)
Gets the fields from the query result. |
int |
GetObjectID()
|
XPDateTime |
GetObjectNewTagDate()
|
int |
GetObjectSubType(int nIndex)
Get the subtype of the object at the given index. |
IXPList |
GetObjectTags(int docId)
Gets the List of Tags of that are attached to this Object by pathways. |
int |
GetObjectType()
Get the Object Class ID of the type of objects we are currently viewing. |
XPDateTime |
GetObjectUpdateTagDate()
|
java.lang.String |
GetObjectUUID()
|
boolean |
GetObjectViewIsCollapsed()
Get whether the object view is collapsed. |
int |
GetParentDefaultDataSourceIDRecursive()
returns the ID of the Default DataSource for this folder. |
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 '\'. |
XPException |
GetPathwaysTaggingError()
This method returns an error that happened when Add/Remove/Rename Tag request is sent to pathways. |
XPArrayList |
GetPropColumns()
|
Redirect |
GetRedirectAfterFinish()
Returns the Redirect object (this is were we need to go at the end of the Editor). |
IASQueryResult |
GetRelatedResource(int lRelatedResourceID)
|
int[] |
GetRelatedResourceIDs()
|
int |
GetRelatedResourcesLocation()
|
java.lang.String |
GetRelatedResourceString(int nRelatedResourceID)
|
int |
GetRRCategory()
|
int |
GetRRObjectID()
|
IPTSession |
GetSession()
|
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. |
int |
GetSubPortalAccessType()
|
int |
GetTotalResults()
|
java.lang.String |
GetUploadWSURL(int _nDataSourceID)
Returns the webservice's upload url if it supports uploads and it is set. |
XPLocale |
GetUserPrefLocale()
|
boolean |
GetUserPrefOpenDocInNewWindow()
|
XPTimeZone |
GetUserPrefTimeZone()
|
SearchExecutionWarning |
GetWarning()
return a warning from the last search query(used in browse by search) |
int |
GetWebServiceID(int _nDataSourceID)
|
boolean |
HasAccessToApproveCardInFolder()
|
boolean |
HasAccessToEditCard()
|
boolean |
HasAccessToEditFolder()
|
boolean |
HasSelfSelectExpertRightOnThisFolder()
|
void |
Init(AActivitySpace parent)
This method initializes the model. |
boolean |
InRootFolder()
Returns true if the current folder is the root folder. |
boolean |
InUnclassifiedCardsFolder()
|
boolean |
IsAtMaxFolderLevel()
This method returns whether or not the current folder is at the max level |
boolean |
IsDateProperty(int nPropertyID)
|
boolean |
IsRelatedExpert()
|
boolean |
IsTaggingEnabled()
True if Pathways is enabled and user can tag items, else false. |
boolean |
IsValidSimpleSubmitSource(int _nDataSourceID)
|
boolean |
IsWebDataSource(int nDataSourceID)
Check if the provider for this data source supports web paths. |
void |
LoadBrowsingPropColumns()
|
void |
LoadCardProperties()
|
boolean |
LoadFoldersAndDocuments()
|
void |
LoadNewAndUpdatedDates()
|
void |
LoadUserPrefs()
|
void |
MigrateObjects(int nClassID,
int[] nObjects,
java.lang.String sComment)
This method adds objects into the migration queue. |
void |
MoveCards(int[] arCardIDs,
int nTargetFolder)
|
void |
MoveFolders(int[] arFolderIDs,
int nTargetFolder)
|
int |
OpenFolderByPath(java.lang.String strPath)
|
void |
OpenSubFolder(int ID)
Open the folder with the id ID. |
void |
RaiseError(java.lang.String strError)
Helper method to raise an error |
void |
RaiseError(java.lang.String strError,
java.lang.String strExtended)
Helper method to raise an error |
int |
RefreshItemFromCopyTargetFolderTree()
This method gets the selected items from the tree. |
int |
RefreshItemFromDataSourceTree()
This method gets the selected items from the tree. |
int |
RefreshItemFromMoveTargetFolderTree()
This method gets the selected items from the tree. |
void |
RenameObjectTag(java.lang.String tagname,
java.lang.String strid,
java.lang.String ptsource,
java.lang.String renametag)
Renames Tag specified for the Object with given ID. |
boolean |
RetrieveSubFoldersThroughSearch()
This method returns whether or not subfolders queries are performed through search |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
IPTSearchResponse |
SearchSubFolders(int nFolderID,
int nCurrentLevel)
|
void |
SetCardID(int nCardID)
|
void |
SetCardRange(int nRangeBegin,
int nRangeEnd)
|
void |
SetCardSubmitDataSource(int nDataSourceID)
|
void |
SetCardSubmitDescription(java.lang.String strDescription)
|
void |
SetCardSubmitError(int _nErrorCode)
Sets the error associated with the card submit. |
void |
SetCardSubmitFolder(int _nFolderID)
Set the folder to use when submitting a document. |
void |
SetCardSubmitMode(int nCardID)
|
void |
SetCardSubmitName(java.lang.String strName)
|
void |
SetCardSubmitURL(java.lang.String strURL)
|
void |
SetDefaultCardRefreshSettings(int nCardID)
|
void |
SetDirectoryMode(int nMode)
Sets the Directory mode - Browse or Edit. |
void |
SetDocumentTypeId(java.lang.String documentTypeId)
|
void |
SetDocUploadParams(java.lang.String _duID,
java.lang.String _duServer)
|
void |
SetFirstItemIndex(int nFirstItemIndex)
Set the index of the first folder to display on a page. |
void |
SetFolderIDAndMode(int ID,
int nMode)
Opens the requested subfolder and sets the mode as appropriate. |
void |
SetFoldersForDeleteCheck(boolean bFolders)
|
void |
SetLastItemIndex(int nLastItemIndex)
Set the index of the first folder to display on a page. |
void |
SetLoadedCardID(int nCardID)
|
void |
SetMoreFolderID(int nFolderID)
|
void |
SetNumColumns(int nNumColumns)
|
void |
SetNumDocsPerPage(int _nNumDocsPerPage)
|
void |
SetObjectType(int nNewObjectType)
This activity space holds only cards, so no need to change the type. |
void |
SetPathwaysTaggingError(XPException e)
This method sets error that happened when tagging request is sent to pathways. |
void |
SetRRCategory(int nCategoryID)
|
void |
SetRRObjectID(int nObjectID)
|
void |
SetSaveTempData(boolean _saveTempData)
|
void |
SetSortByPropID(int nSortByPropID)
|
boolean |
ShowFolderActionBanner()
|
boolean |
ShowObjectBanner()
Get whether to show the banner or not. |
boolean |
ShowRelatedResources()
|
void |
StartCardKeywords(int _nCardID)
start the keywords section. |
void |
SubmitCard()
|
void |
SubmitCard(java.lang.String _strPath,
int _nCSSelectedDataSource)
|
void |
SubmitCard(java.lang.String _path,
java.lang.String _type,
java.lang.String _docID)
|
void |
SubmitCardWithPropertyBag(int[] arFolderIDs,
java.lang.String strLanguage,
int nDocTypeID,
int nDataSourceID,
IXPPropertyBag pbagCardProp,
java.lang.String strCardName,
java.lang.String strCardDescription)
|
void |
SubmitCardWithPropertyBag(int nDataSourceID,
java.lang.String strCardName,
java.lang.String strCardDescription,
IXPPropertyBag pbagCardProp,
int nFolderID)
|
boolean |
SupportsUpload(int _nDataSourceID)
Returns true if the specified data source supports remote document upload. |
| Methods inherited from class com.plumtree.uiinfrastructure.activityspace.AClearModel |
|---|
CleanupAllData, GetTempData |
| 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 java.lang.String HTTP_PREFIX
public static final java.lang.String ENGLISH_LOCALE_CODE
public static final java.lang.String CHINESE_LANGUAGE_CODE
public static final java.lang.String CHINESE_LOCALE_CODE_CN
public static final java.lang.String CHINESE_LOCALE_CODE_TW
public static final java.lang.String CHINESE_LOCALE_CODE_HK
public static final java.lang.String CHINESE_LOCALE_CODE_MO
public static final java.lang.String CHINESE_LOCALE_CODE_SG
public static final java.lang.String DEFAULTDATA
public static final java.lang.String strDataSourceTREESUBSPACE
public static final java.lang.String strMoveTargetFolderTREESUBSPACE
public static final java.lang.String strCopyTargetFolderTREESUBSPACE
public static final int HEADER_PROPERTIES_SIZE
public static final int HEADER_NAME_INDEX
public static final int HEADER_SORT_URL_INDEX
public static final int HEADER_ID_INDEX
public int m_nCurrentFolderID
public int m_nCurrentCardID
public int m_nLoadedCardID
protected int m_nDirMode
public XPArrayList m_xpPropColumns
public XPDateTime m_xpNewTagDate
public XPDateTime m_xpUpdateTagDate
public int m_nRangeBegin
public int m_nRangeEnd
public boolean m_bOpenDocInNewWindow
public int m_nNumFoldCol
public static final int BEGIN_INDEX
public static final int END_INDEX
public static final int CARD_CNT
public static final int TOTAL_CNT_INDEX
| Constructor Detail |
|---|
public DirModel()
| Method Detail |
|---|
public void ABODeleteFolders(int[] arFolderIDs)
ABODeleteFolders in interface IDirModelpublic boolean ABOJobIDsToDisplay()
IDirModelRO
ABOJobIDsToDisplay in interface IDirModelROpublic void AddSelfSelectedRelatedExpert()
public boolean CheckFoldersForDelete()
CheckFoldersForDelete in interface IDirModelROpublic boolean CheckForActivityRight(int nActivityRight)
CheckForActivityRight in interface IDirModelROnActivityRight -
public void CleanupTempData()
IModel
CleanupTempData in interface IModelCleanupTempData in class AClearModelIModel.CleanupTempData()
public void CopyCards(int[] arCardIDs,
int nTargetFolder)
CopyCards in interface IDirModel
public void CopyFolders(int[] arFolderIDs,
int nTargetFolder)
CopyFolders in interface IDirModelpublic java.lang.Object Create()
AClearModel
Create in interface IManagedObjectCreate in class AClearModelIManagedObject.Create()
public void CreateDirectoryFolder(java.lang.String strName,
java.lang.String strDescription)
IDirModel
CreateDirectoryFolder in interface IDirModelstrName - Folder NamestrDescription - Folder Descriptionpublic void DeleteCards(int[] arCardIDs)
DeleteCards in interface IDirModel
public void RaiseError(java.lang.String strError,
java.lang.String strExtended)
strError - - Error messagestrError - - Extended error messagepublic void RaiseError(java.lang.String strError)
strError - - Error messagepublic void DeleteFolders(int[] arFolderIDs)
DeleteFolders in interface IDirModel
public void MigrateObjects(int nClassID,
int[] nObjects,
java.lang.String sComment)
IDirModel
MigrateObjects in interface IDirModelpublic boolean DoNotShowObject(int nIndex)
IObjectModelRO
DoNotShowObject in interface IObjectModelROIObjectModelRO.DoNotShowObject(int)public void Finish()
IRepostModel
Finish in interface IRepostModelpublic int[] GetABOJobIDs()
IDirModelRO
GetABOJobIDs in interface IDirModelROpublic XPSortedDictionary GetBasicCardProperties()
GetBasicCardProperties in interface IDirModelROpublic int GetBrowseBy()
GetBrowseBy in interface IDirModelROpublic int GetBrowseBySource()
GetBrowseBySource in interface IDirModelROpublic int GetCardID()
GetCardID in interface IDirModelROpublic int GetLoadedCardID()
public void SetLoadedCardID(int nCardID)
public XPSortedDictionary GetCardInformation()
GetCardInformation in interface IDirModelROpublic java.lang.String GetCardName(int nCardID)
GetCardName in interface IDirModelROnCardID -
public java.lang.String GetCardName()
GetCardName in interface IDirModelROpublic void StartCardKeywords(int _nCardID)
public int GetObjectID()
GetObjectID in interface IDirModelROpublic java.lang.String GetObjectUUID()
GetObjectUUID in interface IDirModelROpublic int GetClassID()
GetClassID in interface IDirModelROILocNamesModelRO.GetClassID()public int GetCardRangeBegin()
GetCardRangeBegin in interface IDirModelROpublic int GetCardSubmitDataSource()
GetCardSubmitDataSource in interface IDirModelROpublic java.lang.String GetCardSubmitURL(boolean bIsWebDataSource)
GetCardSubmitURL in interface IDirModelRObIsWebDataSource -
public int GetCardSubmitError()
IDirModelRO
GetCardSubmitError in interface IDirModelROpublic java.lang.String GetCopyTargetFolderTREESUBSPACE()
GetCopyTargetFolderTREESUBSPACE in interface IDirModelROpublic int GetCreatedFolderID()
GetCreatedFolderID in interface IDirModelROpublic int GetCurrentFolderID()
IFolderModelRO
GetCurrentFolderID in interface IFolderModelROIFolderModelRO.GetCurrentFolderID()public int GetCurrentFolderLevel()
IFolderModelRO
GetCurrentFolderLevel in interface IFolderModelROIFolderModelRO.GetCurrentFolderLevel()public java.lang.String GetCurrentFolderName()
IFolderModelRO
GetCurrentFolderName in interface IFolderModelROIFolderModelRO.GetCurrentFolderName()public int GetCurrentLowerObjectIndex()
com.plumtree.portalpages.common.objects.IPaginationModelRO#GetCurrentLowerObjectIndex()public int GetCurrentUpperObjectIndex()
com.plumtree.portalpages.common.objects.IPaginationModelRO#GetCurrentUpperObjectIndex()public XPSortedDictionary GetCustomCardProperties()
GetCustomCardProperties in interface IDirModelROpublic java.lang.String GetDataSourceName(int nDataSourceID)
IDirModelRO
GetDataSourceName in interface IDirModelROnDataSourceID -
public java.lang.String GetDataSourceProviderName(int nDataSourceID)
public java.lang.String GetDataSourceTREESUBSPACE()
GetDataSourceTREESUBSPACE in interface IDirModelROpublic int GetDirectoryMode()
GetDirectoryMode in interface IDirModelROpublic boolean GetDisplayPaginationHiddenInputs()
IObjectModelRO
GetDisplayPaginationHiddenInputs in interface IObjectModelROIObjectModelRO.GetDisplayPaginationHiddenInputs()public boolean GetDisplaySortHiddenInputs()
IObjectModelRO
GetDisplaySortHiddenInputs in interface IObjectModelROIObjectModelRO.GetDisplaySortHiddenInputs()public java.lang.String GetDocDescriptionType()
GetDocDescriptionType in interface IDirModelROpublic IASQueryResult GetFilteredDataSources()
IDirModelRO
GetFilteredDataSources in interface IDirModelROpublic int GetFirstFolderIndex()
IFolderModelRO
GetFirstFolderIndex in interface IFolderModelROIFolderModelRO.GetFirstFolderIndex()public int GetFolderColumnCount()
IFolderModelRO
GetFolderColumnCount in interface IFolderModelROIFolderModelRO.GetFolderColumnCount()public java.lang.String GetFolderDescriptionType()
GetFolderDescriptionType in interface IDirModelROpublic java.lang.String GetFolderName(int nFolderID)
GetFolderName in interface IDirModelROnFolderID -
public IASQueryResult GetFolderObjectCount()
IFolderModelRO
GetFolderObjectCount in interface IFolderModelROIFolderModelRO.GetFolderObjectCount()public java.lang.String GetFolderPath(int nFolderID)
GetFolderPath in interface IDirModelROnFolderID -
public IASQueryResult GetFolderQueryResult()
IFolderModelRO
GetFolderQueryResult in interface IFolderModelROcom.plumtree.portalpages.common.folder.IFolderModelRO#GetFolderData()public IPTSearchResponse GetFolderSearchResponse()
IDirModelRO
GetFolderSearchResponse in interface IDirModelROcom.plumtree.portalpages.browsing.directory.GetFolderSearchResponse()public IFolderViewHelper GetFolderViewHelper()
IFolderModelRO
GetFolderViewHelper in interface IFolderModelROIFolderModelRO.GetFolderViewHelper()public 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 IXPList GetHeaderProperties()
IDirModelRO
GetHeaderProperties in interface IDirModelROpublic 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 int GetMoreFolderID()
GetMoreFolderID in interface IDirModelROpublic java.lang.Object[][] GetMoreRelatedResources(int nRelatedResourceID)
GetMoreRelatedResources in interface IDirModelROpublic java.lang.String GetMoveTargetFolderTREESUBSPACE()
GetMoveTargetFolderTREESUBSPACE in interface IDirModelROpublic java.lang.String GetName()
IMVCObject
GetName in interface IMVCObjectGetName in class AClearModelcom.plumtree.xpshared.activityspace.IModel#GetName()public java.lang.Object GetNewTempData()
AClearModel
GetNewTempData in class AClearModelpublic int GetNumDocsPerPage()
GetNumDocsPerPage in interface IDirModelROpublic void SetNumDocsPerPage(int _nNumDocsPerPage)
_nNumDocsPerPage - The Number of cards per page to be set.public int GetNumFolderColumns()
GetNumFolderColumns in interface IDirModelROpublic int GetNumObjects()
com.plumtree.portalpages.common.objects.IPaginationModelRO#GetNumObjects()public int GetNumSubSubFolders()
GetNumSubSubFolders in interface IDirModelROpublic int GetNumSubSubFoldersToDisplay()
IFolderModelRO
GetNumSubSubFoldersToDisplay in interface IFolderModelROcom.plumtree.portalpages.common.folder.IFolderModelRO#GetNumSubSubFolders()public java.lang.String GetObjectBannerText()
GetObjectBannerText in interface IDirModelROpublic int[] GetCardRange()
GetCardRange in interface IDirModelROpublic java.lang.String GetObjectBannerTitle()
IObjectModelRO
GetObjectBannerTitle in interface IObjectModelROIObjectModelRO.GetObjectBannerTitle()public int GetObjectColumnCount()
IObjectModelRO
GetObjectColumnCount in interface IObjectModelROIObjectModelRO.GetObjectColumnCount()public int GetObjectCount()
IObjectModelRO
GetObjectCount in interface IObjectModelROIObjectModelRO.GetObjectCount()
public java.lang.Object GetObjectFields(int nIndex,
int nPropID)
IObjectModelRO
GetObjectFields in interface IObjectModelROnIndex - nIndexnPropID - nPropID
IObjectModelRO.GetObjectFields(int,
int)public int GetObjectType()
IObjectModelRO
GetObjectType in interface IObjectModelROcom.plumtree.portalpages.common.folder.IObjectModelRO#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 GetParentDefaultDataSourceIDRecursive()
IDirModelRO
GetParentDefaultDataSourceIDRecursive in interface IDirModelROpublic int GetParentFolderID()
IFolderModelRO
GetParentFolderID in interface IFolderModelROIFolderModelRO.GetParentFolderID()public int OpenFolderByPath(java.lang.String strPath)
OpenFolderByPath in interface IDirModelpublic java.lang.Object[] GetParentFolderIDs()
IFolderModelRO
GetParentFolderIDs in interface IFolderModelROIFolderModelRO.GetParentFolderIDs()public IASQueryResult GetBreadCrumbPath()
GetBreadCrumbPath in interface IDirModelROpublic java.lang.String GetPath()
IFolderModelRO
GetPath in interface IFolderModelROIFolderModelRO.GetPath()public XPArrayList GetPropColumns()
GetPropColumns in interface IDirModelROpublic int GetRRCategory()
GetRRCategory in interface IDirModelROpublic int GetRRObjectID()
GetRRObjectID in interface IDirModelROpublic Redirect GetRedirectAfterFinish()
IRepostModel
GetRedirectAfterFinish in interface IRepostModelpublic IASQueryResult GetRelatedResource(int lRelatedResourceID)
GetRelatedResource in interface IDirModelROlRelatedResourceID -
public int[] GetRelatedResourceIDs()
GetRelatedResourceIDs in interface IDirModelROpublic java.lang.String GetRelatedResourceString(int nRelatedResourceID)
GetRelatedResourceString in interface IDirModelROnRelatedResourceID -
public int GetRelatedResourcesLocation()
GetRelatedResourcesLocation in interface IDirModelROpublic IPTSession GetSession()
GetSession in interface IDirModelROpublic 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()
IFolderModelRO
GetSubFolderCount in interface IFolderModelROcom.plumtree.portalpages.common.folder.IFolderModelRO#GetFolderCount()public int GetSubFolderCount(int nLevel)
IFolderModelRO
GetSubFolderCount in interface IFolderModelROcom.plumtree.portalpages.common.folder.IFolderModelRO#GetFolderCount()public int GetTotalResults()
GetTotalResults in interface IDirModelROpublic boolean HasAccessToEditCard()
HasAccessToEditCard in interface IDirModelROpublic boolean HasAccessToEditFolder()
HasAccessToEditFolder in interface IDirModelROpublic boolean HasAccessToApproveCardInFolder()
HasAccessToApproveCardInFolder in interface IDirModelROpublic boolean HasSelfSelectExpertRightOnThisFolder()
HasSelfSelectExpertRightOnThisFolder in interface IDirModelROpublic int GetSubPortalAccessType()
GetSubPortalAccessType in interface IDirModelROpublic boolean InRootFolder()
IFolderModelRO
InRootFolder in interface IFolderModelROIFolderModelRO.InRootFolder()public boolean InUnclassifiedCardsFolder()
InUnclassifiedCardsFolder in interface IDirModelROpublic void Init(AActivitySpace parent)
IModel
Init in interface IModelInit in class AClearModelparent - the parent Activity Spacecom.plumtree.xpshared.activityspace.IModel#Init()public void LoadBrowsingPropColumns()
public boolean IsAtMaxFolderLevel()
IDirModelRO
IsAtMaxFolderLevel in interface IDirModelROpublic boolean IsRelatedExpert()
IsRelatedExpert in interface IDirModelROpublic boolean IsWebDataSource(int nDataSourceID)
IsWebDataSource in interface IDirModelROnDataSourceID - the data source to check
public void LoadCardProperties()
public boolean LoadFoldersAndDocuments()
public void LoadNewAndUpdatedDates()
public XPDateTime GetObjectNewTagDate()
GetObjectNewTagDate in interface IDirModelROpublic XPDateTime GetObjectUpdateTagDate()
GetObjectUpdateTagDate in interface IDirModelROpublic void LoadUserPrefs()
public boolean GetUserPrefOpenDocInNewWindow()
GetUserPrefOpenDocInNewWindow in interface IDirModelROpublic XPLocale GetUserPrefLocale()
GetUserPrefLocale in interface IDirModelROpublic XPTimeZone GetUserPrefTimeZone()
GetUserPrefTimeZone in interface IDirModelRO
public void MoveCards(int[] arCardIDs,
int nTargetFolder)
MoveCards in interface IDirModel
public void MoveFolders(int[] arFolderIDs,
int nTargetFolder)
MoveFolders in interface IDirModelpublic void OpenSubFolder(int ID)
IFolderModel
OpenSubFolder in interface IDirModelOpenSubFolder in interface IFolderModelIFolderModel.OpenSubFolder(int)public int RefreshItemFromCopyTargetFolderTree()
RefreshItemFromCopyTargetFolderTree in interface IDirModelROpublic int RefreshItemFromDataSourceTree()
RefreshItemFromDataSourceTree in interface IDirModelROpublic int RefreshItemFromMoveTargetFolderTree()
RefreshItemFromMoveTargetFolderTree in interface IDirModelRO
public int SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
IRepostModel
SavePage in interface IRepostModelIRepostModel.SavePage(String, XPHashtable)public void SetCardSubmitMode(int nCardID)
SetCardSubmitMode in interface IDirModelpublic int GetCardSubmitMode()
GetCardSubmitMode in interface IDirModelROpublic void SetCardID(int nCardID)
SetCardID in interface IDirModelpublic void ClearCardRange()
ClearCardRange in interface IDirModel
public void SetCardRange(int nRangeBegin,
int nRangeEnd)
SetCardRange in interface IDirModelpublic void SetCardSubmitDataSource(int nDataSourceID)
SetCardSubmitDataSource in interface IDirModelpublic void SetCardSubmitURL(java.lang.String strURL)
SetCardSubmitURL in interface IDirModel
public void SetDocUploadParams(java.lang.String _duID,
java.lang.String _duServer)
SetDocUploadParams in interface IDirModelpublic void SetCardSubmitName(java.lang.String strName)
SetCardSubmitName in interface IDirModelpublic void SetCardSubmitDescription(java.lang.String strDescription)
SetCardSubmitDescription in interface IDirModelpublic void SetCardSubmitFolder(int _nFolderID)
IDirModel
SetCardSubmitFolder in interface IDirModelpublic int GetCardSubmitFolder()
GetCardSubmitFolder in interface IDirModelROpublic void SetCardSubmitError(int _nErrorCode)
IDirModel
SetCardSubmitError in interface IDirModel_nErrorCode - The error generated during card submission.
-1 means no error, and is the default value.public void SetDefaultCardRefreshSettings(int nCardID)
SetDefaultCardRefreshSettings in interface IDirModelpublic void SetDirectoryMode(int nMode)
IDirModel
SetDirectoryMode in interface IDirModelpublic void SetFirstItemIndex(int nFirstItemIndex)
IFolderModel
SetFirstItemIndex in interface IFolderModelIFolderModel.SetFirstItemIndex(int)
public void SetFolderIDAndMode(int ID,
int nMode)
public void SetFoldersForDeleteCheck(boolean bFolders)
bFolders - public void SetLastItemIndex(int nLastItemIndex)
IFolderModel
SetLastItemIndex in interface IFolderModelIFolderModel.SetLastItemIndex(int)public void SetMoreFolderID(int nFolderID)
nFolderID - public void SetNumColumns(int nNumColumns)
com.plumtree.portalpages.common.folder.IFolderModel#SetNumColumns(int)public void SetObjectType(int nNewObjectType)
IDirModel
SetObjectType in interface IDirModelpublic void SetRRCategory(int nCategoryID)
nCategoryID - public void SetRRObjectID(int nObjectID)
nObjectID - public void SetSortByPropID(int nSortByPropID)
nSortByPropID - public boolean ShowFolderActionBanner()
ShowFolderActionBanner in interface IDirModelROpublic boolean ShowObjectBanner()
IObjectModelRO
ShowObjectBanner in interface IObjectModelROIObjectModelRO.ShowObjectBanner()public boolean ShowRelatedResources()
ShowRelatedResources in interface IDirModelROpublic boolean IsValidSimpleSubmitSource(int _nDataSourceID)
IsValidSimpleSubmitSource in interface IDirModelROpublic boolean SupportsUpload(int _nDataSourceID)
SupportsUpload in interface IDirModelROpublic int GetWebServiceID(int _nDataSourceID)
public SearchExecutionWarning GetWarning()
IDirModelRO
GetWarning in interface IDirModelROcom.plumtree.portalpages.search.IBaseSearchResultModelRO.GetWarning()public java.lang.String GetUploadWSURL(int _nDataSourceID)
GetUploadWSURL in interface IDirModelROpublic void SubmitCard()
SubmitCard in interface IDirModel
public void SubmitCard(java.lang.String _strPath,
int _nCSSelectedDataSource)
SubmitCard in interface IDirModel
public void SubmitCard(java.lang.String _path,
java.lang.String _type,
java.lang.String _docID)
SubmitCard in interface IDirModel
public IXPPropertyBag CreateCardSubmitUploadPropertyBag(java.lang.String _path,
java.lang.String _type,
java.lang.String _docID)
public void SubmitCardWithPropertyBag(int nDataSourceID,
java.lang.String strCardName,
java.lang.String strCardDescription,
IXPPropertyBag pbagCardProp,
int nFolderID)
SubmitCardWithPropertyBag in interface IDirModelnFolderID - the folder to use. If this is -1, the current folder will be used.
public void SubmitCardWithPropertyBag(int[] arFolderIDs,
java.lang.String strLanguage,
int nDocTypeID,
int nDataSourceID,
IXPPropertyBag pbagCardProp,
java.lang.String strCardName,
java.lang.String strCardDescription)
SubmitCardWithPropertyBag in interface IDirModel
public void doApproval(int[] arCardIDs,
int nAction)
doApproval in interface IDirModel
public boolean doesPropertyDescribeCard(java.lang.Object[] arCardPropIDs,
int nPropID)
arCardPropIDs - nPropID -
public IXPList GetObjectTags(int docId)
ITaggingModel
GetObjectTags in interface ITaggingModeldocId - Object Id
public boolean RetrieveSubFoldersThroughSearch()
IDirModelRO
RetrieveSubFoldersThroughSearch in interface IDirModelRO
public IPTSearchResponse SearchSubFolders(int nFolderID,
int nCurrentLevel)
SearchSubFolders in interface IDirModelpublic IPTFilter CreateSubFolderSearchFilter(int nCurrentLevel)
public int GetFolderSearchMapping(int nIndex)
IDirModelRO
GetFolderSearchMapping in interface IDirModelRO
public int[] CalculateReportMapping(IPTSearchResponse ptSR,
int nCurrentLevel)
public boolean IsDateProperty(int nPropertyID)
strURL -
public XPArrayList GetCustomFields(int _nObjectIndex,
XPArrayList xpCustomProps,
XPLocale xpLocale,
XPTimeZone xpTimeZone)
IDirModelRO
GetCustomFields in interface IDirModelRO_nObjectIndex - xpCustomProps -
public void SetSaveTempData(boolean _saveTempData)
saveURL - The m_bCSSaveURL to set.public int GetDocumentTypeId()
GetDocumentTypeId in interface IDirModelROpublic void SetDocumentTypeId(java.lang.String documentTypeId)
SetDocumentTypeId in interface IDirModel
public void AddRemoveObjectTag(java.lang.String tagname,
java.lang.String strid,
int action,
java.lang.String ptsource)
throws XPIllegalStateException
ITaggingModel
AddRemoveObjectTag in interface ITaggingModeltagname - Name of the Tag that needs to be Added or Removedstrid - Concatenation of classid and Object Id PTCLASSID_PTOJECTIDaction - Operation to perform on the Tag, 0 = Add, 1 = Delete, 2 = Edit (delete old tag and add new tag)ptsource - source of the Object to be specified for Pathways it can be PTPORTAL or PTCOLLAB, for more sources see PathwaysConstants.
XPIllegalStateException - Throws this exception if pathways is unavailable and a request to Add/Remove Tags is sent.
public void RenameObjectTag(java.lang.String tagname,
java.lang.String strid,
java.lang.String ptsource,
java.lang.String renametag)
throws XPIllegalStateException
ITaggingModel
RenameObjectTag in interface ITaggingModeltagname - the Source Tag Name to be used for renamingstrid - Concatenation of classid and Object Id PTCLASSID_PTOJECTIDptsource - source of the Object to be specified for Pathways it can be PTPORTAL or PTCOLLAB, for more sources see PathwaysConstants.
XPIllegalStateException - Throws this exception if pathways is unavailable and a request to Add/Remove Tags is sent.public boolean IsTaggingEnabled()
ITaggingModel
IsTaggingEnabled in interface ITaggingModelpublic XPException GetPathwaysTaggingError()
ITaggingModel
GetPathwaysTaggingError in interface ITaggingModelpublic void SetPathwaysTaggingError(XPException e)
ITaggingModel
SetPathwaysTaggingError in interface ITaggingModel
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||