|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.cms.operations.DeleteOperation
public class DeleteOperation
Models a repository delete operation. The operation has two attributes:
<OPERATION name=""> <DELETEOPERATION path="?" version="?" /> </OPERATION>
Constructor Summary | |
---|---|
DeleteOperation()
Constructor of the class useful to build an empty delete operation. |
|
DeleteOperation(java.lang.String path)
Constructor of the class useful to build a delete operation setting the path attribute. |
|
DeleteOperation(java.lang.String path,
java.lang.String version)
Constructor of the class useful to build a delete operation setting the path and version attributes. |
Method Summary | |
---|---|
SourceBean |
getOperationDescriptor()
Gets the Internal SourceBean which defines the internal structure of the operation |
void |
setPath(java.lang.String path)
Set the path of the cms node |
void |
setVersion(java.lang.String version)
Set the version of the cms node |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeleteOperation() throws BuildOperationException
BuildOperationException
- Thrown if an error occurs during the creationpublic DeleteOperation(java.lang.String path) throws BuildOperationException
path
- The Path of the cms node to delete
BuildOperationException
- Thrown if an error occurs during the creationpublic DeleteOperation(java.lang.String path, java.lang.String version) throws BuildOperationException
path
- The Path of the cms nodeversion
- The name of the node version to delete
BuildOperationException
- Thrown if an error occurs during the creationMethod Detail |
---|
public SourceBean getOperationDescriptor()
public void setPath(java.lang.String path) throws BuildOperationException
path
- Path of the cms node
BuildOperationException
- Thrown if an error occurs during the settingpublic void setVersion(java.lang.String version) throws BuildOperationException
version
- Version of the cms node
BuildOperationException
- Thrown if an error occurs during the setting
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |