public class UploadNewDocuments extends AbstractCMISConnector
| Modifier and Type | Field and Description |
|---|---|
static String |
DOCUMENT_IDS_OUTPUT |
static String |
DOCUMENTS |
static String |
FOLDER_PATH |
ATOMPUB, BINDING, PASSWORD, REPOSITORY, URL, USERNAME, WEBSERVICE, WEBSERVICES_NAVIGATION_SERVICE, WEBSERVICES_NAVIGATION_SERVICE_ENDPOINT, WEBSERVICES_OBJECT_SERVICE, WEBSERVICES_OBJECT_SERVICE_ENDPOINT, WEBSERVICES_REPOSITORY_SERVICE, WEBSERVICES_REPOSITORY_SERVICE_ENDPOINT, WEBSERVICES_VERSIONING_SERVICE, WEBSERVICES_VERSIONING_SERVICE_ENDPOINT| Constructor and Description |
|---|
UploadNewDocuments() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeBusinessLogic() |
protected byte[] |
getDocumentContent(org.bonitasoft.engine.bpm.document.Document doc) |
protected List<org.bonitasoft.engine.bpm.document.Document> |
getDocumentListFromName(String documentListName) |
protected List<org.bonitasoft.engine.bpm.document.Document> |
getDocumentsFromInputParameter() |
protected List<org.bonitasoft.engine.bpm.document.Document> |
getDocumentsFromName(String documentName) |
protected org.bonitasoft.engine.bpm.document.Document |
getSingleDocumentFromName(String documentName) |
void |
setInputParameters(Map<String,Object> parameters) |
connect, disconnect, getClient, getInputParameters, validateInputParameterspublic static final String DOCUMENT_IDS_OUTPUT
public static final String DOCUMENTS
public static final String FOLDER_PATH
public void setInputParameters(Map<String,Object> parameters)
setInputParameters in interface org.bonitasoft.engine.connector.ConnectorsetInputParameters in class AbstractCMISConnectorprotected void executeBusinessLogic()
throws org.bonitasoft.engine.connector.ConnectorException
executeBusinessLogic in class org.bonitasoft.engine.connector.AbstractConnectororg.bonitasoft.engine.connector.ConnectorExceptionprotected List<org.bonitasoft.engine.bpm.document.Document> getDocumentsFromInputParameter() throws org.bonitasoft.engine.connector.ConnectorException
org.bonitasoft.engine.connector.ConnectorExceptionprotected List<org.bonitasoft.engine.bpm.document.Document> getDocumentsFromName(String documentName) throws org.bonitasoft.engine.connector.ConnectorException
org.bonitasoft.engine.connector.ConnectorExceptionprotected byte[] getDocumentContent(org.bonitasoft.engine.bpm.document.Document doc)
throws org.bonitasoft.engine.connector.ConnectorException
org.bonitasoft.engine.connector.ConnectorExceptionprotected org.bonitasoft.engine.bpm.document.Document getSingleDocumentFromName(String documentName)
Copyright © 2020. All rights reserved.