Interface UpdateService<T extends JpaIdentifiable>
- Type Parameters:
T-
- All Superinterfaces:
GenericJpaGetRepositoryService<T,,Long> GenericJpaUpdateService<T,,Long, EventMetaData> GenericUpdateService<T,,Long> GetRepositoryService<T>
- All Known Subinterfaces:
ApiCRUDService<T>,CRUDService<T>,FullApiService<T>,FullService<T>
- All Known Implementing Classes:
StandardApiService,StandardService
public interface UpdateService<T extends JpaIdentifiable>
extends GetRepositoryService<T>, GenericJpaUpdateService<T,Long,EventMetaData>
Our standard update service which uses which uses a repository that uses Long id's
-
Field Summary
Fields -
Method Summary
Methods inherited from interface org.autumnframework.service.jpa.services.genericdefault.GenericJpaUpdateService
getOnUpdateListeners, update, updateAllMethods inherited from interface org.autumnframework.service.jpa.services.elementary.shared.GetRepositoryService
getRepository
-
Field Details
-
log
static final org.slf4j.Logger log
-
-
Method Details
-
update
Our standard implementation always supplies a message chain id, if non was received, we start the chain here.- Specified by:
updatein interfaceGenericJpaUpdateService<T extends JpaIdentifiable,Long, EventMetaData> - Specified by:
updatein interfaceGenericUpdateService<T extends JpaIdentifiable,Long> - Parameters:
t-- Returns:
-