|
|||||||||||
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 Item
RepositoryException
public String getPath() throws RepositoryException
getPath
in interface Item
RepositoryException
public String getName() throws RepositoryException
getName
in interface Item
RepositoryException
public Item getAncestor(int depth) throws ItemNotFoundException, AccessDeniedException, RepositoryException
getAncestor
in interface Item
ItemNotFoundException
AccessDeniedException
RepositoryException
public Node getParent() throws ItemNotFoundException, AccessDeniedException, RepositoryException
getParent
in interface Item
ItemNotFoundException
AccessDeniedException
RepositoryException
public int getDepth() throws RepositoryException
getDepth
in interface Item
RepositoryException
public boolean isNode()
isNode
in interface Item
public boolean isNew()
isNew
in interface Item
public boolean isModified()
isModified
in interface Item
public boolean isSame(Item otherItem)
isSame
in interface Item
public void accept(ItemVisitor visitor) throws RepositoryException
accept
in interface Item
RepositoryException
public void save() throws AccessDeniedException, ConstraintViolationException, InvalidItemStateException, ReferentialIntegrityException, VersionException, LockException, RepositoryException
save
in interface Item
AccessDeniedException
ConstraintViolationException
InvalidItemStateException
ReferentialIntegrityException
VersionException
LockException
RepositoryException
public void refresh(boolean keepChanges) throws InvalidItemStateException, RepositoryException
refresh
in interface Item
InvalidItemStateException
RepositoryException
public void remove() throws VersionException, LockException, RepositoryException
remove
in interface Item
VersionException
LockException
RepositoryException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |