Schnittstelle IDataWriter
- Alle Superschnittstellen:
AutoCloseable
,ChangeRequestable
,Closeable
,CloseStateRequestable
,GroupCloseable
,IChangeSaver
,IResettableChangeSaver
,Resettable
- Alle bekannten Unterschnittstellen:
IDataAdapter
,IDataAndSchemaAdapter
- Alle bekannten Implementierungsklassen:
BaseDataAdapter
,BaseDataAndSchemaAdapter
,DataAdapter
,DataAdapter
,DataAndSchemaAdapter
,DataWriter
,DataWriter
,MsSqlDataAdapter
,MsSqlDataAndSchemaAdapter
- Version:
- 2021-09-19
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
deleteEntity
(String tableName, IEntityHeadDto entity) Causes an error if the concerned entity was deleted or changed in the meanwhile.void
deleteMultiBackReferenceEntry
(String tableName, String entityId, String multiBackReferenceColumnId, String backReferencedEntityId) There is not asserted that the concerned entity was not changed in the meanwhile.void
deleteMultiReferenceEntries
(String tableName, String entityId, String multiReferenceColumnName) There is not asserted that the concerned entity was not changed in the meanwhile.void
deleteMultiReferenceEntry
(String tableName, String entityId, String multiRefereceColumnName, String referencedEntityId) There is not asserted that the concerned entity was not changed in the meanwhile.void
deleteMultiValueEntries
(String tableName, String entityId, String multiValueColumnName) There is not asserted that the concerned entity was not changed in the meanwhile.void
deleteMultiValueEntry
(String tableName, String entityId, String multiValueColumnName, String entry) There is not asserted that the concerned entity was not changed in the meanwhile.void
expectGivenSchemaTimestamp
(ITime schemaTimestamp) Will cause an error if the database does not have the given schema timestamp.void
expectTableContainsEntity
(String tableName, String entityId) Will cause an error if the concerned table does not contain an entity with the given entityId.void
insertEntity
(String tableName, INewEntityDto newEntity) Inserts the given newEntity into the table with the given tableName.void
insertMultiBackReferenceEntry
(String tableName, String entityId, String multiBackReferenceColumnId, String backReferencedEntityId) There is not asserted that the concerned entity was not changed in the meanwhile.void
insertMultiReferenceEntry
(String tableName, String entityId, String multiReferenceColumnName, String referencedEntityId) There is not asserted that the concerned entity was not changed in the meanwhile.void
insertMultiValueEntry
(String tableName, String entityId, String multiValueColumnName, String entry) There is not asserted that the concerned entity was not changed in the meanwhile.void
setEntityAsUpdated
(String tableName, IEntityHeadDto entity) Sets the concerned entity as updated.void
updateEntity
(String tableName, IEntityUpdateDto entityUpdate) There is not asserted that the concerned entity was not changed in the meanwhile.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.programcontrolapi.savecontrolapi.ChangeRequestable
hasChanges, isChangeFree
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrolapi.resourceclosingapi.CloseStateRequestable
isOpen
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrolapi.resourceclosingapi.GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosed, noteClose
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.programcontrolapi.savecontrolapi.IChangeSaver
saveChanges
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.programcontrolapi.savecontrolapi.IResettableChangeSaver
getSaveCount
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.statemutationapi.Resettable
reset
-
Methodendetails
-
deleteEntity
Causes an error if the concerned entity was deleted or changed in the meanwhile.- Parameter:
tableName
-entity
-
-
deleteMultiBackReferenceEntry
void deleteMultiBackReferenceEntry(String tableName, String entityId, String multiBackReferenceColumnId, String backReferencedEntityId) There is not asserted that the concerned entity was not changed in the meanwhile.- Parameter:
tableName
-entityId
-multiBackReferenceColumnId
-backReferencedEntityId
-
-
deleteMultiReferenceEntries
void deleteMultiReferenceEntries(String tableName, String entityId, String multiReferenceColumnName) There is not asserted that the concerned entity was not changed in the meanwhile.- Parameter:
tableName
-entityId
-multiReferenceColumnName
-
-
deleteMultiReferenceEntry
void deleteMultiReferenceEntry(String tableName, String entityId, String multiRefereceColumnName, String referencedEntityId) There is not asserted that the concerned entity was not changed in the meanwhile.- Parameter:
tableName
-entityId
-multiRefereceColumnName
-referencedEntityId
-
-
deleteMultiValueEntries
There is not asserted that the concerned entity was not changed in the meanwhile.- Parameter:
tableName
-entityId
-multiValueColumnName
-
-
deleteMultiValueEntry
void deleteMultiValueEntry(String tableName, String entityId, String multiValueColumnName, String entry) There is not asserted that the concerned entity was not changed in the meanwhile.- Parameter:
tableName
-entityId
-multiValueColumnName
-entry
-
-
expectTableContainsEntity
Will cause an error if the concerned table does not contain an entity with the given entityId. This method can be used to prevent from referencing an entity that was deleted in the meanwhile.- Parameter:
tableName
-entityId
-
-
expectGivenSchemaTimestamp
Will cause an error if the database does not have the given schema timestamp.- Parameter:
schemaTimestamp
-
-
insertEntity
Inserts the given newEntity into the table with the given tableName.- Parameter:
tableName
-newEntity
-
-
insertMultiBackReferenceEntry
void insertMultiBackReferenceEntry(String tableName, String entityId, String multiBackReferenceColumnId, String backReferencedEntityId) There is not asserted that the concerned entity was not changed in the meanwhile.- Parameter:
tableName
-entityId
-multiBackReferenceColumnId
-backReferencedEntityId
-
-
insertMultiReferenceEntry
void insertMultiReferenceEntry(String tableName, String entityId, String multiReferenceColumnName, String referencedEntityId) There is not asserted that the concerned entity was not changed in the meanwhile.- Parameter:
tableName
-entityId
-multiReferenceColumnName
-referencedEntityId
-
-
insertMultiValueEntry
void insertMultiValueEntry(String tableName, String entityId, String multiValueColumnName, String entry) There is not asserted that the concerned entity was not changed in the meanwhile.- Parameter:
tableName
-entityId
-multiValueColumnName
-entry
-
-
setEntityAsUpdated
Sets the concerned entity as updated. Will cause an error if the concerned entity was deleted or changed in the meanwhile.- Parameter:
tableName
-entity
-
-
updateEntity
There is not asserted that the concerned entity was not changed in the meanwhile.- Parameter:
tableName
-entityUpdate
-
-