Interface ActorMetadataRepository
- All Superinterfaces:
org.springframework.data.repository.PagingAndSortingRepository<ActorMetadata, Long>, org.springframework.data.repository.Repository<ActorMetadata, Long>
@Table(name="user_metadata")
public interface ActorMetadataRepository
extends org.springframework.data.repository.PagingAndSortingRepository<ActorMetadata, Long>
Fetches/saves
ActorMetadata from/to the user_metadata database table.-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(@NonNull ActorMetadata metadata) Removes the givenActorMetadatafrom the database table.voidsave(@NonNull ActorMetadata metadata) Stores the givenActorMetadatain the database table.Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll, findAll
-
Method Details
-
save
Stores the givenActorMetadatain the database table.- Parameters:
metadata- The ActorMetadata that shall be stored permanently.
-
delete
Removes the givenActorMetadatafrom the database table.- Parameters:
metadata- The ActorMetadata that shall no longer be stored in the database.
-