ENTITY - TYPE - public interface SynchronizationPersistenceAdapter<ENTITY,TYPE>
| Modifier and Type | Method and Description |
|---|---|
void |
clearTransactionsSettings() |
ENTITY |
create(TYPE type,
Map<String,Object> attributes)
Creates an entity of given type, with set of initial attributes
|
void |
disableTransactions() |
void |
remove(ENTITY entity)
Removes a given entity
|
void |
resetUnitOfWork() |
void |
update(ENTITY entity,
Map.Entry<String,Object> attributes)
Updates a given entity with attribute value pair as its part of or other attribute
|
void |
update(ENTITY entity,
Map<String,Object> attributes)
Updates a given entity with map of attribute at once
|
ENTITY create(TYPE type, Map<String,Object> attributes) throws SynchronizationPersistenceException
type - attributes - SynchronizationPersistenceExceptionvoid remove(ENTITY entity) throws SynchronizationPersistenceException, RecoverableSynchronizationPersistenceException
entity - SynchronizationPersistenceExceptionRecoverableSynchronizationPersistenceExceptionvoid update(ENTITY entity, Map.Entry<String,Object> attributes) throws SynchronizationPersistenceException
entity - attributes - SynchronizationPersistenceExceptionvoid update(ENTITY entity, Map<String,Object> attributes) throws SynchronizationPersistenceException
entity - attributes - SynchronizationPersistenceExceptionvoid resetUnitOfWork()
void disableTransactions()
void clearTransactionsSettings()
Copyright © 2017 SAP SE. All Rights Reserved.