Interface RenderingTemplateRepository
-
public interface RenderingTemplateRepositoryRepository for rendering templates persistence handling.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longcount()Return count of templates.de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.view.RenderingTemplate>find(de.digitalcollections.model.list.paging.PageRequest pageRequest)Return all templatesde.digitalcollections.model.view.RenderingTemplategetByUuid(UUID uuid)Return template with uuidde.digitalcollections.model.view.RenderingTemplatesave(de.digitalcollections.model.view.RenderingTemplate template)Save a template.de.digitalcollections.model.view.RenderingTemplateupdate(de.digitalcollections.model.view.RenderingTemplate template)Update a template.
-
-
-
Method Detail
-
count
long count()
Return count of templates.- Returns:
- the count of templates
-
find
de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.view.RenderingTemplate> find(de.digitalcollections.model.list.paging.PageRequest pageRequest)
Return all templates- Parameters:
pageRequest- the paging parameters- Returns:
- Paged list of all rendering templates
-
getByUuid
de.digitalcollections.model.view.RenderingTemplate getByUuid(UUID uuid)
Return template with uuid- Parameters:
uuid- the uuid of the rendering template- Returns:
- The found rendering template
-
save
de.digitalcollections.model.view.RenderingTemplate save(de.digitalcollections.model.view.RenderingTemplate template)
Save a template.- Parameters:
template- the template to be saved- Returns:
- the saved template
-
update
de.digitalcollections.model.view.RenderingTemplate update(de.digitalcollections.model.view.RenderingTemplate template)
Update a template.- Parameters:
template- the template to be updated- Returns:
- the updated template
-
-