|
||||||||||
| 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.ServerItemDefinition
public class ServerItemDefinition
Remote adapter for the JCR ItemDefinition
interface. This class makes a local item definition available as an
RMI service using the
RemoteItemDefinition
interface. Used mainly as the base class for the
ServerPropertyDefinition
and
ServerNodeDefinition
adapters.
ItemDefinition,
RemoteItemDefinition,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Constructor Summary | |
|---|---|
ServerItemDefinition(ItemDefinition def,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local item definition. |
|
| Method Summary | |
|---|---|
RemoteNodeType |
getDeclaringNodeType()
Remote version of the ItemDef.getDeclaringNodeType()
method. |
String |
getName()
Remote version of the ItemDef.getName() method. |
int |
getOnParentVersion()
Remote version of the ItemDef.getOnParentVersion()
method. |
boolean |
isAutoCreated()
Remote version of the ItemDef.isAutoCreate()
method. |
boolean |
isMandatory()
Remote version of the ItemDef.isMandatory()
method. |
boolean |
isProtected()
Remote version of the ItemDef.isProtected()
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 ServerItemDefinition(ItemDefinition def,
RemoteAdapterFactory factory)
throws RemoteException
def - local item definitionfactory - remote adapter factory
RemoteException - on RMI errors| Method Detail |
|---|
public RemoteNodeType getDeclaringNodeType()
throws RemoteException
ItemDef.getDeclaringNodeType()
method.
getDeclaringNodeType in interface RemoteItemDefinitionRemoteException - on RMI errors
public String getName()
throws RemoteException
ItemDef.getName() method.
getName in interface RemoteItemDefinitionRemoteException - on RMI errors
public boolean isAutoCreated()
throws RemoteException
ItemDef.isAutoCreate()
method.
isAutoCreated in interface RemoteItemDefinitiontrue if the item is automatically created,
false otherwise
RemoteException - on RMI errors
public boolean isMandatory()
throws RemoteException
ItemDef.isMandatory()
method.
isMandatory in interface RemoteItemDefinitiontrue if the item is mandatory,
false otherwise
RemoteException - on RMI errors
public int getOnParentVersion()
throws RemoteException
ItemDef.getOnParentVersion()
method.
getOnParentVersion in interface RemoteItemDefinitionRemoteException - on RMI errors
public boolean isProtected()
throws RemoteException
ItemDef.isProtected()
method.
isProtected in interface RemoteItemDefinitiontrue if the item is protected,
false otherwise
RemoteException - on RMI errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||