|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.exoplatform.ecm.connector.platform.PopulateConnector
public class PopulateConnector
Created by The eXo Platform SAS Author : Nguyen Anh Vu vuna@exoplatform.com Jun 20, 2012
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String LAST_MODIFIED_PROPERTY
protected static final String IF_MODIFIED_SINCE_DATE_FORMAT
protected static final String WORKSPACE_NAME
| Constructor Detail |
|---|
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)
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||