|
||||||||||
| 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.exoplatform.services.jcr.rmi.impl.server.ServerObject
org.exoplatform.services.jcr.rmi.impl.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,
rmi.api.remote.RemoteItemDefinition,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Constructor Summary | |
|---|---|
ServerItemDefinition(javax.jcr.nodetype.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. |
java.lang.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.exoplatform.services.jcr.rmi.impl.server.ServerObject |
|---|
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException |
| 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(javax.jcr.nodetype.ItemDefinition def,
RemoteAdapterFactory factory)
throws java.rmi.RemoteException
def - local item definitionfactory - remote adapter factory
java.rmi.RemoteException - on RMI errors| Method Detail |
|---|
public RemoteNodeType getDeclaringNodeType()
throws java.rmi.RemoteException
ItemDef.getDeclaringNodeType() method.
getDeclaringNodeType in interface RemoteItemDefinitionjava.rmi.RemoteException - on RMI errors
public java.lang.String getName()
throws java.rmi.RemoteException
ItemDef.getName()
method.
getName in interface RemoteItemDefinitionjava.rmi.RemoteException - on RMI errors
public boolean isAutoCreated()
throws java.rmi.RemoteException
ItemDef.isAutoCreate() method.
isAutoCreated in interface RemoteItemDefinitiontrue if the item is automatically created, false otherwise
java.rmi.RemoteException - on RMI errors
public boolean isMandatory()
throws java.rmi.RemoteException
ItemDef.isMandatory() method.
isMandatory in interface RemoteItemDefinitiontrue if the item is mandatory, false otherwise
java.rmi.RemoteException - on RMI errors
public int getOnParentVersion()
throws java.rmi.RemoteException
ItemDef.getOnParentVersion() method.
getOnParentVersion in interface RemoteItemDefinitionjava.rmi.RemoteException - on RMI errors
public boolean isProtected()
throws java.rmi.RemoteException
ItemDef.isProtected() method.
isProtected in interface RemoteItemDefinitiontrue if the item is protected, false otherwise
java.rmi.RemoteException - on RMI errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||