public interface RemoteItem
extends java.rmi.Remote
Item interface.
Used by the ServerItem
and ClientItem
adapter base classes to provide transparent RMI access to remote items.
The methods in this interface are documented only with a reference to a corresponding Item method. The remote object will simply forward the method call to the underlying Item instance. Argument and return values, as well as possible exceptions, are copied over the network. Complex return values (Items and Nodes) are returned as remote references to the corresponding remote interfaces. RMI errors are signaled with RemoteExceptions.
javax.jcr.Item,
ClientItem,
ServerItem| Modifier and Type | Method and Description |
|---|---|
RemoteItem |
getAncestor(int level)
Remote version of the
Item.getAncestor(int) method. |
int |
getDepth()
Remote version of the
Item.getDepth() method. |
java.lang.String |
getName()
Remote version of the
Item.getName() method. |
RemoteNode |
getParent()
Remote version of the
Item.getParent() method. |
java.lang.String |
getPath()
Remote version of the
Item.getPath() method. |
boolean |
isModified()
Remote version of the
Item.isModified() method. |
boolean |
isNew()
Remote version of the
Item.isNew() method. |
void |
refresh(boolean keepChanges)
Remote version of the
Item.refresh(boolean) method. |
void |
remove()
Remote version of the
Item.remove() method. |
void |
save()
Remote version of the
Item.save() method. |
java.lang.String getPath()
throws RepositoryException,
java.rmi.RemoteException
Item.getPath() method.RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsjava.lang.String getName()
throws RepositoryException,
java.rmi.RemoteException
Item.getName() method.RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsRemoteItem getAncestor(int level) throws RepositoryException, java.rmi.RemoteException
Item.getAncestor(int) method.level - ancestor levelRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsRemoteNode getParent() throws RepositoryException, java.rmi.RemoteException
Item.getParent() method.RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsint getDepth()
throws RepositoryException,
java.rmi.RemoteException
Item.getDepth() method.RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsboolean isNew()
throws java.rmi.RemoteException
Item.isNew() method.true if the item is new,
false otherwisejava.rmi.RemoteException - on RMI errorsboolean isModified()
throws java.rmi.RemoteException
Item.isModified() method.true if the item is modified,
false otherwisejava.rmi.RemoteException - on RMI errorsvoid save()
throws RepositoryException,
java.rmi.RemoteException
Item.save() method.RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsvoid refresh(boolean keepChanges)
throws RepositoryException,
java.rmi.RemoteException
Item.refresh(boolean) method.keepChanges - flag to keep transient changesRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsvoid remove()
throws RepositoryException,
java.rmi.RemoteException
Item.remove() method.RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errors"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"