|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemoteNodeType
Remote version of the JCR NodeType
interface. Used by the
ServerNodeType
and
ClientNodeType
adapters to provide transparent RMI access to remote node types.
The methods in this interface are documented only with a reference to a corresponding NodeType method. The remote object will simply forward the method call to the underlying NodeType instance. Return values and possible exceptions are copied over the network. Complex return values (like NodeTypes and PropertyDefs) are returned as remote references to the corresponding remote interfaces. RMI errors are signaled with RemoteExceptions.
NodeType
,
ClientNodeType
,
ServerNodeType
Method Summary | |
---|---|
boolean |
canAddChildNode(String name)
Remote version of the NodeType.canAddChildNode(String)
method. |
boolean |
canAddChildNode(String name,
String type)
Remote version of the NodeType.canAddChildNode(String,String)
method. |
boolean |
canRemoveItem(String name)
Remote version of the NodeType.canRemoveItem(String)
method. |
boolean |
canSetProperty(String name,
Value value)
Remote version of the NodeType.canSetProperty(String,Value)
method. |
boolean |
canSetProperty(String name,
Value[] values)
Remote version of the NodeType.canSetProperty(String,Value[])
method. |
RemoteNodeDefinition[] |
getChildNodeDefs()
Remote version of the NodeType.getChildNodeDefs()
method. |
RemoteNodeDefinition[] |
getDeclaredChildNodeDefs()
Remote version of the NodeType.getDeclaredChildNodeDefs()
method. |
RemotePropertyDefinition[] |
getDeclaredPropertyDefs()
Remote version of the NodeType.getDeclaredPropertyDefs()
method. |
RemoteNodeType[] |
getDeclaredSupertypes()
Remote version of the NodeType.getDeclaredSupertypes()
method. |
String |
getName()
Remote version of the NodeType.getName() method. |
String |
getPrimaryItemName()
Remote version of the NodeType.getPrimaryItemName()
method. |
RemotePropertyDefinition[] |
getPropertyDefs()
Remote version of the NodeType.getPropertyDefs()
method. |
RemoteNodeType[] |
getSupertypes()
Remote version of the NodeType.getSupertypes()
method. |
boolean |
hasOrderableChildNodes()
Remote version of the NodeType.hasOrderableChildNodes()
method. |
boolean |
isAbstract()
Remote version of the NodeType.isAbstract() method. |
boolean |
isMixin()
Remote version of the NodeType.isMixin() method. |
boolean |
isNodeType(String type)
Remote version of the NodeType.isNodeType(String)
method. |
Method Detail |
---|
String getName() throws RemoteException
NodeType.getName()
method.
RemoteException
- on RMI errorsboolean isMixin() throws RemoteException
NodeType.isMixin()
method.
true
if this is a mixin type,
false
otherwise
RemoteException
- on RMI errorsboolean isAbstract() throws RemoteException
NodeType.isAbstract()
method.
true
if this is an abstract type,
false
otherwise
RemoteException
- on RMI errorsboolean hasOrderableChildNodes() throws RemoteException
NodeType.hasOrderableChildNodes()
method.
true
if nodes of this type has orderable
child nodes, false
otherwise
RemoteException
- on RMI errorsRemoteNodeType[] getSupertypes() throws RemoteException
NodeType.getSupertypes()
method.
RemoteException
- on RMI errorsRemoteNodeType[] getDeclaredSupertypes() throws RemoteException
NodeType.getDeclaredSupertypes()
method.
RemoteException
- on RMI errorsboolean isNodeType(String type) throws RemoteException
NodeType.isNodeType(String)
method.
type
- node type name
true
if this node type is or extends the
given node type, false
otherwise
RemoteException
- on RMI errorsRemotePropertyDefinition[] getPropertyDefs() throws RemoteException
NodeType.getPropertyDefs()
method.
RemoteException
- on RMI errorsRemotePropertyDefinition[] getDeclaredPropertyDefs() throws RemoteException
NodeType.getDeclaredPropertyDefs()
method.
RemoteException
- on RMI errorsRemoteNodeDefinition[] getChildNodeDefs() throws RemoteException
NodeType.getChildNodeDefs()
method.
RemoteException
- on RMI errorsRemoteNodeDefinition[] getDeclaredChildNodeDefs() throws RemoteException
NodeType.getDeclaredChildNodeDefs()
method.
RemoteException
- on RMI errorsboolean canSetProperty(String name, Value value) throws RemoteException
NodeType.canSetProperty(String,Value)
method.
name
- property namevalue
- property value
true
if the property can be set,
false
otherwise
RemoteException
- on RMI errorsboolean canSetProperty(String name, Value[] values) throws RemoteException
NodeType.canSetProperty(String,Value[])
method.
name
- property namevalues
- property values
true
if the property can be set,
false
otherwise
RemoteException
- on RMI errorsboolean canAddChildNode(String name) throws RemoteException
NodeType.canAddChildNode(String)
method.
name
- child node name
true
if the child node can be added,
false
otherwise
RemoteException
- on RMI errorsboolean canAddChildNode(String name, String type) throws RemoteException
NodeType.canAddChildNode(String,String)
method.
name
- child node nametype
- child node type
true
if the child node can be added,
false
otherwise
RemoteException
- on RMI errorsboolean canRemoveItem(String name) throws RemoteException
NodeType.canRemoveItem(String)
method.
name
- item name
true
if the item can be removed,
false
otherwise
RemoteException
- on RMI errorsString getPrimaryItemName() throws RemoteException
NodeType.getPrimaryItemName()
method.
RemoteException
- on RMI errors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |