Interface RemoteNode
-
- All Superinterfaces:
Remote
,RemoteItem
- All Known Subinterfaces:
RemoteVersion
,RemoteVersionHistory
- All Known Implementing Classes:
ServerNode
,ServerVersion
,ServerVersionHistory
@Deprecated(forRemoval=true) public interface RemoteNode extends RemoteItem
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 version of the JCR
Node
interface. Used by theServerNode
andClientNode
adapters to provide transparent RMI access to remote nodes.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. Complex 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 signaled 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. The
SerialValueFactory
class provides two convenience methods to satisfy these requirements.- See Also:
Node
,ClientNode
,ServerNode
-
-
Method Summary
All Methods Instance Methods Abstract 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.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 interface org.apache.jackrabbit.rmi.remote.RemoteItem
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
-
-
-
-
Method Detail
-
addNode
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.- Parameters:
path
- relative path- Returns:
- new node
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
addNode
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.- Parameters:
path
- relative pathtype
- node type name- Returns:
- new node
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getProperty
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.- Parameters:
path
- relative path- Returns:
- node property
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getProperties
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.- Returns:
- node properties
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getProperties
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.- Parameters:
pattern
- property name pattern- Returns:
- matching node properties
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getProperties
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.- Parameters:
globs
- property name globs- Returns:
- matching node properties
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getPrimaryItem
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.- Returns:
- primary item
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getIdentifier
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.- Returns:
- node identifier
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getUUID
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.- Returns:
- node uuid
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getReferences
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.- Returns:
- reference properties
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getReferences
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.- Parameters:
name
- reference property name- Returns:
- reference properties
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getNodes
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.- Returns:
- child nodes
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getNodes
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.- Parameters:
pattern
- node name pattern- Returns:
- matching child nodes
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getNodes
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.- Parameters:
globs
- node name globs- Returns:
- matching child nodes
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
hasNode
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.- Parameters:
path
- relative path- Returns:
true
if the identified node exists,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
hasProperty
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.- Parameters:
path
- relative path- Returns:
true
if the identified property exists,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
hasNodes
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.- Returns:
true
if this node has child nodes,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
hasProperties
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.- Returns:
true
if this node has properties,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getPrimaryNodeType
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.- Returns:
- primary node type
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getMixinNodeTypes
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.- Returns:
- mixin node types
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
isNodeType
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.- 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
-
getNode
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.- Parameters:
path
- relative path- Returns:
- node
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
orderBefore
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.- Parameters:
src
- source pathdst
- destination path- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
setProperty
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.- Parameters:
name
- property namevalue
- property value- Returns:
- property
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
setProperty
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.- Parameters:
name
- property namevalue
- property valuetype
- property type- Returns:
- property
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
setProperty
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.- Parameters:
name
- property namevalues
- property values- Returns:
- property
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
addMixin
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.- Parameters:
name
- mixin type name- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
removeMixin
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.- Parameters:
name
- mixin type name- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
canAddMixin
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.- Parameters:
name
- mixin type name- Returns:
true
if the mixin type can be added,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getDefinition
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.- Returns:
- node definition
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
checkin
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.- Returns:
- checked in version
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
checkout
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.- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
update
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.- Parameters:
workspace
- source workspace name- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
merge
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.- Parameters:
workspace
- source workspace namebestEffort
- best effort flag- Returns:
- nodes that failed to merge
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
cancelMerge
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.- Parameters:
versionUUID
- The UUID of the version whose labels are to be returned.- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
doneMerge
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.- Parameters:
versionUUID
- The UUID of the version whose labels are to be returned.- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getCorrespondingNodePath
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.- Parameters:
workspace
- workspace name- Returns:
- corresponding node path
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getIndex
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.- Returns:
- node index
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
restore
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.- Parameters:
version
- version nameremoveExisting
- flag to remove conflicting nodes- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
restoreByUUID
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
restore(String, boolean)
.- 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
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.- 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
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.- Parameters:
label
- version labelremoveExisting
- flag to remove conflicting nodes- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
unlock
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.- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
holdsLock
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.- Returns:
true
if this node holds a lock,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
isLocked
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.- Returns:
true
if this node is locked,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
isCheckedOut
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.- Returns:
true
if this node is checked out,false
otherwise- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getVersionHistory
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.- Returns:
- the remote version history.
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getBaseVersion
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.- Returns:
- the remote base version
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
setProperty
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.- Parameters:
name
- property namevalues
- property valuestype
- property type- Returns:
- property
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
lock
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.- 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
-
getLock
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.- Returns:
- lock
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getSharedSet
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.- Returns:
- a
NodeIterator
. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
followLifecycleTransition
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.- Parameters:
transition
- a state transition- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getAllowedLifecycleTransistions
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.- Returns:
- a
String
array. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getWeakReferences
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.- Returns:
- A
PropertyIterator
. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getWeakReferences
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.- 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
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.- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
removeSharedSet
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.- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
setPrimaryType
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.- Parameters:
nodeTypeName
- the node type name- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
-