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