|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 retunred as remote references to the corresponding remote interfaces. RMI errors are signalled 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 |
isMixin()
Remote version of the NodeType.isMixin() method. |
boolean |
isNodeType(String type)
Remote version of the NodeType.isNodeType(String)
method. |
Method Detail |
public String getName() throws RemoteException
NodeType.getName()
method.
RemoteException
- on RMI errorspublic boolean isMixin() throws RemoteException
NodeType.isMixin()
method.
true
if this is a mixin type,
false
otherwise
RemoteException
- on RMI errorspublic boolean hasOrderableChildNodes() throws RemoteException
NodeType.hasOrderableChildNodes()
method.
true
if nodes of this type has orderable
child nodes, false
otherwise
RemoteException
- on RMI errorspublic RemoteNodeType[] getSupertypes() throws RemoteException
NodeType.getSupertypes()
method.
RemoteException
- on RMI errorspublic RemoteNodeType[] getDeclaredSupertypes() throws RemoteException
NodeType.getDeclaredSupertypes()
method.
RemoteException
- on RMI errorspublic boolean 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 errorspublic RemotePropertyDefinition[] getPropertyDefs() throws RemoteException
NodeType.getPropertyDefs()
method.
RemoteException
- on RMI errorspublic RemotePropertyDefinition[] getDeclaredPropertyDefs() throws RemoteException
NodeType.getDeclaredPropertyDefs()
method.
RemoteException
- on RMI errorspublic RemoteNodeDefinition[] getChildNodeDefs() throws RemoteException
NodeType.getChildNodeDefs()
method.
RemoteException
- on RMI errorspublic RemoteNodeDefinition[] getDeclaredChildNodeDefs() throws RemoteException
NodeType.getDeclaredChildNodeDefs()
method.
RemoteException
- on RMI errorspublic boolean 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 errorspublic boolean 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 errorspublic boolean 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 errorspublic boolean 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 errorspublic boolean canRemoveItem(String name) throws RemoteException
NodeType.canRemoveItem(String)
method.
name
- item name
true
if the item can be removed,
false
otherwise
RemoteException
- on RMI errorspublic String 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 |