|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that provides remote access to the portal Knowledge Directory's folder structure. Applications can call these methods to get information about folders.
Method Summary | |
IObjectQueryRow |
getFolder(int folderID)
Queries properties of the specified folder in the Knowledge Directory. |
IObjectQueryRow |
getFolder(java.lang.String folderPath)
Queries properties of the specified folder in the Knowledge Directory. |
IObjectQueryRow |
getRootFolder()
Queries properties of the root folder in the Knowledge Directory. |
IObjectQuery |
getSubFolders(int folderID)
Queries the subfolders and their properties of a specified folder in the Knowledge Directory. |
IObjectQuery |
getSubFolders(int folderID,
int startRow,
int maxRows,
ObjectProperty sortProperty,
QueryFilter[] filters)
Queries the subfolders and their properties for a specified folder in the Knowledge Directory. |
Method Detail |
public IObjectQueryRow getRootFolder() throws PortalException, java.rmi.RemoteException
PortalException
- if the operation resulted in an error in the portal
RemoteException
- if there was a communication problem during the
execution of the remote method callpublic IObjectQueryRow getFolder(int folderID) throws PortalException, java.rmi.RemoteException
folderID
- the ID of the folder on which to gather properties
java.lang.IllegalArgumentException
- if the folderID is < 0
PortalException
- if the operation resulted in an error in the portal
RemoteException
- if there was a communication problem during the
execution of the remote method callpublic IObjectQueryRow getFolder(java.lang.String folderPath) throws PortalException, java.rmi.RemoteException
folderPath
- the path to the folder on which to gather properties (for example, \Knowledge Directory\Unclassified Documents)
Note: The slash must be escaped.
java.lang.IllegalArgumentException
- if the PortalException
- if the operation resulted in an error in the portal
RemoteException
- if there was a communication problem during the
execution of the remote method callpublic IObjectQuery getSubFolders(int folderID) throws PortalException, java.rmi.RemoteException
folderID
- the parent folder ID
PortalException
- if the operation resulted in an error in the portal
RemoteException
- if there was a communication problem during the
execution of the remote method callpublic IObjectQuery getSubFolders(int folderID, int startRow, int maxRows, ObjectProperty sortProperty, QueryFilter[] filters) throws PortalException, java.rmi.RemoteException
folderID
- the parent folder IDstartRow
- the first row to retrieve (row numbers are zero-based)maxRows
- the number of rows to retrieve; if set to -1, all rows are retrievedsortProperty
- the property on which to sort the query (specified using filters
- an array of query filters to narrow down the search
PortalException
- if the operation resulted in an error in the portal
RemoteException
- if there was a communication problem during the
execution of the remote method call
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©2010 Oracle® Corporation. All Rights Reserved.