|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface that provides remote access to the Knowledge Directory's folder structure. Applications can call these methods to get information about the 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 of 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 on the portal.
RemoteException - if there is a communication problem during the
execution of the remote method call.
public IObjectQueryRow getFolder(int folderID)
throws PortalException,
java.rmi.RemoteException
folderID - is the ID to the folder to gather properties on.
java.lang.IllegalArgumentException - if folderID is < 0.
PortalException - if the operation resulted in an error on the portal.
RemoteException - if there is a communication problem during the
execution of the remote method call.
public IObjectQueryRow getFolder(java.lang.String folderPath)
throws PortalException,
java.rmi.RemoteException
folderPath - is the path to the folder to gather properties on. For example, \Knowledge Directory\Unclassified Documents.
Note that the slash must be escaped
java.lang.IllegalArgumentException - if FolderPath does not start with a \
PortalException - if the operation resulted in an error on the portal.
RemoteException - if there is a communication problem during the
execution of the remote method call.
public IObjectQuery getSubFolders(int folderID)
throws PortalException,
java.rmi.RemoteException
folderID - is the parent folder ID.
PortalException - if the operation resulted in an error on the portal.
RemoteException - if there is a communication problem during the
execution of the remote method call.
public IObjectQuery getSubFolders(int folderID,
int startRow,
int maxRows,
ObjectProperty sortProperty,
QueryFilter[] filters)
throws PortalException,
java.rmi.RemoteException
folderID - is the parent folder ID.startRow - the first row in the query to retrieve (row numbers are zero-based).maxRows - the number of rows in the query to retrieve; if set to -1, all the rows are retrieved.sortProperty - the property, specified using filters - an array of query filters to narrow down the search.
PortalException - if the operation resulted in an error on the portal.
RemoteException - if there is 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 ©2007 BEA Systems, Inc. All Rights Reserved.