Class CudamiUrlAliasClient


  • public class CudamiUrlAliasClient
    extends BaseRestClient<de.digitalcollections.model.identifiable.alias.UrlAlias>
    • Constructor Detail

      • CudamiUrlAliasClient

        public CudamiUrlAliasClient​(HttpClient http,
                                    String serverUrl,
                                    com.fasterxml.jackson.databind.ObjectMapper mapper)
    • Method Detail

      • find

        public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.alias.LocalizedUrlAliases> find​(de.digitalcollections.model.list.paging.PageRequest pageRequest)
                                                                                                                                      throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • generateSlug

        public String generateSlug​(Locale locale,
                                   String label,
                                   UUID websiteUuid)
                            throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getPrimaryLinks

        public de.digitalcollections.model.identifiable.alias.LocalizedUrlAliases getPrimaryLinks​(UUID websiteUuid,
                                                                                                  String slug)
                                                                                           throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getPrimaryLinksForLocale

        public de.digitalcollections.model.identifiable.alias.LocalizedUrlAliases getPrimaryLinksForLocale​(UUID websiteUuid,
                                                                                                           String slug,
                                                                                                           Locale pLocale)
                                                                                                    throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • isPrimary

        public boolean isPrimary​(UUID websiteUuid,
                                 String slug)
                          throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException