|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Field Summary | |
static java.lang.String |
NAMESPACE
|
static java.lang.String |
ROOT
|
| Fields inherited from interface xdrs.authorization.NodeAuthorization |
ADMIN, EVERYBODY, NOBODY |
| Method Summary | |
void |
addNode(java.lang.String path,
org.gjt.xpp.XmlNode node)
Add the given node as a child of the node associated with the given path. |
void |
copyNodes(java.lang.String[] sourcePaths,
java.lang.String targetPath)
Copy a set of nodes from one location to another. |
void |
deleteNodes(java.lang.String dirPath,
java.lang.String[] childrenNames)
Delete children nodes that are continaed in directory identified by path. |
org.gjt.xpp.XmlNode[] |
getChildrenWithoutHtml(java.lang.String pathToDirNode)
Get list of XML nodes that are contained inside directory. |
org.gjt.xpp.XmlNode |
getNode(java.lang.String path)
Get an XmlNode representation of whatever is at the given path. |
java.lang.String |
getNodeHtml(java.lang.String path)
Get an XmlNode representation for the given path's html. |
java.lang.String[] |
keywordSearch(java.lang.String[] keywords,
boolean doAnd,
int maxResults)
Search using keywords to find nodes. |
void |
modifyNode(java.lang.String path,
org.gjt.xpp.XmlNode node)
Update the values of a node, pointed to by the given path, with those in the given node. |
void |
moveNodes(java.lang.String[] sourcePaths,
java.lang.String targetPath)
Move a set of nodes from one location to another. |
| Methods inherited from interface xdrs.authorization.NodeAuthorization |
setPermissions |
| Methods inherited from interface xdrs.authorization.UserManagement |
addDNForUser, addGroupToSuperGroup, addUsersToGroup, addUserToGroup, createUser, deleteAllDNsForUser, deleteDNForUser, deleteGroup, deleteGroups, deleteUser, deleteUsers, getGroups, getUserForDN, listGroups, listSubGroupsOfGroup, listUsers, listUsersOfGroup, removeGroupFromSuperGroup, removeUserFromGroup, removeUsersFromGroup |
| Field Detail |
public static final java.lang.String NAMESPACE
public static final java.lang.String ROOT
| Method Detail |
public org.gjt.xpp.XmlNode getNode(java.lang.String path)
throws soaprmi.RemoteException,
xsul.XsulException
path - The path from which to extract an XmlNode.
soaprmi.RemoteException - If the given path does not exist, or there is a
problem generating the XmlNode.
xsul.XsulException
public org.gjt.xpp.XmlNode[] getChildrenWithoutHtml(java.lang.String pathToDirNode)
throws soaprmi.RemoteException,
xsul.XsulException
soaprmi.RemoteException - If the given path does not exist, node identified
by path is not direcotry.
xsul.XsulException
public java.lang.String getNodeHtml(java.lang.String path)
throws soaprmi.RemoteException,
xsul.XsulException
path - The path whose html will be returned.
soaprmi.RemoteException - If the given path does not exist, there is a
problem generating the XmlNode, or the node
associated with the given path does not have
html.
xsul.XsulException
public void deleteNodes(java.lang.String dirPath,
java.lang.String[] childrenNames)
throws soaprmi.RemoteException,
xsul.XsulException
dirPath - The path to the direcotry nodechildrenNames - list of children nodes to delete.
soaprmi.RemoteException - If the given path does not exist, there is
a problem deleting the node, or if there is an
attempt to delete the ROOT.
xsul.XsulException
public void addNode(java.lang.String path,
org.gjt.xpp.XmlNode node)
throws soaprmi.RemoteException,
xsul.XsulException
path - The proposed parent for the given node.node - The node that will be added.
soaprmi.RemoteException - If the given path does not exist, the given path
plus the given node's name already exists, the
given node is not of a supported type, or the
given path points to a node that cannot have
children.
xsul.XsulException
public void modifyNode(java.lang.String path,
org.gjt.xpp.XmlNode node)
throws soaprmi.RemoteException,
xsul.XsulException
path - The path to the node to be modified.node - A node containing new values for specific fields.
soaprmi.RemoteException - If the given path does not exist, the type of the
given node's type does not match the type of the
node associated with the given path, or the given
node tries to change the name of the node
associated with the given path.
xsul.XsulException
public void copyNodes(java.lang.String[] sourcePaths,
java.lang.String targetPath)
throws soaprmi.RemoteException,
xsul.XsulException
sourcePaths - The paths to the nodes to be copied.
soaprmi.RemoteException - If the given sourcePaths do not exist, or the
targetPath exists and is not a directory.
xsul.XsulException
public void moveNodes(java.lang.String[] sourcePaths,
java.lang.String targetPath)
throws soaprmi.RemoteException,
xsul.XsulException
sourcePaths - The paths to the nodes to be moved.
soaprmi.RemoteException - If the given sourcePaths do not exist, or the
targetPath exists and is not a directory.
xsul.XsulException
public java.lang.String[] keywordSearch(java.lang.String[] keywords,
boolean doAnd,
int maxResults)
throws soaprmi.RemoteException,
xsul.XsulException
keywords - The keywords for which to search.doAnd - Whether to AND the keywrods together or not.maxResults - The max number of results to return.
soaprmi.RemoteException
xsul.XsulException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||