public class CreateDocumentForProcessDefinition extends CreateDocument
| Constructor and Description |
|---|
CreateDocumentForProcessDefinition(org.bonitasoft.engine.core.process.document.api.SProcessDocumentService processDocumentService,
long processDefinitionId,
String author,
String fileName,
String mimeType,
byte[] content) |
| Modifier and Type | Method and Description |
|---|---|
org.bonitasoft.engine.core.process.document.model.SProcessDocument |
createDocument() |
String |
getAuthor() |
byte[] |
getContent() |
String |
getFileName() |
String |
getMimeType() |
long |
getProcessDefinitionId() |
org.bonitasoft.engine.core.process.document.api.SProcessDocumentService |
getProcessDocumentService() |
execute, getResultpublic org.bonitasoft.engine.core.process.document.model.SProcessDocument createDocument()
throws org.bonitasoft.engine.core.process.document.api.SProcessDocumentCreationException,
org.bonitasoft.engine.core.process.document.api.SProcessDocumentAlreadyExistsException,
org.bonitasoft.engine.core.process.document.api.SProcessDocumentException
createDocument in class CreateDocumentorg.bonitasoft.engine.core.process.document.api.SProcessDocumentCreationExceptionorg.bonitasoft.engine.core.process.document.api.SProcessDocumentAlreadyExistsExceptionorg.bonitasoft.engine.core.process.document.api.SProcessDocumentExceptionpublic String getFileName()
public org.bonitasoft.engine.core.process.document.api.SProcessDocumentService getProcessDocumentService()
public byte[] getContent()
public String getAuthor()
public String getMimeType()
public long getProcessDefinitionId()
Copyright © 2014 Bonitasoft S.A.. All rights reserved.