Klasse InternalDataWriter
java.lang.Object
ch.nolix.system.sqlrawdata.datawriter.InternalDataWriter
-
Konstruktorübersicht
KonstruktorBeschreibungInternalDataWriter
(String databaseName, ISqlConnection sqlConnection, ISqlSyntaxProvider sqlSyntaxProvider) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
deleteEntity
(String tableName, IEntityHeadDto entity) void
deleteEntriesFromMultiReference
(String entityId, String multiReferenceColumnId) void
deleteEntriesFromMultiValue
(String entityId, String multiValueColumnId) void
deleteEntryFromMultiReference
(String entityId, String multiReferenceColumnId, String referencedEntityId) void
deleteEntryFromMultiValue
(String entityId, String multiValueColumnId, String entry) void
deleteMultiBackReferenceEntry
(String entityId, String multiBackReferenceColumnId, String backReferencedEntityId) void
expectGivenSchemaTimestamp
(ITime schemaTimestamp) void
expectTableContainsEntity
(String tableName, String entityId) int
boolean
void
insertEntity
(String tableName, INewEntityDto newEntity) void
insertEntryIntoMultiBackReference
(String entityId, String multiBackReferenceColumnId, String backReferencedEntityId) void
insertEntryIntoMultiReference
(String entityId, String multiReferenceColumnId, String referencedEntityId) void
insertEntryIntoMultiValue
(String entityId, String multiValueColumnId, String entry) void
reset()
void
void
setEntityAsUpdated
(String tableName, IEntityHeadDto entity) void
updateEntityOnTable
(String tableName, IEntityUpdateDto entityUpdate)
-
Konstruktordetails
-
InternalDataWriter
public InternalDataWriter(String databaseName, ISqlConnection sqlConnection, ISqlSyntaxProvider sqlSyntaxProvider)
-
-
Methodendetails
-
deleteEntity
-
deleteEntriesFromMultiReference
-
deleteEntriesFromMultiValue
-
deleteEntryFromMultiReference
-
deleteEntryFromMultiValue
-
deleteMultiBackReferenceEntry
-
expectGivenSchemaTimestamp
-
expectTableContainsEntity
-
getSaveCount
public int getSaveCount() -
hasChanges
public boolean hasChanges() -
insertEntity
-
insertEntryIntoMultiBackReference
-
insertEntryIntoMultiReference
-
insertEntryIntoMultiValue
-
reset
public void reset() -
saveChangesAndReset
public void saveChangesAndReset() -
setEntityAsUpdated
-
updateEntityOnTable
-