|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.orchestranetworks.service.ExportSpec
Defines the features of an export.
For being valid, an instance of this class must at least define a source and a destination.
ProcedureContext.doExport(ExportSpec)| Constructor Summary | |
ExportSpec()
|
|
| Method Summary | |
File |
getDestinationFile()
|
OutputStream |
getDestinationStream()
|
Request |
getRequest()
|
SchemaNode |
getSelection()
|
Adaptation |
getSourceAdaptation()
|
boolean |
isCheckAccessRules()
Specifies if acces rules have to be check for each records. |
boolean |
isCloseStreamWhenFinished()
|
boolean |
isContentIndented()
|
boolean |
isIncludesComputedValues()
|
boolean |
isIncludesTechnicalData()
|
void |
setCheckAccessRules(boolean checkAccessRules)
|
void |
setCloseStreamWhenFinished(boolean closeStreamWhenFinished)
Specifies that the export process must close the stream at the end. |
void |
setContentIndented(boolean indent)
Specifies that the export process must indent the content of the document. |
void |
setDestinationFile(File target)
Specifies that the export process must generate the file specified. |
void |
setDestinationStream(OutputStream target)
Specifies that the export process must write the document to the stream specified. |
void |
setIncludesComputedValues(boolean includesComputedValues)
Specifies whether computed values must be included in the XML export. |
void |
setIncludesTechnicalData(boolean includesTechnicalData)
Specifies whether technical data must be included in the export. |
void |
setRequest(Request request)
Specifies that the export will process the table content filtered by the given request. |
void |
setSelection(SchemaNode selection)
Specifies that the export will include only the content under the node specified. |
void |
setSourceAdaptation(Adaptation aSource)
Specifies the source of the export (mandatory property). |
String |
toString()
|
String |
toStringInfo()
Returns information about the main attributes of this instance. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ExportSpec()
| Method Detail |
public Adaptation getSourceAdaptation()
setSourceAdaptation(Adaptation)public void setSourceAdaptation(Adaptation aSource)
aSource - the adaptation to export.public boolean isIncludesComputedValues()
setIncludesComputedValues(boolean)public void setIncludesComputedValues(boolean includesComputedValues)
osd:function declaration
(see Computed Values).
Warning: if false is specified, the exported XML document may be invalid.
This occurs when a computed value node has maxOccurs > 0.
If not set, this property is true.
public boolean isIncludesTechnicalData()
setIncludesTechnicalData(boolean)public void setIncludesTechnicalData(boolean includesTechnicalData)
x:lastTime
or x:uuid.
If not set, this property is true.
public SchemaNode getSelection()
setSelection(SchemaNode)public void setSelection(SchemaNode selection)
If not set, this property is null. This means that all the content is exported.
public File getDestinationFile()
setDestinationFile(File)public void setDestinationFile(File target)
If the destination file is not set, the output stream should be set.
target - destination file that the export will write.setDestinationStream(OutputStream)public OutputStream getDestinationStream()
setDestinationStream(OutputStream)public void setDestinationStream(OutputStream target)
The destination stream is a more general alternative than the destination file.
It is up to the caller of this method to provide a buffered output stream (if needed for performance).
target - destination stream of the export.setDestinationFile(File)public boolean isContentIndented()
setContentIndented(boolean)public void setContentIndented(boolean indent)
If not set, this property is true.
public boolean isCloseStreamWhenFinished()
setCloseStreamWhenFinished(boolean)public void setCloseStreamWhenFinished(boolean closeStreamWhenFinished)
If not set, this property is true.
public String toStringInfo()
public String toString()
public Request getRequest()
setRequest(Request)public void setRequest(Request request)
If not set, this property is null. This means that all table content is exported.
public boolean isCheckAccessRules()
public void setCheckAccessRules(boolean checkAccessRules)
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
(report a bug)
EBX.Platform 4.5.0 [0598]
Copyright Orchestra Networks 2000-2008. All rights reserved.