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
RepositoryExceptionpublic java.lang.String getName()
                         throws RepositoryException
RepositoryExceptionpublic Item getAncestor(int i)
                 throws ItemNotFoundException,
                        AccessDeniedException,
                        RepositoryException
ItemNotFoundExceptionAccessDeniedExceptionRepositoryExceptionpublic Node getParent()
               throws ItemNotFoundException,
                      AccessDeniedException,
                      RepositoryException
ItemNotFoundExceptionAccessDeniedExceptionRepositoryExceptionpublic int getDepth()
             throws RepositoryException
RepositoryExceptionpublic Session getSession()
                   throws RepositoryException
RepositoryExceptionpublic boolean isNode()
public boolean isNew()
public boolean isModified()
public boolean isSame(Item item)
               throws RepositoryException
RepositoryExceptionpublic void accept(ItemVisitor iv)
            throws RepositoryException
RepositoryExceptionpublic void save()
          throws AccessDeniedException,
                 ItemExistsException,
                 ConstraintViolationException,
                 InvalidItemStateException,
                 ReferentialIntegrityException,
                 VersionException,
                 LockException,
                 NoSuchNodeTypeException,
                 RepositoryException
AccessDeniedExceptionItemExistsExceptionConstraintViolationExceptionInvalidItemStateExceptionReferentialIntegrityExceptionVersionExceptionLockExceptionNoSuchNodeTypeExceptionRepositoryExceptionpublic void refresh(boolean bln)
             throws InvalidItemStateException,
                    RepositoryException
InvalidItemStateExceptionRepositoryExceptionpublic void remove()
            throws VersionException,
                   LockException,
                   ConstraintViolationException,
                   AccessDeniedException,
                   RepositoryException
VersionExceptionLockExceptionConstraintViolationExceptionAccessDeniedExceptionRepositoryExceptionstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.