Method Summary
All Methods Instance Methods Abstract Methods Default Methods
Modifier and Type
Method
Description
de.digitalcollections.model.api.view.BreadcrumbNavigation
getBreadcrumbNavigation (java.util.UUID nodeUuid)
Build and return the breadcrumb navigation for the given node UUID
default de.digitalcollections.model.api.view.BreadcrumbNavigation
getBreadcrumbNavigation (java.util.UUID nodeUuid,
java.util.Locale locale,
java.util.Locale fallbackLocale)
Build and return the breadcrumb navigation for the given webpage UUID and desired locale.
java.util.List<N >
getChildren (java.util.UUID nodeUuid)
de.digitalcollections.model.api.paging.PageResponse<N >
getChildren (java.util.UUID uuid,
de.digitalcollections.model.api.paging.PageRequest pageRequest)
java.util.List<N >
getChildren (N node)
N
getParent (java.util.UUID nodeUuid)
N
getParent (N node)
Methods inherited from interface de.digitalcollections.cudami.server.business.api.service.identifiable.IdentifiableService
cleanupLabelFromUnwantedLocales , count , find , find , find , get , get , get , getByIdentifier , save , update
Method Details
getParent
N getParent (
java.util.UUID nodeUuid)
getChildren
java.util.List<N > getChildren (
N node)
getChildren
java.util.List<N > getChildren (
java.util.UUID nodeUuid)
getBreadcrumbNavigation
de.digitalcollections.model.api.view.BreadcrumbNavigation getBreadcrumbNavigation (java.util.UUID nodeUuid)
Build and return the breadcrumb navigation for the given node UUID
Parameters:
nodeUuid - the uuid of the node.
Returns:
BreadcrumbNavigation with labels in all available languages
getBreadcrumbNavigation
default de.digitalcollections.model.api.view.BreadcrumbNavigation getBreadcrumbNavigation (java.util.UUID nodeUuid,
java.util.Locale locale,
java.util.Locale fallbackLocale)
Build and return the breadcrumb navigation for the given webpage UUID and desired locale. If no
label for that locale exists, use the label for the fallbackLocale, and if even this fails, use
the first locale.
Parameters:
nodeUuid - the uuid of the webpage
locale - the desired locale for the navigation item labels
fallbackLocale - the fallback locale for the navigation item labels
Returns:
Breadcrumb navigation with labels in the desired language (if possible)