Class DocumentRepositoryServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<ContentEngineConfiguration>
com.flowable.content.engine.impl.repository.DocumentRepositoryServiceImpl
- All Implemented Interfaces:
DocumentRepositoryService
public class DocumentRepositoryServiceImpl
extends CommonEngineServiceImpl<ContentEngineConfiguration>
implements DocumentRepositoryService
- Author:
- Joram Barrez, Tijs Rademakers
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutorFields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration -
Constructor Summary
ConstructorsConstructorDescriptionDocumentRepositoryServiceImpl(ContentEngineConfiguration engineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionconvertDocumentDefinitionModelToJson(String documentDefinitionId) Returns theDocumentDefinitionModelas a JSON string.Starts creating a new deploymentQuery deploymentsQuery case definitionsvoiddeleteDeployment(String deploymentId) Deletes the given deployment.deploy(DocumentDeploymentBuilderImpl deploymentBuilder) getDeploymentResourceNames(String deploymentId) Retrieves a list of deployment resources for the given deployment, ordered alphabetically.getDocumentDefinition(String documentDefinitionId) Returns theDocumentDefinitionincluding all action information like additional Properties (e.g.getDocumentDefinitionByKey(String documentDefinitionKey) Returns the latestDocumentDefinitionfor the given key.getDocumentDefinitionByKeyAndTenantId(String documentDefinitionKey, String tenantId) Returns the latestDocumentDefinitionfor the given key in the given tenant.getDocumentDefinitionModel(String documentDefinitionId) Returns theDocumentDefinitionModelincluding all action model info.getResourceAsStream(String deploymentId, String resourceName) Gives access to a deployment resource through a stream of bytes.voidsetDocumentDefinitionCategory(String documentDefinitionId, String category) Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutorMethods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
DocumentRepositoryServiceImpl
-
-
Method Details
-
createDeployment
Description copied from interface:DocumentRepositoryServiceStarts creating a new deployment- Specified by:
createDeploymentin interfaceDocumentRepositoryService
-
getDeploymentResourceNames
Description copied from interface:DocumentRepositoryServiceRetrieves a list of deployment resources for the given deployment, ordered alphabetically.- Specified by:
getDeploymentResourceNamesin interfaceDocumentRepositoryService- Parameters:
deploymentId- id of the deployment, cannot be null.
-
getResourceAsStream
Description copied from interface:DocumentRepositoryServiceGives access to a deployment resource through a stream of bytes.- Specified by:
getResourceAsStreamin interfaceDocumentRepositoryService- Parameters:
deploymentId- id of the deployment, cannot be null.resourceName- name of the resource, cannot be null.
-
deploy
-
getDocumentDefinition
Description copied from interface:DocumentRepositoryServiceReturns theDocumentDefinitionincluding all action information like additional Properties (e.g. documentation).- Specified by:
getDocumentDefinitionin interfaceDocumentRepositoryService
-
getDocumentDefinitionByKey
Description copied from interface:DocumentRepositoryServiceReturns the latestDocumentDefinitionfor the given key.- Specified by:
getDocumentDefinitionByKeyin interfaceDocumentRepositoryService
-
getDocumentDefinitionByKeyAndTenantId
public DocumentDefinition getDocumentDefinitionByKeyAndTenantId(String documentDefinitionKey, String tenantId) Description copied from interface:DocumentRepositoryServiceReturns the latestDocumentDefinitionfor the given key in the given tenant.- Specified by:
getDocumentDefinitionByKeyAndTenantIdin interfaceDocumentRepositoryService
-
getDocumentDefinitionModel
Description copied from interface:DocumentRepositoryServiceReturns theDocumentDefinitionModelincluding all action model info.- Specified by:
getDocumentDefinitionModelin interfaceDocumentRepositoryService
-
setDocumentDefinitionCategory
- Specified by:
setDocumentDefinitionCategoryin interfaceDocumentRepositoryService
-
convertDocumentDefinitionModelToJson
Description copied from interface:DocumentRepositoryServiceReturns theDocumentDefinitionModelas a JSON string.- Specified by:
convertDocumentDefinitionModelToJsonin interfaceDocumentRepositoryService
-
deleteDeployment
Description copied from interface:DocumentRepositoryServiceDeletes the given deployment.- Specified by:
deleteDeploymentin interfaceDocumentRepositoryService- Parameters:
deploymentId- id of the deployment, cannot be null.
-
createDeploymentQuery
Description copied from interface:DocumentRepositoryServiceQuery deployments- Specified by:
createDeploymentQueryin interfaceDocumentRepositoryService
-
createDocumentDefinitionQuery
Description copied from interface:DocumentRepositoryServiceQuery case definitions- Specified by:
createDocumentDefinitionQueryin interfaceDocumentRepositoryService
-