|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.cms.operations.RestoreOperation
public class RestoreOperation
Models a repository restore operation. The operation has two attributes:
<OPERATION name="RESTORE_OBJECT"> <RESTOREOPERATION path="?" version="?" /> </OPERATION>
Constructor Summary | |
---|---|
RestoreOperation()
Constructor of the class useful to build an empty restore operation. |
|
RestoreOperation(java.lang.String path)
Constructor of the class useful to build a restore operation setting the path attribute. |
|
RestoreOperation(java.lang.String path,
java.lang.String version)
Constructor of the class useful to build a restore 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 ver)
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 RestoreOperation() throws BuildOperationException
BuildOperationException
- Thrown if an error occurs during the creationpublic RestoreOperation(java.lang.String path) throws BuildOperationException
path
- The Path of the cms node
BuildOperationException
- Thrown if an error occurs during the creationpublic RestoreOperation(java.lang.String path, java.lang.String version) throws BuildOperationException
path
- The Path of the cms nodeversion
- The name of the node version to restore
BuildOperationException
- Thrown if an error occurs during the settingMethod 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 ver) 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 |