Interface RecordEngine<T>
-
- All Known Subinterfaces:
DataTypeRecordEngine
- All Known Implementing Classes:
ImportRecordEngine,ItemDefinitionRecordEngine
public interface RecordEngine<T>A Record Engine persists a given record.
-
-
Method Detail
-
update
List<T> update(T record)
Updates a record- Parameters:
record-- Returns:
- returning a list of all affected records by the update operation.
-
destroy
List<T> destroy(T record)
Destroys a record- Parameters:
record-- Returns:
- returning a list of all affected records by the destroy operation.
-
create
List<T> create(T record)
Create a record.- Parameters:
record-- Returns:
- returning a list of all affected records by the create operation.
-
isValid
boolean isValid(T record)
Check if a record is valid.- Parameters:
record-
-
-