Package org.apache.jackrabbit.rmi.server
Class ServerNode
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- org.apache.jackrabbit.rmi.server.ServerObject
-
- org.apache.jackrabbit.rmi.server.ServerItem
-
- org.apache.jackrabbit.rmi.server.ServerNode
-
- All Implemented Interfaces:
Serializable,Remote,RemoteItem,RemoteNode
- Direct Known Subclasses:
ServerVersion,ServerVersionHistory
@Deprecated public class ServerNode extends ServerItem implements RemoteNode
Deprecated.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Remote adapter for the JCR
Nodeinterface. This class makes a local node available as an RMI service using theRemoteNodeinterface.- See Also:
Node,RemoteNode, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Constructor Description ServerNode(Node node, RemoteAdapterFactory factory)Deprecated.Creates a remote adapter for the given local node.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddMixin(String name)Deprecated.Remote version of theNode.addMixin(String)method.RemoteNodeaddNode(String path)Deprecated.Remote version of theNode.addNode(Sring)method.RemoteNodeaddNode(String path, String type)Deprecated.Remote version of theNode.addNode(String,String)method.booleancanAddMixin(String name)Deprecated.Remote version of theNode.canAddMixin(String)method.voidcancelMerge(String versionUUID)Deprecated.Remote version of theNode.cancelMerge(Version)method.RemoteVersioncheckin()Deprecated.Remote version of theNode.checkin()method.voidcheckout()Deprecated.Remote version of theNode.checkout()method.voiddoneMerge(String versionUUID)Deprecated.Remote version of theNode.doneMerge(Version)method.voidfollowLifecycleTransition(String transition)Deprecated.Remote version of theNode.followLifecycleTransition(String)method.String[]getAllowedLifecycleTransistions()Deprecated.Remote version of theNode.getAllowedLifecycleTransistions()method.RemoteVersiongetBaseVersion()Deprecated.Remote version of theNode.getBaseVersion()method.StringgetCorrespondingNodePath(String workspace)Deprecated.Remote version of theNode.getCorrespondingNodePath(String)method.RemoteNodeDefinitiongetDefinition()Deprecated.Remote version of theNode.getDefinition()method.StringgetIdentifier()Deprecated.Remote version of theNode.getIdentifier()method.intgetIndex()Deprecated.Remote version of theNode.getIndex()method.RemoteLockgetLock()Deprecated.Remote version of theNode.getLock()method.RemoteNodeType[]getMixinNodeTypes()Deprecated.Remote version of theNode.getMixinNodeTypes()method.RemoteNodegetNode(String path)Deprecated.Remote version of theNode.getNode(String)method.RemoteIteratorgetNodes()Deprecated.Remote version of theNode.getNodes()method.RemoteIteratorgetNodes(String pattern)Deprecated.Remote version of theNode.getNodes(String)method.RemoteIteratorgetNodes(String[] globs)Deprecated.Remote version of theNode.getNodes(String[])method.RemoteItemgetPrimaryItem()Deprecated.Remote version of theNode.getPrimaryItem()method.RemoteNodeTypegetPrimaryNodeType()Deprecated.Remote version of theNode.getPrimaryNodeType()method.RemoteIteratorgetProperties()Deprecated.Remote version of theNode.getProperties()method.RemoteIteratorgetProperties(String pattern)Deprecated.Remote version of theNode.getProperties(String)method.RemoteIteratorgetProperties(String[] globs)Deprecated.Remote version of theNode.getProperties(String[])method.RemotePropertygetProperty(String path)Deprecated.Remote version of theNode.getProperty(String)method.RemoteIteratorgetReferences()Deprecated.Remote version of theNode.getReferences()method.RemoteIteratorgetReferences(String name)Deprecated.Remote version of theNode.getReferences(String)method.RemoteIteratorgetSharedSet()Deprecated.Remote version of theNode.getSharedSet()method.StringgetUUID()Deprecated.Remote version of theNode.getUUID()method.protected VersiongetVersionByUUID(String versionUUID)Deprecated.Returns theVersioninstance for the given UUID.RemoteVersionHistorygetVersionHistory()Deprecated.Remote version of theNode.getVersionHistory()method.RemoteIteratorgetWeakReferences()Deprecated.Remote version of theNode.getWeakReferences()method.RemoteIteratorgetWeakReferences(String name)Deprecated.Remote version of theNode.getWeakReferences(String)method.booleanhasNode(String path)Deprecated.Remote version of theNode.hasNode(String)method.booleanhasNodes()Deprecated.Remote version of theNode.hasNodes()method.booleanhasProperties()Deprecated.Remote version of theNode.hasProperties()method.booleanhasProperty(String path)Deprecated.Remote version of theNode.hasProperty()method.booleanholdsLock()Deprecated.Remote version of theNode.holdsLock()method.booleanisCheckedOut()Deprecated.Remote version of theNode.isCheckedOut()method.booleanisLocked()Deprecated.Remote version of theNode.isLocked()method.booleanisNodeType(String type)Deprecated.Remote version of theNode.isNodeType(String)method.RemoteLocklock(boolean isDeep, boolean isSessionScoped)Deprecated.Remote version of theNode.lock(boolean,boolean)method.RemoteIteratormerge(String workspace, boolean bestEffort)Deprecated.Remote version of theNode.merge(String,boolean)method.voidorderBefore(String src, String dst)Deprecated.Remote version of theNode.orderBefore(String,String)method.voidremoveMixin(String name)Deprecated.Remote version of theNode.removeMixin(String)method.voidremoveShare()Deprecated.Remote version of theNode.removeShare()method.voidremoveSharedSet()Deprecated.Remote version of theNode.removeSharedSet()method.voidrestore(String version, boolean removeExisting)Deprecated.Remote version of theNode.restore(String,boolean)method.voidrestore(String versionUUID, String path, boolean removeExisting)Deprecated.Remote version of theNode.restore(Version,String,boolean)method.voidrestoreByLabel(String label, boolean removeExisting)Deprecated.Remote version of theNode.restoreByLabel(String,boolean)method.voidrestoreByUUID(String versionUUID, boolean removeExisting)Deprecated.Remote version of theNode.restore(Version,boolean)method.voidsetPrimaryType(String nodeTypeName)Deprecated.Remote version of theNode.setPrimaryType(String)method.RemotePropertysetProperty(String name, Value value)Deprecated.Remote version of theNode.setProperty(String,Value)method.RemotePropertysetProperty(String name, Value[] values)Deprecated.Remote version of theNode.setProperty(String,Value[])method.RemotePropertysetProperty(String name, Value[] values, int type)Deprecated.Remote version of theNode.setProperty(String,Value[],int)method.RemotePropertysetProperty(String name, Value value, int type)Deprecated.Remote version of theNode.setProperty(String,Value)method.voidunlock()Deprecated.Remote version of theNode.unlock()method.voidupdate(String workspace)Deprecated.Remote version of theNode.update(String)method.-
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerItem
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
-
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
-
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteItem
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
-
-
-
-
Constructor Detail
-
ServerNode
public ServerNode(Node node, RemoteAdapterFactory factory) throws RemoteException
Deprecated.Creates a remote adapter for the given local node.- Parameters:
node- local nodefactory- remote adapter factory- Throws:
RemoteException- on RMI errors
-
-
Method Detail
-
addNode
public RemoteNode addNode(String path) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.addNode(Sring)method.- Specified by:
addNodein interfaceRemoteNode- Parameters:
path- relative path- Returns:
- new node
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
addNode
public RemoteNode addNode(String path, String type) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.addNode(String,String)method.- Specified by:
addNodein interfaceRemoteNode- Parameters:
path- relative pathtype- node type name- Returns:
- new node
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getProperty
public RemoteProperty getProperty(String path) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getProperty(String)method.- Specified by:
getPropertyin interfaceRemoteNode- Parameters:
path- relative path- Returns:
- node property
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getProperties
public RemoteIterator getProperties() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getProperties()method.- Specified by:
getPropertiesin interfaceRemoteNode- Returns:
- node properties
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getPrimaryItem
public RemoteItem getPrimaryItem() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getPrimaryItem()method.- Specified by:
getPrimaryItemin interfaceRemoteNode- Returns:
- primary item
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getProperties
public RemoteIterator getProperties(String pattern) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getProperties(String)method.- Specified by:
getPropertiesin interfaceRemoteNode- Parameters:
pattern- property name pattern- Returns:
- matching node properties
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getProperties
public RemoteIterator getProperties(String[] globs) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getProperties(String[])method.- Specified by:
getPropertiesin interfaceRemoteNode- Parameters:
globs- property name globs- Returns:
- matching node properties
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getReferences
public RemoteIterator getReferences() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getReferences()method.- Specified by:
getReferencesin interfaceRemoteNode- Returns:
- reference properties
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getReferences
public RemoteIterator getReferences(String name) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getReferences(String)method.- Specified by:
getReferencesin interfaceRemoteNode- Parameters:
name- reference property name- Returns:
- reference properties
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getIdentifier
public String getIdentifier() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getIdentifier()method.- Specified by:
getIdentifierin interfaceRemoteNode- Returns:
- node identifier
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getUUID
public String getUUID() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getUUID()method.- Specified by:
getUUIDin interfaceRemoteNode- Returns:
- node uuid
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
hasNodes
public boolean hasNodes() throws RepositoryException, RemoteExceptionDeprecated.Remote version of theNode.hasNodes()method.- Specified by:
hasNodesin interfaceRemoteNode- Returns:
trueif this node has child nodes,falseotherwise- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
hasProperties
public boolean hasProperties() throws RepositoryException, RemoteExceptionDeprecated.Remote version of theNode.hasProperties()method.- Specified by:
hasPropertiesin interfaceRemoteNode- Returns:
trueif this node has properties,falseotherwise- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
hasProperty
public boolean hasProperty(String path) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.hasProperty()method.- Specified by:
hasPropertyin interfaceRemoteNode- Parameters:
path- relative path- Returns:
trueif the identified property exists,falseotherwise- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getMixinNodeTypes
public RemoteNodeType[] getMixinNodeTypes() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getMixinNodeTypes()method.- Specified by:
getMixinNodeTypesin interfaceRemoteNode- Returns:
- mixin node types
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getPrimaryNodeType
public RemoteNodeType getPrimaryNodeType() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getPrimaryNodeType()method.- Specified by:
getPrimaryNodeTypein interfaceRemoteNode- Returns:
- primary node type
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
isNodeType
public boolean isNodeType(String type) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.isNodeType(String)method.- Specified by:
isNodeTypein interfaceRemoteNode- Parameters:
type- node type name- Returns:
trueif this node is an instance of the identified type,falseotherwise- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getNodes
public RemoteIterator getNodes() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getNodes()method.- Specified by:
getNodesin interfaceRemoteNode- Returns:
- child nodes
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getNodes
public RemoteIterator getNodes(String pattern) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getNodes(String)method.- Specified by:
getNodesin interfaceRemoteNode- Parameters:
pattern- node name pattern- Returns:
- matching child nodes
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getNodes
public RemoteIterator getNodes(String[] globs) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getNodes(String[])method.- Specified by:
getNodesin interfaceRemoteNode- Parameters:
globs- node name globs- Returns:
- matching child nodes
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getNode
public RemoteNode getNode(String path) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getNode(String)method.- Specified by:
getNodein interfaceRemoteNode- Parameters:
path- relative path- Returns:
- node
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
hasNode
public boolean hasNode(String path) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.hasNode(String)method.- Specified by:
hasNodein interfaceRemoteNode- Parameters:
path- relative path- Returns:
trueif the identified node exists,falseotherwise- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
setProperty
public RemoteProperty setProperty(String name, Value value) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.setProperty(String,Value)method.- Specified by:
setPropertyin interfaceRemoteNode- Parameters:
name- property namevalue- property value- Returns:
- property
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
setProperty
public RemoteProperty setProperty(String name, Value value, int type) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.setProperty(String,Value)method.- Specified by:
setPropertyin interfaceRemoteNode- Parameters:
name- property namevalue- property valuetype- property type- Returns:
- property
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
addMixin
public void addMixin(String name) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.addMixin(String)method.- Specified by:
addMixinin interfaceRemoteNode- Parameters:
name- mixin type name- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
canAddMixin
public boolean canAddMixin(String name) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.canAddMixin(String)method.- Specified by:
canAddMixinin interfaceRemoteNode- Parameters:
name- mixin type name- Returns:
trueif the mixin type can be added,falseotherwise- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
removeMixin
public void removeMixin(String name) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.removeMixin(String)method.- Specified by:
removeMixinin interfaceRemoteNode- Parameters:
name- mixin type name- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
orderBefore
public void orderBefore(String src, String dst) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.orderBefore(String,String)method.- Specified by:
orderBeforein interfaceRemoteNode- Parameters:
src- source pathdst- destination path- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
setProperty
public RemoteProperty setProperty(String name, Value[] values) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.setProperty(String,Value[])method.- Specified by:
setPropertyin interfaceRemoteNode- Parameters:
name- property namevalues- property values- Returns:
- property
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getDefinition
public RemoteNodeDefinition getDefinition() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getDefinition()method.- Specified by:
getDefinitionin interfaceRemoteNode- Returns:
- node definition
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
checkin
public RemoteVersion checkin() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.checkin()method.- Specified by:
checkinin interfaceRemoteNode- Returns:
- checked in version
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
checkout
public void checkout() throws RepositoryException, RemoteExceptionDeprecated.Remote version of theNode.checkout()method.- Specified by:
checkoutin interfaceRemoteNode- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getCorrespondingNodePath
public String getCorrespondingNodePath(String workspace) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getCorrespondingNodePath(String)method.- Specified by:
getCorrespondingNodePathin interfaceRemoteNode- Parameters:
workspace- workspace name- Returns:
- corresponding node path
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getIndex
public int getIndex() throws RepositoryException, RemoteExceptionDeprecated.Remote version of theNode.getIndex()method.- Specified by:
getIndexin interfaceRemoteNode- Returns:
- node index
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
merge
public RemoteIterator merge(String workspace, boolean bestEffort) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.merge(String,boolean)method.- Specified by:
mergein interfaceRemoteNode- Parameters:
workspace- source workspace namebestEffort- best effort flag- Returns:
- nodes that failed to merge
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
cancelMerge
public void cancelMerge(String versionUUID) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.cancelMerge(Version)method.- Specified by:
cancelMergein interfaceRemoteNode- Parameters:
versionUUID- The UUID of the version whose labels are to be returned.- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
doneMerge
public void doneMerge(String versionUUID) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.doneMerge(Version)method.- Specified by:
doneMergein interfaceRemoteNode- Parameters:
versionUUID- The UUID of the version whose labels are to be returned.- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
restore
public void restore(String version, boolean removeExisting) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.restore(String,boolean)method.- Specified by:
restorein interfaceRemoteNode- Parameters:
version- version nameremoveExisting- flag to remove conflicting nodes- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
restoreByUUID
public void restoreByUUID(String versionUUID, boolean removeExisting) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.restore(Version,boolean)method.This method has been rename to prevent a naming clash with
RemoteNode.restore(String, boolean).- Specified by:
restoreByUUIDin interfaceRemoteNode- Parameters:
versionUUID- The UUID of the version whose labels are to be returned.removeExisting- flag to remove conflicting nodes- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
restore
public void restore(String versionUUID, String path, boolean removeExisting) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.restore(Version,String,boolean)method.- Specified by:
restorein interfaceRemoteNode- Parameters:
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- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
restoreByLabel
public void restoreByLabel(String label, boolean removeExisting) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.restoreByLabel(String,boolean)method.- Specified by:
restoreByLabelin interfaceRemoteNode- Parameters:
label- version labelremoveExisting- flag to remove conflicting nodes- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
update
public void update(String workspace) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.update(String)method.- Specified by:
updatein interfaceRemoteNode- Parameters:
workspace- source workspace name- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
holdsLock
public boolean holdsLock() throws RepositoryException, RemoteExceptionDeprecated.Remote version of theNode.holdsLock()method.- Specified by:
holdsLockin interfaceRemoteNode- Returns:
trueif this node holds a lock,falseotherwise- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
isCheckedOut
public boolean isCheckedOut() throws RepositoryException, RemoteExceptionDeprecated.Remote version of theNode.isCheckedOut()method.- Specified by:
isCheckedOutin interfaceRemoteNode- Returns:
trueif this node is checked out,falseotherwise- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getVersionHistory
public RemoteVersionHistory getVersionHistory() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getVersionHistory()method.- Specified by:
getVersionHistoryin interfaceRemoteNode- Returns:
- the remote version history.
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getBaseVersion
public RemoteVersion getBaseVersion() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getBaseVersion()method.- Specified by:
getBaseVersionin interfaceRemoteNode- Returns:
- the remote base version
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
isLocked
public boolean isLocked() throws RepositoryException, RemoteExceptionDeprecated.Remote version of theNode.isLocked()method.- Specified by:
isLockedin interfaceRemoteNode- Returns:
trueif this node is locked,falseotherwise- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
setProperty
public RemoteProperty setProperty(String name, Value[] values, int type) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.setProperty(String,Value[],int)method.- Specified by:
setPropertyin interfaceRemoteNode- Parameters:
name- property namevalues- property valuestype- property type- Returns:
- property
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
unlock
public void unlock() throws RepositoryException, RemoteExceptionDeprecated.Remote version of theNode.unlock()method.- Specified by:
unlockin interfaceRemoteNode- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getLock
public RemoteLock getLock() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getLock()method.- Specified by:
getLockin interfaceRemoteNode- Returns:
- lock
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
lock
public RemoteLock lock(boolean isDeep, boolean isSessionScoped) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.lock(boolean,boolean)method.- Specified by:
lockin interfaceRemoteNode- Parameters:
isDeep- flag to create a deep lockisSessionScoped- flag to create a session-scoped lock- Returns:
- lock
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getSharedSet
public RemoteIterator getSharedSet() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getSharedSet()method.- Specified by:
getSharedSetin interfaceRemoteNode- Returns:
- a
NodeIterator. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
followLifecycleTransition
public void followLifecycleTransition(String transition) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.followLifecycleTransition(String)method.- Specified by:
followLifecycleTransitionin interfaceRemoteNode- Parameters:
transition- a state transition- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getAllowedLifecycleTransistions
public String[] getAllowedLifecycleTransistions() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getAllowedLifecycleTransistions()method.- Specified by:
getAllowedLifecycleTransistionsin interfaceRemoteNode- Returns:
- a
Stringarray. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getWeakReferences
public RemoteIterator getWeakReferences() throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getWeakReferences()method.- Specified by:
getWeakReferencesin interfaceRemoteNode- Returns:
- A
PropertyIterator. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getWeakReferences
public RemoteIterator getWeakReferences(String name) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.getWeakReferences(String)method.- Specified by:
getWeakReferencesin interfaceRemoteNode- Parameters:
name- name of referringWEAKREFERENCEproperties to be returned; ifnullthen all referringWEAKREFERENCEs are returned.- Returns:
- A
PropertyIterator. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
removeShare
public void removeShare() throws RepositoryException, RemoteExceptionDeprecated.Remote version of theNode.removeShare()method.- Specified by:
removeSharein interfaceRemoteNode- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
removeSharedSet
public void removeSharedSet() throws RepositoryException, RemoteExceptionDeprecated.Remote version of theNode.removeSharedSet()method.- Specified by:
removeSharedSetin interfaceRemoteNode- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
setPrimaryType
public void setPrimaryType(String nodeTypeName) throws RepositoryException, RemoteException
Deprecated.Remote version of theNode.setPrimaryType(String)method.- Specified by:
setPrimaryTypein interfaceRemoteNode- Parameters:
nodeTypeName- the node type name- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getVersionByUUID
protected Version getVersionByUUID(String versionUUID) throws RepositoryException
Deprecated.Returns theVersioninstance for the given UUID.- Parameters:
versionUUID- The UUID of the version.- Returns:
- The version node.
- Throws:
RepositoryException- if an error occurrs accessing the version node or if the UUID does not denote a version.
-
-