public class BaseItem
extends java.lang.Object
Constructor and Description |
---|
BaseItem(WorkspaceDBObject workspace) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ItemVisitor iv) |
Item |
getAncestor(int i) |
int |
getDepth() |
java.lang.String |
getName() |
Node |
getParent() |
java.lang.String |
getPath() |
Session |
getSession() |
boolean |
isModified() |
boolean |
isNew() |
boolean |
isNode() |
boolean |
isSame(Item item) |
void |
refresh(boolean bln) |
void |
remove() |
void |
save() |
public BaseItem(WorkspaceDBObject workspace)
public java.lang.String getPath() throws RepositoryException
RepositoryException
public java.lang.String getName() throws RepositoryException
RepositoryException
public Item getAncestor(int i) throws ItemNotFoundException, AccessDeniedException, RepositoryException
ItemNotFoundException
AccessDeniedException
RepositoryException
public Node getParent() throws ItemNotFoundException, AccessDeniedException, RepositoryException
ItemNotFoundException
AccessDeniedException
RepositoryException
public int getDepth() throws RepositoryException
RepositoryException
public Session getSession() throws RepositoryException
RepositoryException
public boolean isNode()
public boolean isNew()
public boolean isModified()
public boolean isSame(Item item) throws RepositoryException
RepositoryException
public void accept(ItemVisitor iv) throws RepositoryException
RepositoryException
public void save() throws AccessDeniedException, ItemExistsException, ConstraintViolationException, InvalidItemStateException, ReferentialIntegrityException, VersionException, LockException, NoSuchNodeTypeException, RepositoryException
AccessDeniedException
ItemExistsException
ConstraintViolationException
InvalidItemStateException
ReferentialIntegrityException
VersionException
LockException
NoSuchNodeTypeException
RepositoryException
public void refresh(boolean bln) throws InvalidItemStateException, RepositoryException
InvalidItemStateException
RepositoryException
public void remove() throws VersionException, LockException, ConstraintViolationException, AccessDeniedException, RepositoryException
VersionException
LockException
ConstraintViolationException
AccessDeniedException
RepositoryException
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.