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(forRemoval=true) public class ServerNode extends ServerItem implements RemoteNode
Deprecated, for removal: This API element is subject to removal in a future version.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
Node
interface. This class makes a local node available as an RMI service using theRemoteNode
interface.- 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, for removal: This API element is subject to removal in a future version.Creates a remote adapter for the given local node.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addMixin(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.addMixin(String)
method.RemoteNode
addNode(String path)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.addNode(Sring)
method.RemoteNode
addNode(String path, String type)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.addNode(String,String)
method.boolean
canAddMixin(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.canAddMixin(String)
method.void
cancelMerge(String versionUUID)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.cancelMerge(Version)
method.RemoteVersion
checkin()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.checkin()
method.void
checkout()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.checkout()
method.void
doneMerge(String versionUUID)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.doneMerge(Version)
method.void
followLifecycleTransition(String transition)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.followLifecycleTransition(String)
method.String[]
getAllowedLifecycleTransistions()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getAllowedLifecycleTransistions()
method.RemoteVersion
getBaseVersion()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getBaseVersion()
method.String
getCorrespondingNodePath(String workspace)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getCorrespondingNodePath(String)
method.RemoteNodeDefinition
getDefinition()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getDefinition()
method.String
getIdentifier()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getIdentifier()
method.int
getIndex()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getIndex()
method.RemoteLock
getLock()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getLock()
method.RemoteNodeType[]
getMixinNodeTypes()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getMixinNodeTypes()
method.RemoteNode
getNode(String path)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getNode(String)
method.RemoteIterator
getNodes()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getNodes()
method.RemoteIterator
getNodes(String pattern)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getNodes(String)
method.RemoteIterator
getNodes(String[] globs)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getNodes(String[])
method.RemoteItem
getPrimaryItem()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getPrimaryItem()
method.RemoteNodeType
getPrimaryNodeType()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getPrimaryNodeType()
method.RemoteIterator
getProperties()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getProperties()
method.RemoteIterator
getProperties(String pattern)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getProperties(String)
method.RemoteIterator
getProperties(String[] globs)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getProperties(String[])
method.RemoteProperty
getProperty(String path)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getProperty(String)
method.RemoteIterator
getReferences()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getReferences()
method.RemoteIterator
getReferences(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getReferences(String)
method.RemoteIterator
getSharedSet()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getSharedSet()
method.String
getUUID()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getUUID()
method.protected Version
getVersionByUUID(String versionUUID)
Deprecated, for removal: This API element is subject to removal in a future version.Returns theVersion
instance for the given UUID.RemoteVersionHistory
getVersionHistory()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getVersionHistory()
method.RemoteIterator
getWeakReferences()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getWeakReferences()
method.RemoteIterator
getWeakReferences(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getWeakReferences(String)
method.boolean
hasNode(String path)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.hasNode(String)
method.boolean
hasNodes()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.hasNodes()
method.boolean
hasProperties()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.hasProperties()
method.boolean
hasProperty(String path)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.hasProperty()
method.boolean
holdsLock()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.holdsLock()
method.boolean
isCheckedOut()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.isCheckedOut()
method.boolean
isLocked()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.isLocked()
method.boolean
isNodeType(String type)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.isNodeType(String)
method.RemoteLock
lock(boolean isDeep, boolean isSessionScoped)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.lock(boolean,boolean)
method.RemoteIterator
merge(String workspace, boolean bestEffort)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.merge(String,boolean)
method.void
orderBefore(String src, String dst)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.orderBefore(String,String)
method.void
removeMixin(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.removeMixin(String)
method.void
removeShare()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.removeShare()
method.void
removeSharedSet()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.removeSharedSet()
method.void
restore(String version, boolean removeExisting)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.restore(String,boolean)
method.void
restore(String versionUUID, String path, boolean removeExisting)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.restore(Version,String,boolean)
method.void
restoreByLabel(String label, boolean removeExisting)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.restoreByLabel(String,boolean)
method.void
restoreByUUID(String versionUUID, boolean removeExisting)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.restore(Version,boolean)
method.void
setPrimaryType(String nodeTypeName)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.setPrimaryType(String)
method.RemoteProperty
setProperty(String name, Value value)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.setProperty(String,Value)
method.RemoteProperty
setProperty(String name, Value[] values)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.setProperty(String,Value[])
method.RemoteProperty
setProperty(String name, Value[] values, int type)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.setProperty(String,Value[],int)
method.RemoteProperty
setProperty(String name, Value value, int type)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.setProperty(String,Value)
method.void
unlock()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.unlock()
method.void
update(String workspace)
Deprecated, for removal: This API element is subject to removal in a future version.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, 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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.Remote version of theNode.addNode(Sring)
method.- Specified by:
addNode
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.addNode(String,String)
method.- Specified by:
addNode
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.getProperty(String)
method.- Specified by:
getProperty
in interfaceRemoteNode
- Parameters:
path
- relative path- Returns:
- node property
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getProperties
public RemoteIterator getProperties() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getProperties()
method.- Specified by:
getProperties
in interfaceRemoteNode
- Returns:
- node properties
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getPrimaryItem
public RemoteItem getPrimaryItem() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getPrimaryItem()
method.- Specified by:
getPrimaryItem
in interfaceRemoteNode
- Returns:
- primary item
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getProperties
public RemoteIterator getProperties(String pattern) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getProperties(String)
method.- Specified by:
getProperties
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.getProperties(String[])
method.- Specified by:
getProperties
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.getReferences()
method.- Specified by:
getReferences
in interfaceRemoteNode
- Returns:
- reference properties
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getReferences
public RemoteIterator getReferences(String name) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getReferences(String)
method.- Specified by:
getReferences
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.getIdentifier()
method.- Specified by:
getIdentifier
in interfaceRemoteNode
- Returns:
- node identifier
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getUUID
public String getUUID() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getUUID()
method.- Specified by:
getUUID
in interfaceRemoteNode
- Returns:
- node uuid
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
hasNodes
public boolean hasNodes() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.hasNodes()
method.- Specified by:
hasNodes
in interfaceRemoteNode
- Returns:
true
if this node has child nodes,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
hasProperties
public boolean hasProperties() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.hasProperties()
method.- Specified by:
hasProperties
in interfaceRemoteNode
- Returns:
true
if this node has properties,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
hasProperty
public boolean hasProperty(String path) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.hasProperty()
method.- Specified by:
hasProperty
in interfaceRemoteNode
- Parameters:
path
- relative path- Returns:
true
if the identified property exists,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getMixinNodeTypes
public RemoteNodeType[] getMixinNodeTypes() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getMixinNodeTypes()
method.- Specified by:
getMixinNodeTypes
in interfaceRemoteNode
- Returns:
- mixin node types
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getPrimaryNodeType
public RemoteNodeType getPrimaryNodeType() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getPrimaryNodeType()
method.- Specified by:
getPrimaryNodeType
in interfaceRemoteNode
- Returns:
- primary node type
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
isNodeType
public boolean isNodeType(String type) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.isNodeType(String)
method.- Specified by:
isNodeType
in interfaceRemoteNode
- Parameters:
type
- node type name- Returns:
true
if this node is an instance of the identified type,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getNodes
public RemoteIterator getNodes() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getNodes()
method.- Specified by:
getNodes
in interfaceRemoteNode
- Returns:
- child nodes
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getNodes
public RemoteIterator getNodes(String pattern) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getNodes(String)
method.- Specified by:
getNodes
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.getNodes(String[])
method.- Specified by:
getNodes
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.getNode(String)
method.- Specified by:
getNode
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.hasNode(String)
method.- Specified by:
hasNode
in interfaceRemoteNode
- Parameters:
path
- relative path- Returns:
true
if the identified node exists,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
setProperty
public RemoteProperty setProperty(String name, Value value) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.setProperty(String,Value)
method.- Specified by:
setProperty
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.setProperty(String,Value)
method.- Specified by:
setProperty
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.addMixin(String)
method.- Specified by:
addMixin
in interfaceRemoteNode
- Parameters:
name
- mixin type name- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
canAddMixin
public boolean canAddMixin(String name) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.canAddMixin(String)
method.- Specified by:
canAddMixin
in interfaceRemoteNode
- Parameters:
name
- mixin type name- Returns:
true
if the mixin type can be added,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
removeMixin
public void removeMixin(String name) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.removeMixin(String)
method.- Specified by:
removeMixin
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.orderBefore(String,String)
method.- Specified by:
orderBefore
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.setProperty(String,Value[])
method.- Specified by:
setProperty
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.getDefinition()
method.- Specified by:
getDefinition
in interfaceRemoteNode
- Returns:
- node definition
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
checkin
public RemoteVersion checkin() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.checkin()
method.- Specified by:
checkin
in interfaceRemoteNode
- Returns:
- checked in version
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
checkout
public void checkout() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.checkout()
method.- Specified by:
checkout
in interfaceRemoteNode
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getCorrespondingNodePath
public String getCorrespondingNodePath(String workspace) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getCorrespondingNodePath(String)
method.- Specified by:
getCorrespondingNodePath
in interfaceRemoteNode
- Parameters:
workspace
- workspace name- Returns:
- corresponding node path
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getIndex
public int getIndex() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getIndex()
method.- Specified by:
getIndex
in interfaceRemoteNode
- Returns:
- node index
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
merge
public RemoteIterator merge(String workspace, boolean bestEffort) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.merge(String,boolean)
method.- Specified by:
merge
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.cancelMerge(Version)
method.- Specified by:
cancelMerge
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.doneMerge(Version)
method.- Specified by:
doneMerge
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.restore(String,boolean)
method.- Specified by:
restore
in 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, for removal: This API element is subject to removal in a future version.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:
restoreByUUID
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.restore(Version,String,boolean)
method.- Specified by:
restore
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.restoreByLabel(String,boolean)
method.- Specified by:
restoreByLabel
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.update(String)
method.- Specified by:
update
in interfaceRemoteNode
- Parameters:
workspace
- source workspace name- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
holdsLock
public boolean holdsLock() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.holdsLock()
method.- Specified by:
holdsLock
in interfaceRemoteNode
- Returns:
true
if this node holds a lock,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
isCheckedOut
public boolean isCheckedOut() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.isCheckedOut()
method.- Specified by:
isCheckedOut
in interfaceRemoteNode
- Returns:
true
if this node is checked out,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getVersionHistory
public RemoteVersionHistory getVersionHistory() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getVersionHistory()
method.- Specified by:
getVersionHistory
in interfaceRemoteNode
- Returns:
- the remote version history.
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getBaseVersion
public RemoteVersion getBaseVersion() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getBaseVersion()
method.- Specified by:
getBaseVersion
in interfaceRemoteNode
- Returns:
- the remote base version
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
isLocked
public boolean isLocked() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.isLocked()
method.- Specified by:
isLocked
in interfaceRemoteNode
- Returns:
true
if this node is locked,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
setProperty
public RemoteProperty setProperty(String name, Value[] values, int type) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.setProperty(String,Value[],int)
method.- Specified by:
setProperty
in 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, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.unlock()
method.- Specified by:
unlock
in interfaceRemoteNode
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getLock
public RemoteLock getLock() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getLock()
method.- Specified by:
getLock
in interfaceRemoteNode
- Returns:
- lock
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
lock
public RemoteLock lock(boolean isDeep, boolean isSessionScoped) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.lock(boolean,boolean)
method.- Specified by:
lock
in 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, for removal: This API element is subject to removal in a future version.Remote version of theNode.getSharedSet()
method.- Specified by:
getSharedSet
in interfaceRemoteNode
- Returns:
- a
NodeIterator
. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
followLifecycleTransition
public void followLifecycleTransition(String transition) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.followLifecycleTransition(String)
method.- Specified by:
followLifecycleTransition
in interfaceRemoteNode
- Parameters:
transition
- a state transition- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getAllowedLifecycleTransistions
public String[] getAllowedLifecycleTransistions() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getAllowedLifecycleTransistions()
method.- Specified by:
getAllowedLifecycleTransistions
in interfaceRemoteNode
- Returns:
- a
String
array. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getWeakReferences
public RemoteIterator getWeakReferences() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getWeakReferences()
method.- Specified by:
getWeakReferences
in interfaceRemoteNode
- Returns:
- A
PropertyIterator
. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getWeakReferences
public RemoteIterator getWeakReferences(String name) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.getWeakReferences(String)
method.- Specified by:
getWeakReferences
in interfaceRemoteNode
- Parameters:
name
- name of referringWEAKREFERENCE
properties to be returned; ifnull
then all referringWEAKREFERENCE
s are returned.- Returns:
- A
PropertyIterator
. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
removeShare
public void removeShare() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.removeShare()
method.- Specified by:
removeShare
in interfaceRemoteNode
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
removeSharedSet
public void removeSharedSet() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.removeSharedSet()
method.- Specified by:
removeSharedSet
in interfaceRemoteNode
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
setPrimaryType
public void setPrimaryType(String nodeTypeName) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNode.setPrimaryType(String)
method.- Specified by:
setPrimaryType
in interfaceRemoteNode
- Parameters:
nodeTypeName
- the node type name- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getVersionByUUID
protected Version getVersionByUUID(String versionUUID) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.Returns theVersion
instance 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.
-
-