public class PublicationGetDocumentRESTService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Modifier and Type | Class and Description |
|---|---|
class |
PublicationGetDocumentRESTService.PublishedListNode |
class |
PublicationGetDocumentRESTService.PublishedNode |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ITEM |
| Constructor and Description |
|---|
PublicationGetDocumentRESTService(org.exoplatform.services.jcr.RepositoryService repositoryService,
PublicationService publicationService,
ManageDriveService manageDriveService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getPublishDocument(String repository,
String workspace,
String state,
String showItems)
Returns a list of published documents by the default plugin.
|
javax.ws.rs.core.Response |
getPublishedListDocument(String repoName,
String workspace,
String publicationPluginName,
String state,
String showItems)
Returns a list of published documents by a specific plugin.
|
public static final String DEFAULT_ITEM
public PublicationGetDocumentRESTService(org.exoplatform.services.jcr.RepositoryService repositoryService,
PublicationService publicationService,
ManageDriveService manageDriveService)
public javax.ws.rs.core.Response getPublishDocument(String repository, String workspace, String state, String showItems) throws Exception
repository - The repository name.workspace - The workspace name.state - The state is specified to classify the process.showItems - Shows the number of items per page.Exceptionpublic javax.ws.rs.core.Response getPublishedListDocument(String repoName, String workspace, String publicationPluginName, String state, String showItems) throws Exception
repoName - The repository name.workspace - The workspace name.publicationPluginName - The name of the plugin.state - The state is specified to classify the process.showItems - Shows the number of items per page.ExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.