Package de.trustable.ca3s.core.service
Interface ProtectedContentService
-
- All Known Implementing Classes:
ProtectedContentServiceImpl
public interface ProtectedContentServiceService Interface for managingProtectedContent.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(Long id)Delete the "id" protectedContent.List<ProtectedContent>findAll()Get all the protectedContents.Optional<ProtectedContent>findOne(Long id)Get the "id" protectedContent.ProtectedContentsave(ProtectedContent protectedContent)Save a protectedContent.
-
-
-
Method Detail
-
save
ProtectedContent save(ProtectedContent protectedContent)
Save a protectedContent.- Parameters:
protectedContent- the entity to save.- Returns:
- the persisted entity.
-
findAll
List<ProtectedContent> findAll()
Get all the protectedContents.- Returns:
- the list of entities.
-
findOne
Optional<ProtectedContent> findOne(Long id)
Get the "id" protectedContent.- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
void delete(Long id)
Delete the "id" protectedContent.- Parameters:
id- the id of the entity.
-
-