Package de.uplanet.lucy.server.datatrans
Schnittstelle IDataWriter
public interface IDataWriter
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidClear the destination source.voidclose()Close the data writerCreate an empty data object for the sourcebooleanReturns true, if the implementation needs transformation hints.voidAlways perform a rollback on close, since an unrecoverable error occurred.voidsetTransformationHints(de.uplanet.lucy.server.datatrans.IDataProvider p_sourceProvider, IDataSet p_sourceDataSet, de.uplanet.lucy.server.datatrans.configuration.ITransformerConfiguration p_transCfg) Sets the transformation hintsvoidwrite(IDataObject p_object) Write the given data object to the destination
-
Methodendetails
-
createEmptyDataObject
IDataObject createEmptyDataObject()Create an empty data object for the source- Gibt zurück:
- new data object
-
clearData
Clear the destination source.- Löst aus:
Exception- if any occurs
-
write
Write the given data object to the destination- Parameter:
p_object- data object- Löst aus:
Exception- if any occurs
-
isNeedingTransformationHints
boolean isNeedingTransformationHints()Returns true, if the implementation needs transformation hints.- Gibt zurück:
- true or false
-
setTransformationHints
void setTransformationHints(de.uplanet.lucy.server.datatrans.IDataProvider p_sourceProvider, IDataSet p_sourceDataSet, de.uplanet.lucy.server.datatrans.configuration.ITransformerConfiguration p_transCfg) throws Exception Sets the transformation hints- Parameter:
p_sourceProvider- data source providerp_sourceDataSet- data setp_transCfg- transformer configuration- Löst aus:
Exception- if any occurs
-
close
Close the data writer- Löst aus:
Exception- if any occurs
-
setRollbackOnly
void setRollbackOnly()Always perform a rollback on close, since an unrecoverable error occurred.
-