public class PublishServiceInternalImpl extends Object implements PublishServiceInternal
| Constructor and Description |
|---|
PublishServiceInternalImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelPublishingPackages(String siteId,
List<String> packageIds)
Cancel publishing packages
|
ContentRepository |
getContentRepository() |
List<DeploymentHistoryItem> |
getDeploymentHistory(String siteId,
List<String> environments,
ZonedDateTime fromDate,
ZonedDateTime toDate,
String filterType,
int numberOfItems)
Get deployment history from database
|
DmFilterWrapper |
getDmFilterWrapper() |
List<PublishingHistoryItem> |
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)
Get deployment history items for given search parameters
|
int |
getPublishingHistoryTotal(String siteId,
String environment,
String path,
String publisher,
ZonedDateTime dateFrom,
ZonedDateTime dateTo,
String contentType,
long state)
Get total number of publishing history items for given search parameters
|
PublishingPackageDetails |
getPublishingPackageDetails(String siteId,
String packageId)
Get publishing package details
|
List<PublishingPackage> |
getPublishingPackages(String siteId,
String environment,
String path,
List<String> states,
int offset,
int limit)
Get publishing packages for given search parameters
|
int |
getPublishingPackagesTotal(String siteId,
String environment,
String path,
List<String> states)
Get total number of publishing packages for given search parameters
|
PublishRequestDAO |
getPublishRequestDao() |
void |
setContentRepository(ContentRepository contentRepository) |
void |
setDmFilterWrapper(DmFilterWrapper dmFilterWrapper) |
void |
setPublishRequestDao(PublishRequestDAO publishRequestDao) |
public int getPublishingPackagesTotal(String siteId, String environment, String path, List<String> states)
PublishServiceInternalgetPublishingPackagesTotal in interface PublishServiceInternalsiteId - site identifierenvironment - publishing environmentpath - regular expression for pathsstates - publishing package statespublic List<PublishingPackage> getPublishingPackages(String siteId, String environment, String path, List<String> states, int offset, int limit)
PublishServiceInternalgetPublishingPackages in interface PublishServiceInternalsiteId - site identifierenvironment - publishing environmentpath - regular expression for pathsstates - publishing package stateoffset - offset for paginationlimit - limit for paginationpublic PublishingPackageDetails getPublishingPackageDetails(String siteId, String packageId)
PublishServiceInternalgetPublishingPackageDetails in interface PublishServiceInternalsiteId - site identifierpackageId - package identifierpublic void cancelPublishingPackages(String siteId, List<String> packageIds)
PublishServiceInternalcancelPublishingPackages in interface PublishServiceInternalsiteId - site identifierpackageIds - list of package identifierspublic int getPublishingHistoryTotal(String siteId, String environment, String path, String publisher, ZonedDateTime dateFrom, ZonedDateTime dateTo, String contentType, long state)
PublishServiceInternalgetPublishingHistoryTotal in interface PublishServiceInternalsiteId - 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<PublishingHistoryItem> 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)
PublishServiceInternalgetPublishingHistory in interface PublishServiceInternalsiteId - 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<DeploymentHistoryItem> getDeploymentHistory(String siteId, List<String> environments, ZonedDateTime fromDate, ZonedDateTime toDate, String filterType, int numberOfItems)
PublishServiceInternalgetDeploymentHistory in interface PublishServiceInternalsiteId - site identifierenvironments - list of environmentsfromDate - starting date for filtering resultstoDate - end date for filtering resultsfilterType - filter typenumberOfItems - number of items to getpublic PublishRequestDAO getPublishRequestDao()
public void setPublishRequestDao(PublishRequestDAO publishRequestDao)
public ContentRepository getContentRepository()
public void setContentRepository(ContentRepository contentRepository)
public DmFilterWrapper getDmFilterWrapper()
public void setDmFilterWrapper(DmFilterWrapper dmFilterWrapper)
Copyright © 2022 CrafterCMS. All rights reserved.