public class PublishServiceImpl extends Object implements PublishService
| Constructor and Description |
|---|
PublishServiceImpl() |
public int getPublishingPackagesTotal(String siteId, String environment, String path, List<String> states) throws SiteNotFoundException
PublishServicegetPublishingPackagesTotal in interface PublishServicesiteId - site identifierenvironment - publishing environmentpath - regular expression for pathsstates - publishing package statesSiteNotFoundExceptionpublic List<PublishingPackage> getPublishingPackages(String siteId, String environment, String path, List<String> states, int offset, int limit) throws SiteNotFoundException
PublishServicegetPublishingPackages in interface PublishServicesiteId - site identifierenvironment - publishing environmentpath - regular expression for pathsstates - publishing package statesoffset - offset for paginationlimit - limit for paginationSiteNotFoundExceptionpublic PublishingPackageDetails getPublishingPackageDetails(String siteId, String packageId) throws SiteNotFoundException
PublishServicegetPublishingPackageDetails in interface PublishServicesiteId - site identifierpackageId - package identifierSiteNotFoundExceptionpublic void cancelPublishingPackages(String siteId, List<String> packageIds) throws SiteNotFoundException
PublishServicecancelPublishingPackages in interface PublishServicesiteId - site identifierpackageIds - list of package identifiersSiteNotFoundExceptionpublic int getPublishingHistoryTotal(String siteId, String environment, String path, String publisher, ZonedDateTime dateFrom, ZonedDateTime dateTo, String contentType, long state)
PublishServicegetPublishingHistoryTotal in interface PublishServicesiteId - site identifierenvironment - environment to get publishing historypath - regular expression to filter pathspublisher - filter publishing history for specified userdateFrom - lower boundary for date rangedateTo - upper boundary for date rangecontentType - publishing history for specified content typestate - filter items by their statepublic List<PublishingDashboardItem> getPublishingHistory(String siteId, String environment, String path, String publisher, ZonedDateTime dateFrom, ZonedDateTime dateTo, String contentType, long state, String sortBy, String order, int offset, int limit)
PublishServicegetPublishingHistory in interface PublishServicesiteId - site identifierenvironment - environment to get publishing historypath - regular expression to filter pathspublisher - filter publishing history for specified userdateFrom - lower boundary for date rangedateTo - upper boundary for date rangecontentType - publishing history for specified content typestate - filter items by their statesortBy - sort publishing historyorder - apply order to publishing historyoffset - offset of the first item in the result setlimit - number of items to returnpublic List<DeploymentHistoryGroup> getDeploymentHistory(String siteId, int daysFromToday, int numberOfItems, String filterType)
PublishServicegetDeploymentHistory in interface PublishServicesiteId - site identifierdaysFromToday - number of days for historynumberOfItems - number of items to displayfilterType - filter results by filter typepublic PublishServiceInternal getPublishServiceInternal()
public void setPublishServiceInternal(PublishServiceInternal publishServiceInternal)
public SiteService getSiteService()
public void setSiteService(SiteService siteService)
public ObjectStateService getObjectStateService()
public void setObjectStateService(ObjectStateService objectStateService)
public ObjectMetadataManager getObjectMetadataManager()
public void setObjectMetadataManager(ObjectMetadataManager objectMetadataManager)
public AuditServiceInternal getAuditServiceInternal()
public void setAuditServiceInternal(AuditServiceInternal auditServiceInternal)
public SecurityService getSecurityService()
public void setSecurityService(SecurityService securityService)
public StudioUtils getStudioUtils()
public void setStudioUtils(StudioUtils studioUtils)
public ServicesConfig getServicesConfig()
public void setServicesConfig(ServicesConfig servicesConfig)
Copyright © 2022 CrafterCMS. All rights reserved.