|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Operation
Operation...
| Field Summary | |
|---|---|
static int |
STATUS_PENDING
|
static int |
STATUS_PERSISTED
|
static int |
STATUS_UNDO
|
| Method Summary | |
|---|---|
void |
accept(OperationVisitor visitor)
Calls the appropriate visit method on visitor
based on the type of this operation. |
java.util.Collection<ItemState> |
getAffectedItemStates()
A collection of ItemStates that are affected by this operation. |
java.lang.String |
getName()
Returns the name of this operation. |
int |
getStatus()
Returns the status of this operation. |
void |
persisted()
Informs this Operation that it has been successfully executed. |
void |
undo()
Revert changes made by this operation. |
| Field Detail |
|---|
static final int STATUS_PENDING
static final int STATUS_PERSISTED
static final int STATUS_UNDO
| Method Detail |
|---|
java.lang.String getName()
this operation.
this operation.
void accept(OperationVisitor visitor)
throws RepositoryException,
ConstraintViolationException,
AccessDeniedException,
ItemExistsException,
NoSuchNodeTypeException,
UnsupportedRepositoryOperationException,
VersionException
visit method on visitor
based on the type of this operation.
visitor - the visitor to call back.
RepositoryException
ConstraintViolationException
AccessDeniedException
ItemExistsException
NoSuchNodeTypeException
UnsupportedRepositoryOperationException
VersionExceptionjava.util.Collection<ItemState> getAffectedItemStates()
ItemStates that are affected by this operation.
ItemStates.
void persisted()
throws RepositoryException
RepositoryException
void undo()
throws RepositoryException
RepositoryExceptionint getStatus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||