Class WebsiteServiceImpl
java.lang.Object
de.digitalcollections.cudami.server.business.impl.service.UniqueObjectServiceImpl<I,R>
de.digitalcollections.cudami.server.business.impl.service.identifiable.IdentifiableServiceImpl<E,EntityRepository<E>>
de.digitalcollections.cudami.server.business.impl.service.identifiable.entity.EntityServiceImpl<de.digitalcollections.model.identifiable.entity.Website>
de.digitalcollections.cudami.server.business.impl.service.identifiable.entity.WebsiteServiceImpl
- All Implemented Interfaces:
EntityService<de.digitalcollections.model.identifiable.entity.Website>,WebsiteService,IdentifiableService<de.digitalcollections.model.identifiable.entity.Website>,UniqueObjectService<de.digitalcollections.model.identifiable.entity.Website>
@Service
public class WebsiteServiceImpl
extends EntityServiceImpl<de.digitalcollections.model.identifiable.entity.Website>
implements WebsiteService
Service for Website handling.
-
Field Summary
Fields inherited from class de.digitalcollections.cudami.server.business.impl.service.identifiable.entity.EntityServiceImpl
hookProperties, httpClientFields inherited from class de.digitalcollections.cudami.server.business.impl.service.identifiable.IdentifiableServiceImpl
identifierServiceFields inherited from class de.digitalcollections.cudami.server.business.impl.service.UniqueObjectServiceImpl
repository -
Constructor Summary
ConstructorsConstructorDescriptionWebsiteServiceImpl(WebsiteRepository repository, IdentifierService identifierService, UrlAliasService urlAliasService, HookProperties hookProperties, CudamiConfig cudamiConfig, LocaleService localeService, WebpageService webpageService) -
Method Summary
Modifier and TypeMethodDescriptionde.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.web.Webpage>findRootWebpages(de.digitalcollections.model.identifiable.entity.Website website, de.digitalcollections.model.list.paging.PageRequest pageRequest) List<de.digitalcollections.model.identifiable.web.Webpage>getRootWebpages(de.digitalcollections.model.identifiable.entity.Website website) booleanupdateRootWebpagesOrder(de.digitalcollections.model.identifiable.entity.Website website, List<de.digitalcollections.model.identifiable.web.Webpage> rootPages) Methods inherited from class de.digitalcollections.cudami.server.business.impl.service.identifiable.entity.EntityServiceImpl
addRelatedFileresource, buildNotificationUrl, getByRefId, save, sendNotification, updateMethods inherited from class de.digitalcollections.cudami.server.business.impl.service.identifiable.IdentifiableServiceImpl
addRelatedEntity, find, findByLanguageAndInitial, findRelatedEntities, findRelatedFileResources, getByExampleAndLocale, getByIdentifier, getLanguages, reduceMultilanguageFieldsToGivenLocale, setRelatedEntities, setRelatedFileResources, validateMethods inherited from class de.digitalcollections.cudami.server.business.impl.service.UniqueObjectServiceImpl
count, create, delete, delete, getAll, getByExample, getByExampleAndFiltering, getRandom, setDefaultSortingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.digitalcollections.cudami.server.business.api.service.identifiable.entity.EntityService
getByRefIdMethods inherited from interface de.digitalcollections.cudami.server.business.api.service.identifiable.IdentifiableService
addRelatedEntity, addRelatedFileresource, cleanupLabelFromUnwantedLocales, findByLanguageAndInitial, findRelatedEntities, findRelatedFileResources, getByExampleAndLocale, getByIdentifier, getLanguages, setRelatedEntities, setRelatedFileResources, validateMethods inherited from interface de.digitalcollections.cudami.server.business.api.service.UniqueObjectService
count, create, delete, delete, find, getAll, getByExample, getByExampleAndFiltering, getRandom, save, update
-
Constructor Details
-
WebsiteServiceImpl
public WebsiteServiceImpl(WebsiteRepository repository, IdentifierService identifierService, UrlAliasService urlAliasService, HookProperties hookProperties, CudamiConfig cudamiConfig, LocaleService localeService, WebpageService webpageService)
-
-
Method Details
-
findRootWebpages
public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.web.Webpage> findRootWebpages(de.digitalcollections.model.identifiable.entity.Website website, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws ServiceException - Specified by:
findRootWebpagesin interfaceWebsiteService- Throws:
ServiceException
-
getRootWebpages
public List<de.digitalcollections.model.identifiable.web.Webpage> getRootWebpages(de.digitalcollections.model.identifiable.entity.Website website) throws ServiceException - Specified by:
getRootWebpagesin interfaceWebsiteService- Throws:
ServiceException
-
updateRootWebpagesOrder
public boolean updateRootWebpagesOrder(de.digitalcollections.model.identifiable.entity.Website website, List<de.digitalcollections.model.identifiable.web.Webpage> rootPages) throws ServiceException - Specified by:
updateRootWebpagesOrderin interfaceWebsiteService- Throws:
ServiceException
-