|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemoteNode
Remote version of the JCR Node interface.
The methods in this interface are documented only with a reference to a corresponding Node method. The remote object will simply forward the method call to the underlying Node instance. Argument and return values, as well as possible exceptions, are copied over the network. Compex return values (like Nodes and Properties) are returned as remote references to the corresponding remote interfaces. Iterator values are transmitted as object arrays. RMI errors are signalled with RemoteExceptions.
Note that only two generic setProperty methods are included in this interface. Clients should implement the type-specific setProperty methods by wrapping the argument values into generic Value objects and calling the generic setProperty methods. Note also that the Value objects must be serializable and implemented using classes available on both the client and server side.
| Method Summary | |
|---|---|
void |
addMixin(java.lang.String name)
Remote version of the Node.addMixin(String) method. |
RemoteNode |
addNode(java.lang.String path)
Remote version of the Node.addNode(Sring) method. |
RemoteNode |
addNode(java.lang.String path,
java.lang.String type)
Remote version of the Node.addNode(String,String)
method. |
boolean |
canAddMixin(java.lang.String name)
Remote version of the Node.canAddMixin(String)
method. |
void |
cancelMerge(java.lang.String versionUUID)
Remote version of the Node.cancelMerge(Version) method. |
RemoteVersion |
checkin()
Remote version of the Node.checkin() method. |
void |
checkout()
Remote version of the Node.checkout() method. |
void |
doneMerge(java.lang.String versionUUID)
Remote version of the Node.doneMerge(Version) method. |
RemoteVersion |
getBaseVersion()
Remote version of the Node.getBaseVersion() method. |
java.lang.String |
getCorrespondingNodePath(java.lang.String workspace)
Remote version of the Node.getCorrespondingNodePath(String) method. |
RemoteNodeDefinition |
getDefinition()
Remote version of the Node.getDefinition() method. |
int |
getIndex()
Remote version of the Node.getIndex() method. |
RemoteLock |
getLock()
Remote version of the Node.getLock() method. |
RemoteNodeType[] |
getMixinNodeTypes()
Remote version of the Node.getMixinNodeTypes()
method. |
RemoteNode |
getNode(java.lang.String path)
Remote version of the Node.getNode(String) method. |
RemoteIterator |
getNodes()
Remote version of the Node.getNodes() method. |
RemoteIterator |
getNodes(java.lang.String pattern)
Remote version of the Node.getNodes(String) method. |
RemoteItem |
getPrimaryItem()
Remote version of the Node.getPrimaryItem() method. |
RemoteNodeType |
getPrimaryNodeType()
Remote version of the Node.getPrimaryNodeType()
method. |
RemoteIterator |
getProperties()
Remote version of the Node.getProperties() method. |
RemoteIterator |
getProperties(java.lang.String pattern)
Remote version of the Node.getProperties(String)
method. |
RemoteProperty |
getProperty(java.lang.String path)
Remote version of the Node.getProperty(String)
method. |
RemoteIterator |
getReferences()
Remote version of the Node.getReferences() method. |
java.lang.String |
getUUID()
Remote version of the Node.getUUID() method. |
RemoteVersionHistory |
getVersionHistory()
Remote version of the Node.getVersionHistory()
method. |
boolean |
hasNode(java.lang.String path)
Remote version of the Node.hasNode(String) method. |
boolean |
hasNodes()
Remote version of the Node.hasNodes() method. |
boolean |
hasProperties()
Remote version of the Node.hasProperties() method. |
boolean |
hasProperty(java.lang.String path)
Remote version of the Node.hasProperty() method. |
boolean |
holdsLock()
Remote version of the Node.holdsLock() method. |
boolean |
isCheckedOut()
Remote version of the Node.isCheckedOut() method. |
boolean |
isLocked()
Remote version of the Node.isLocked() method. |
boolean |
isNodeType(java.lang.String type)
Remote version of the Node.isNodeType(String) method. |
RemoteLock |
lock(boolean isDeep,
boolean isSessionScoped)
Remote version of the Node.lock(boolean,boolean)
method. |
RemoteIterator |
merge(java.lang.String workspace,
boolean bestEffort)
Remote version of the Node.merge(String,boolean)
method. |
void |
orderBefore(java.lang.String src,
java.lang.String dst)
Remote version of the Node.orderBefore(String,String) method. |
void |
removeMixin(java.lang.String name)
Remote version of the Node.removeMixin(String)
method. |
void |
restore(java.lang.String version,
boolean removeExisting)
Remote version of the Node.restore(String,boolean) method. |
void |
restore(java.lang.String versionUUID,
java.lang.String path,
boolean removeExisting)
Remote version of the Node.restore(Version,String,boolean) method. |
void |
restoreByLabel(java.lang.String label,
boolean removeExisting)
Remote version of the Node.restoreByLabel(String,boolean) method. |
void |
restoreByUUID(java.lang.String versionUUID,
boolean removeExisting)
Remote version of the Node.restore(Version,boolean) method. |
RemoteProperty |
setProperty(java.lang.String name,
javax.jcr.Value value)
Remote version of the Node.setProperty(String,Value) method. |
RemoteProperty |
setProperty(java.lang.String name,
javax.jcr.Value[] values)
Remote version of the Node.setProperty(String,Value[]) method. |
RemoteProperty |
setProperty(java.lang.String name,
javax.jcr.Value[] values,
int type)
Remote version of the Node.setProperty(String,Value[],int) method. |
RemoteProperty |
setProperty(java.lang.String name,
javax.jcr.Value value,
int type)
Remote version of the Node.setProperty(String,Value) method. |
void |
unlock()
Remote version of the Node.unlock() method. |
void |
update(java.lang.String workspace)
Remote version of the Node.update(String) method. |
| Methods inherited from interface org.exoplatform.services.jcr.rmi.api.remote.RemoteItem |
|---|
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save |
| Method Detail |
|---|
RemoteNode addNode(java.lang.String path)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.addNode(Sring) method.
path - relative path
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteNode addNode(java.lang.String path,
java.lang.String type)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.addNode(String,String)
method.
path - relative pathtype - node type name
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteProperty getProperty(java.lang.String path)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getProperty(String)
method.
path - relative path
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteIterator getProperties()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getProperties() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteIterator getProperties(java.lang.String pattern)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getProperties(String)
method.
pattern - property name pattern
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteItem getPrimaryItem()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getPrimaryItem() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
java.lang.String getUUID()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getUUID() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteIterator getReferences()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getReferences() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteIterator getNodes()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getNodes() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteIterator getNodes(java.lang.String pattern)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getNodes(String) method.
pattern - node name pattern
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
boolean hasNode(java.lang.String path)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.hasNode(String) method.
path - relative path
true if the identified node exists, false otherwise
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
boolean hasProperty(java.lang.String path)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.hasProperty() method.
path - relative path
true if the identified property exists, false otherwise
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
boolean hasNodes()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.hasNodes() method.
true if this node has child nodes, false otherwise
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
boolean hasProperties()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.hasProperties() method.
true if this node has properties, false otherwise
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteNodeType getPrimaryNodeType()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getPrimaryNodeType()
method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteNodeType[] getMixinNodeTypes()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getMixinNodeTypes()
method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
boolean isNodeType(java.lang.String type)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.isNodeType(String) method.
type - node type name
true if this node is an instance of the identified type,
false otherwise
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteNode getNode(java.lang.String path)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getNode(String) method.
path - relative path
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void orderBefore(java.lang.String src,
java.lang.String dst)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.orderBefore(String,String) method.
src - source pathdst - destination path
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteProperty setProperty(java.lang.String name,
javax.jcr.Value value)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.setProperty(String,Value) method.
name - property namevalue - property value
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteProperty setProperty(java.lang.String name,
javax.jcr.Value value,
int type)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.setProperty(String,Value) method.
name - property namevalue - property valuetype - property type
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteProperty setProperty(java.lang.String name,
javax.jcr.Value[] values)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.setProperty(String,Value[]) method.
name - property namevalues - property values
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void addMixin(java.lang.String name)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.addMixin(String) method.
name - mixin type name
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void removeMixin(java.lang.String name)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.removeMixin(String)
method.
name - mixin type name
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
boolean canAddMixin(java.lang.String name)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.canAddMixin(String)
method.
name - mixin type name
true if the mixin type can be added, false otherwise
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteNodeDefinition getDefinition()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getDefinition() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteVersion checkin()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.checkin() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void checkout()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.checkout() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void update(java.lang.String workspace)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.update(String) method.
workspace - source workspace name
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteIterator merge(java.lang.String workspace,
boolean bestEffort)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.merge(String,boolean)
method.
workspace - source workspace namebestEffort - best effort flag
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void cancelMerge(java.lang.String versionUUID)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.cancelMerge(Version) method.
versionUUID - The UUID of the version whose labels are to be returned.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void doneMerge(java.lang.String versionUUID)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.doneMerge(Version) method.
versionUUID - The UUID of the version whose labels are to be returned.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
java.lang.String getCorrespondingNodePath(java.lang.String workspace)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getCorrespondingNodePath(String) method.
workspace - workspace name
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
int getIndex()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getIndex() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void restore(java.lang.String version,
boolean removeExisting)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.restore(String,boolean) method.
version - version nameremoveExisting - flag to remove conflicting nodes
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void restoreByUUID(java.lang.String versionUUID,
boolean removeExisting)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.restore(Version,boolean) method.
This method has been rename to prevent a naming clash with restore(String, boolean).
versionUUID - The UUID of the version whose labels are to be returned.removeExisting - flag to remove conflicting nodes
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void restore(java.lang.String versionUUID,
java.lang.String path,
boolean removeExisting)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.restore(Version,String,boolean) method.
versionUUID - The UUID of the version whose labels are to be returned.path - the path to which the version is to be restoredremoveExisting - flag to remove conflicting nodes
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void restoreByLabel(java.lang.String label,
boolean removeExisting)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.restoreByLabel(String,boolean) method.
label - version labelremoveExisting - flag to remove conflicting nodes
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void unlock()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.unlock() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
boolean holdsLock()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.holdsLock() method.
true if this node holds a lock, false otherwise
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
boolean isLocked()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.isLocked() method.
true if this node is locked, false otherwise
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
boolean isCheckedOut()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.isCheckedOut() method.
true if this node is checked out, false otherwise
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteVersionHistory getVersionHistory()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getVersionHistory()
method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteVersion getBaseVersion()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getBaseVersion() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteProperty setProperty(java.lang.String name,
javax.jcr.Value[] values,
int type)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.setProperty(String,Value[],int) method.
name - property namevalues - property valuestype - property type
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteLock lock(boolean isDeep,
boolean isSessionScoped)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.lock(boolean,boolean)
method.
isDeep - flag to create a deep lockisSessionScoped - flag to create a session-scoped lock
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteLock getLock()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Node.getLock() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||