|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemoteItem
Remote version of the JCR Item interface.
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. Compex return values (Items and Nodes) are returned as remote references to the corresponding remote interfaces. RMI errors are signalled with RemoteExceptions.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
java.lang.String getPath()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Item.getPath() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
java.lang.String getName()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Item.getName() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteItem getAncestor(int level)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Item.getAncestor(int) method.
level - ancestor level
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteNode getParent()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Item.getParent() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
int getDepth()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Item.getDepth() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
boolean isNew()
throws java.rmi.RemoteException
Item.isNew() method.
true if the item is new, false otherwise
java.rmi.RemoteException - on RMI errors
boolean isModified()
throws java.rmi.RemoteException
Item.isModified() method.
true if the item is modified, false otherwise
java.rmi.RemoteException - on RMI errors
void save()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Item.save() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void refresh(boolean keepChanges)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Item.refresh(boolean) method.
keepChanges - flag to keep transient changes
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void remove()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Item.remove() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||