|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jackrabbit.decorator.ItemDecorator
TODO
| Constructor Summary | |
ItemDecorator(DecoratorFactory factory,
Session session,
Item item)
|
|
| Method Summary | |
void |
accept(ItemVisitor visitor)
|
Item |
getAncestor(int depth)
|
int |
getDepth()
|
String |
getName()
|
Node |
getParent()
|
String |
getPath()
|
Session |
getSession()
Returns the decorated session through which this item decorator was acquired. |
boolean |
isModified()
|
boolean |
isNew()
|
boolean |
isNode()
|
boolean |
isSame(Item otherItem)
|
void |
refresh(boolean keepChanges)
|
void |
remove()
|
void |
save()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ItemDecorator(DecoratorFactory factory,
Session session,
Item item)
| Method Detail |
public Session getSession()
throws RepositoryException
getSession in interface ItemRepositoryException
public String getPath()
throws RepositoryException
getPath in interface ItemRepositoryException
public String getName()
throws RepositoryException
getName in interface ItemRepositoryException
public Item getAncestor(int depth)
throws ItemNotFoundException,
AccessDeniedException,
RepositoryException
getAncestor in interface ItemItemNotFoundException
AccessDeniedException
RepositoryException
public Node getParent()
throws ItemNotFoundException,
AccessDeniedException,
RepositoryException
getParent in interface ItemItemNotFoundException
AccessDeniedException
RepositoryException
public int getDepth()
throws RepositoryException
getDepth in interface ItemRepositoryExceptionpublic boolean isNode()
isNode in interface Itempublic boolean isNew()
isNew in interface Itempublic boolean isModified()
isModified in interface Itempublic boolean isSame(Item otherItem)
isSame in interface Item
public void accept(ItemVisitor visitor)
throws RepositoryException
accept in interface ItemRepositoryException
public void save()
throws AccessDeniedException,
ConstraintViolationException,
InvalidItemStateException,
ReferentialIntegrityException,
VersionException,
LockException,
RepositoryException
save in interface ItemAccessDeniedException
ConstraintViolationException
InvalidItemStateException
ReferentialIntegrityException
VersionException
LockException
RepositoryException
public void refresh(boolean keepChanges)
throws InvalidItemStateException,
RepositoryException
refresh in interface ItemInvalidItemStateException
RepositoryException
public void remove()
throws VersionException,
LockException,
RepositoryException
remove in interface ItemVersionException
LockException
RepositoryException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||