|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteResourceAdminService
This interface defines methods to manage the resources tree in the report server.
fullFmtdNodePath is full formated name of a node. It is like the following:
(R)/(R)Tutorial/(C)mycat.cat/(RptH)myrpt.cls
Each string inside parenthese indicates the type of that node:
(R)name - Resource Node
(D)name - Virtual Resource Node of directory
(F)name - Virtual Resource Node of normal file
(C)name - Virtual Resource Node of catalog
(Rpt)name -Virutual Resource Node of report
(DH)name - Unreachable Virtual Resource Node of directory
(FH)name - Unreachable Virtual Resource Node of normal file
(CH)name - Unreachable Virtual Resource Node of catalog
(RptH)name -Unreachable Virutual Resource Node of report
| Method Summary | |
|---|---|
java.lang.String |
addNode(java.lang.String realm,
java.lang.String parentPath,
byte nodeType,
java.util.Hashtable htNode)
Add a node into resource tree in specific realm. |
void |
deleteNode(java.lang.String realm,
java.lang.String nodePath)
Delete the specific node. |
void |
editNode(java.lang.String realm,
java.lang.String nodePath,
java.util.Hashtable htNode)
Edit specific resource node. |
| Method Detail |
|---|
java.lang.String addNode(java.lang.String realm,
java.lang.String parentPath,
byte nodeType,
java.util.Hashtable htNode)
throws NoSuchRealmException,
UnknownMIMEType,
UnknownResource,
ResourceAdminServiceException,
ResourceInfoException,
java.rmi.RemoteException
realm - the realm which exist resource tree.parentPath - the parent path to specify which node new resource node will
add into. For example: /SunVMDemo.nodeType - new adding node typehtNode - properties of new node, ie. new node name, description,
realPaht(folder and resource), max version amount(resource),
etc.
NoSuchRealmException - UnknownMIMEType UnknownResource
ResourceAdminServiceException ResourceInfoException
java.rmi.RemoteException - will be thrown if error occurs.
UnknownMIMEType
UnknownResource
ResourceAdminServiceException
ResourceInfoException
void deleteNode(java.lang.String realm,
java.lang.String nodePath)
throws NoSuchRealmException,
UnknownMIMEType,
UnknownResource,
ResourceAdminServiceException,
ResourceInfoException,
java.rmi.RemoteException
realm - the realm which exist resource tree.nodePath - the full node path of the node. For example: /SunVMDemo.
NoSuchRealmException - UnknownMIMEType UnknownResource
ResourceAdminServiceException ResourceInfoException
java.rmi.RemoteException - will be thrown if error occurs.
UnknownMIMEType
UnknownResource
ResourceAdminServiceException
ResourceInfoException
void editNode(java.lang.String realm,
java.lang.String nodePath,
java.util.Hashtable htNode)
throws NoSuchRealmException,
java.io.IOException,
UnknownResource,
UnknownMIMEType,
ResourceAdminServiceException,
ResourceInfoException,
java.rmi.RemoteException
realm - the realm which exist resource tree.nodePath - the full path of the node. For example: /SunVMDemo.htNode - new properties of specified node, ie. new node name,
description, realPaht(folder and resource), max version
amount(resource), etc.
NoSuchRealmException - IOException UnknownMIMEType UnknownResource
ResourceAdminServiceException ResourceInfoException
java.rmi.RemoteException - will be thrown if error occurs.
java.io.IOException
UnknownResource
UnknownMIMEType
ResourceAdminServiceException
ResourceInfoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||