|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.cms.operations.ExportOperation
public class ExportOperation
Models a repository export operation. The operation has three attributes:
<OPERATION name="EXPORT"> <EXPORTOPERATION path="?" stream="?" noRecurse="?" /> </OPERATION>
Constructor Summary | |
---|---|
ExportOperation()
Constructor of the class useful to build an empty export operation. |
|
ExportOperation(java.lang.String path,
java.io.OutputStream stream,
boolean noRecurse)
Constructor of the class useful to build an export operation setting the path, stream and noRestore attributes. |
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 |
setOutputStream(java.io.OutputStream stream)
Set the output stream for the nodes serialization |
void |
setPath(java.lang.String path)
Set the path of the cms node to the exported |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExportOperation() throws BuildOperationException
BuildOperationException
- Thrown if an error occurs during the creationpublic ExportOperation(java.lang.String path, java.io.OutputStream stream, boolean noRecurse) throws BuildOperationException
path
- The Path of the cms node to be exportedstream
- The OutputStream for the nodes serializationnoRecurse
- Flag: if it is true then only the node at path and its properties,
but not its child nodes, are serialized; if it is false then the entire subtree rooted at
path is serialized
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 exported
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 void setOutputStream(java.io.OutputStream stream) throws BuildOperationException
stream
- OutputStream for the cms nodes serialization
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 |