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
commandExecutor
Fields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentRepositoryServiceImpl
(ContentEngineConfiguration engineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionconvertDocumentDefinitionModelToJson
(String documentDefinitionId) Returns theDocumentDefinitionModel
as a JSON string.Starts creating a new deploymentQuery deploymentsQuery case definitionsvoid
deleteDeployment
(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 theDocumentDefinition
including all action information like additional Properties (e.g.getDocumentDefinitionByKey
(String documentDefinitionKey) Returns the latestDocumentDefinition
for the given key.getDocumentDefinitionByKeyAndTenantId
(String documentDefinitionKey, String tenantId) Returns the latestDocumentDefinition
for the given key in the given tenant.getDocumentDefinitionModel
(String documentDefinitionId) Returns theDocumentDefinitionModel
including all action model info.getResourceAsStream
(String deploymentId, String resourceName) Gives access to a deployment resource through a stream of bytes.void
setDocumentDefinitionCategory
(String documentDefinitionId, String category) Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
DocumentRepositoryServiceImpl
-
-
Method Details
-
createDeployment
Description copied from interface:DocumentRepositoryService
Starts creating a new deployment- Specified by:
createDeployment
in interfaceDocumentRepositoryService
-
getDeploymentResourceNames
Description copied from interface:DocumentRepositoryService
Retrieves a list of deployment resources for the given deployment, ordered alphabetically.- Specified by:
getDeploymentResourceNames
in interfaceDocumentRepositoryService
- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
getResourceAsStream
Description copied from interface:DocumentRepositoryService
Gives access to a deployment resource through a stream of bytes.- Specified by:
getResourceAsStream
in interfaceDocumentRepositoryService
- Parameters:
deploymentId
- id of the deployment, cannot be null.resourceName
- name of the resource, cannot be null.
-
deploy
-
getDocumentDefinition
Description copied from interface:DocumentRepositoryService
Returns theDocumentDefinition
including all action information like additional Properties (e.g. documentation).- Specified by:
getDocumentDefinition
in interfaceDocumentRepositoryService
-
getDocumentDefinitionByKey
Description copied from interface:DocumentRepositoryService
Returns the latestDocumentDefinition
for the given key.- Specified by:
getDocumentDefinitionByKey
in interfaceDocumentRepositoryService
-
getDocumentDefinitionByKeyAndTenantId
public DocumentDefinition getDocumentDefinitionByKeyAndTenantId(String documentDefinitionKey, String tenantId) Description copied from interface:DocumentRepositoryService
Returns the latestDocumentDefinition
for the given key in the given tenant.- Specified by:
getDocumentDefinitionByKeyAndTenantId
in interfaceDocumentRepositoryService
-
getDocumentDefinitionModel
Description copied from interface:DocumentRepositoryService
Returns theDocumentDefinitionModel
including all action model info.- Specified by:
getDocumentDefinitionModel
in interfaceDocumentRepositoryService
-
setDocumentDefinitionCategory
- Specified by:
setDocumentDefinitionCategory
in interfaceDocumentRepositoryService
-
convertDocumentDefinitionModelToJson
Description copied from interface:DocumentRepositoryService
Returns theDocumentDefinitionModel
as a JSON string.- Specified by:
convertDocumentDefinitionModelToJson
in interfaceDocumentRepositoryService
-
deleteDeployment
Description copied from interface:DocumentRepositoryService
Deletes the given deployment.- Specified by:
deleteDeployment
in interfaceDocumentRepositoryService
- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
createDeploymentQuery
Description copied from interface:DocumentRepositoryService
Query deployments- Specified by:
createDeploymentQuery
in interfaceDocumentRepositoryService
-
createDocumentDefinitionQuery
Description copied from interface:DocumentRepositoryService
Query case definitions- Specified by:
createDocumentDefinitionQuery
in interfaceDocumentRepositoryService
-