|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.cms.operations.ImportOperation
public class ImportOperation
Models a repository import operation. The operation has three attributes:
<OPERATION name="IMPORT"> <IMPORTOPERATION path="?" stream="?" uuidBehavior="?" /> </OPERATION>
Constructor Summary | |
---|---|
ImportOperation()
Constructor of the class useful to build an empty import operation. |
|
ImportOperation(java.lang.String path,
java.io.InputStream stream)
Constructor of the class useful to build an import operation setting the path and stream. |
|
ImportOperation(java.lang.String path,
java.io.InputStream stream,
int uuidBehavior)
Constructor of the class useful to build an import operation setting the path, stream and uuidBehavior attributes. |
Method Summary | |
---|---|
SourceBean |
getOperationDescriptor()
Gets the Internal SourceBean which defines the internal structure of the operation |
void |
setInputStream(java.io.InputStream stream)
Set the input stream for the nodes deserialization |
void |
setPath(java.lang.String path)
Set the path of the cms node where importing nodes will be placed |
void |
setUuidBehavior(int uuidBehavior)
Set the uuidBehavior int flag: see javax.jcr.ImportUUIDBehavior |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImportOperation() throws BuildOperationException
BuildOperationException
- Thrown if an error occurs during the creationpublic ImportOperation(java.lang.String path, java.io.InputStream stream, int uuidBehavior) throws BuildOperationException
path
- The path of the cms node where importing nodes will be placedstream
- The InputStream where importing nodes are deserialized fromuuidBehavior
- Int flag that governs how the UUIDs of incoming nodes are handled:
see javax.jcr.ImportUUIDBehavior
BuildOperationException
- Thrown if an error occurs during the creationpublic ImportOperation(java.lang.String path, java.io.InputStream stream) throws BuildOperationException
path
- The path of the cms node where importing nodes will be placedstream
- The InputStream where importing nodes are deserialized fromuuidBehavior
- Int flag that governs how the UUIDs of incoming nodes are handled:
see javax.jcr.ImportUUIDBehavior
BuildOperationException
- Thrown if an error occurs during the creationMethod Detail |
---|
public void setPath(java.lang.String path) throws BuildOperationException
path
- The path of the cms node where importing nodes will be placed
BuildOperationException
- Thrown if an error occurs during the settingpublic void setUuidBehavior(int uuidBehavior) throws BuildOperationException
uuidBehavior
- The uuidBehavior int flag to set
BuildOperationException
- Thrown if an error occurs during the settingpublic void setInputStream(java.io.InputStream stream) throws BuildOperationException
stream
- InputStream for the cms nodes deserialization
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 |