Interface SynchronizationPersistenceAdapter<ENTITY,​TYPE>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void clearTransactionsSettings()  
      ENTITY create​(TYPE type, java.util.Map<java.lang.String,​java.lang.Object> attributes)
      Creates an entity of given type, with set of initial attributes
      void disableTransactions()  
      java.util.Map<java.lang.String,​java.lang.Object> read​(ENTITY entity, java.util.Set<java.lang.String> attributes)
      Reads attributes of a given entity
      java.util.Map<java.lang.String,​java.lang.Object> readLocalized​(ENTITY entity, java.util.Set<java.lang.String> attributes, java.util.Set<Language> languages)
      Reads localized attributes of a given entity
      void remove​(ENTITY entity)
      Removes a given entity
      void resetUnitOfWork()  
      void update​(ENTITY entity, java.util.Map.Entry<java.lang.String,​java.lang.Object> attributes)
      Updates a given entity with attribute value pair as its part of or other attribute
      void update​(ENTITY entity, java.util.Map<java.lang.String,​java.lang.Object> attributes)
      Updates a given entity with map of attribute at once