public class PopulateConnector extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Modifier and Type | Field and Description |
|---|---|
protected static String |
IF_MODIFIED_SINCE_DATE_FORMAT
The Constant IF_MODIFIED_SINCE_DATE_FORMAT.
|
protected static String |
LAST_MODIFIED_PROPERTY
The Constant LAST_MODIFIED_PROPERTY.
|
protected static String |
WORKSPACE_NAME |
| Constructor and Description |
|---|
PopulateConnector(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.cms.CmsService cmsService,
org.exoplatform.services.wcm.publication.WCMPublicationService publicationService,
org.exoplatform.services.jcr.ext.distribution.DataDistributionManager dataDistributionManager,
org.exoplatform.services.cms.taxonomy.TaxonomyService taxonomyService,
org.exoplatform.services.cms.jodconverter.JodConverterService jodConverter) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
initialLoad(boolean isPublishDoc)
Initializes the data to use later
|
javax.ws.rs.core.Response |
storage(String name,
String docType,
int from,
int to,
String workspace,
String folderPath,
String categories,
Integer size)
Creates mass amount of data
|
protected static final String LAST_MODIFIED_PROPERTY
protected static final String IF_MODIFIED_SINCE_DATE_FORMAT
protected static final String WORKSPACE_NAME
public PopulateConnector(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.cms.CmsService cmsService,
org.exoplatform.services.wcm.publication.WCMPublicationService publicationService,
org.exoplatform.services.jcr.ext.distribution.DataDistributionManager dataDistributionManager,
org.exoplatform.services.cms.taxonomy.TaxonomyService taxonomyService,
org.exoplatform.services.cms.jodconverter.JodConverterService jodConverter)
public javax.ws.rs.core.Response initialLoad(boolean isPublishDoc)
isPublishDoc - indicates if the newly created documents are published.public javax.ws.rs.core.Response storage(String name, String docType, int from, int to, String workspace, String folderPath, String categories, Integer size)
name - the node namedocType - type of the document to createfrom - document name will start with suffix "from", and increasing by one for the next docto - the bottom range of document namefolderPath - the location where all documents will be createdcategories - the categories which created documents are attached.Copyright © 2003–2015 eXo Platform SAS. All rights reserved.