|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.apache.jackrabbit.rmi.server.ServerObject
org.apache.jackrabbit.rmi.server.ServerNodeType
public class ServerNodeType
Remote adapter for the JCR NodeType
interface. This class makes a local node type available as an RMI service
using the
RemoteNodeType
interface.
NodeType,
RemoteNodeType,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Constructor Summary | |
|---|---|
ServerNodeType(NodeType type,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local node type. |
|
| 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. |
| 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 |
| Constructor Detail |
|---|
public ServerNodeType(NodeType type,
RemoteAdapterFactory factory)
throws RemoteException
type - local node typefactory - remote adapter factory
RemoteException - on RMI errors| Method Detail |
|---|
public String getName()
throws RemoteException
NodeType.getName() method.
getName in interface RemoteNodeTypeRemoteException - on RMI errors
public boolean isMixin()
throws RemoteException
NodeType.isMixin() method.
isMixin in interface RemoteNodeTypetrue if this is a mixin type,
false otherwise
RemoteException - on RMI errors
public boolean isAbstract()
throws RemoteException
NodeType.isAbstract() method.
isAbstract in interface RemoteNodeTypetrue if this is an abstract type,
false otherwise
RemoteException - on RMI errors
public boolean hasOrderableChildNodes()
throws RemoteException
NodeType.hasOrderableChildNodes()
method.
hasOrderableChildNodes in interface RemoteNodeTypetrue if nodes of this type has orderable
child nodes, false otherwise
RemoteException - on RMI errors
public RemoteNodeType[] getSupertypes()
throws RemoteException
NodeType.getSupertypes()
method.
getSupertypes in interface RemoteNodeTypeRemoteException - on RMI errors
public RemoteNodeType[] getDeclaredSupertypes()
throws RemoteException
NodeType.getDeclaredSupertypes()
method.
getDeclaredSupertypes in interface RemoteNodeTypeRemoteException - on RMI errors
public boolean isNodeType(String type)
throws RemoteException
NodeType.isNodeType(String)
method.
isNodeType in interface RemoteNodeTypetype - node type name
true if this node type is or extends the
given node type, false otherwise
RemoteException - on RMI errors
public RemotePropertyDefinition[] getPropertyDefs()
throws RemoteException
NodeType.getPropertyDefs()
method.
getPropertyDefs in interface RemoteNodeTypeRemoteException - on RMI errors
public RemotePropertyDefinition[] getDeclaredPropertyDefs()
throws RemoteException
NodeType.getDeclaredPropertyDefs()
method.
getDeclaredPropertyDefs in interface RemoteNodeTypeRemoteException - on RMI errors
public RemoteNodeDefinition[] getChildNodeDefs()
throws RemoteException
NodeType.getChildNodeDefs()
method.
getChildNodeDefs in interface RemoteNodeTypeRemoteException - on RMI errors
public RemoteNodeDefinition[] getDeclaredChildNodeDefs()
throws RemoteException
NodeType.getDeclaredChildNodeDefs()
method.
getDeclaredChildNodeDefs in interface RemoteNodeTypeRemoteException - on RMI errors
public boolean canSetProperty(String name,
Value value)
throws RemoteException
NodeType.canSetProperty(String,Value)
method.
canSetProperty in interface RemoteNodeTypename - property namevalue - property value
true if the property can be set,
false otherwise
RemoteException - on RMI errors
public boolean canSetProperty(String name,
Value[] values)
throws RemoteException
NodeType.canSetProperty(String,Value[])
method.
canSetProperty in interface RemoteNodeTypename - property namevalues - property values
true if the property can be set,
false otherwise
RemoteException - on RMI errors
public boolean canAddChildNode(String name)
throws RemoteException
NodeType.canAddChildNode(String)
method.
canAddChildNode in interface RemoteNodeTypename - child node name
true if the child node can be added,
false otherwise
RemoteException - on RMI errors
public boolean canAddChildNode(String name,
String type)
throws RemoteException
NodeType.canAddChildNode(String,String)
method.
canAddChildNode in interface RemoteNodeTypename - child node nametype - child node type
true if the child node can be added,
false otherwise
RemoteException - on RMI errors
public boolean canRemoveItem(String name)
throws RemoteException
NodeType.canRemoveItem(String)
method.
canRemoveItem in interface RemoteNodeTypename - item name
true if the item can be removed,
false otherwise
RemoteException - on RMI errors
public String getPrimaryItemName()
throws RemoteException
NodeType.getPrimaryItemName()
method.
getPrimaryItemName in interface RemoteNodeTypeRemoteException - on RMI errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||