Package org.pipservices3.data
Interface ISetter<T>
- All Known Implementing Classes:
IdentifiableFilePersistence
,IdentifiableMemoryPersistence
public interface ISetter<T>
Interface for data processing components that can set (create or update) data items.
-
Method Summary
-
Method Details
-
set
Sets a data item. If the data item exists it updates it, otherwise it create a new data item.- Parameters:
correlationId
- (optional) transaction id to trace execution through call chain.entity
- a item to be set.- Returns:
- updated item.
- Throws:
org.pipservices3.commons.errors.ApplicationException
- when error occured.
-