|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.cms.operations.VersionOperation
public class VersionOperation
Models a repository version operation: this means that, if the node is versionable, a new version of the node is created. The operation has two attributes:
<OPERATION name="VERSION"> <VERSIONOPERATION path="?" /> </OPERATION>
Constructor Summary | |
---|---|
VersionOperation()
Constructor of the class useful to build an empty version operation. |
|
VersionOperation(java.lang.String path)
Constructor of the class useful to build a version operation setting the path. |
|
VersionOperation(java.lang.String path,
boolean noRecurse)
Constructor of the class useful to build a version operation setting the path and the noRecurse flag. |
Method Summary | |
---|---|
SourceBean |
getOperationDescriptor()
Gets the Internal SourceBean which defines the internal structure of the operation |
void |
setNoRecurse(boolean noRecurse)
Set the noRecurse flag |
void |
setPath(java.lang.String path)
Set the path of the cms node to the versioned |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VersionOperation() throws BuildOperationException
BuildOperationException
- Thrown if an error occurs during the creationpublic VersionOperation(java.lang.String path) throws BuildOperationException
path
- The path of the cms node to be versioned
BuildOperationException
- Thrown if an error occurs during the creationpublic VersionOperation(java.lang.String path, boolean noRecurse) throws BuildOperationException
path
- The path of the cms node to be versionednoRecurse
- The noRecurse flag
BuildOperationException
- Thrown if an error occurs during the creationMethod Detail |
---|
public void setPath(java.lang.String path) throws BuildOperationException
path
- Path of the cms node to the versioned
BuildOperationException
- Thrown if an error occurs during the settingpublic void setNoRecurse(boolean noRecurse) throws BuildOperationException
noRecurse
- The noRecurse flag to set
BuildOperationException
- Thrown if an error occurs during the settingpublic SourceBean getOperationDescriptor()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |