Class DataObjectRepositoryServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<DataObjectEngineConfiguration>
com.flowable.dataobject.engine.impl.repository.DataObjectRepositoryServiceImpl
- All Implemented Interfaces:
DataObjectRepositoryService
public class DataObjectRepositoryServiceImpl
extends CommonEngineServiceImpl<DataObjectEngineConfiguration>
implements DataObjectRepositoryService
- 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
ConstructorDescriptionDataObjectRepositoryServiceImpl
(DataObjectEngineConfiguration engineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionconvertDataObjectModelToJson
(String dataObjectDefinitionId) Returns a new data object definition query instance to be used when searching for data object definitions.Starts creating a new deploymentQuery deploymentsvoid
deleteDeployment
(String deploymentId) Deletes the given deployment.deploy
(DataObjectDeploymentBuilderImpl deploymentBuilder) getDataObjectDefinition
(String dataObjectDefinitionId) Returns the specified data object definition given by its id.getDataObjectDefinitionByKey
(String dataObjectDefinitionKey) getDataObjectDefinitionByKeyAndTenantId
(String dataObjectDefinitionKey, String tenantId) getDataObjectModel
(String dataObjectDefinitionId) getDataObjectModelByKey
(String dataObjectDefinitionKey) getDataObjectModelByKeyAndTenantId
(String dataObjectDefinitionKey, String tenantId) getDeploymentResourceNames
(String deploymentId) Retrieves a list of deployment resources for the given deployment, ordered alphabetically.getMasterDataModel
(String dataObjectDefinitionId) Returns the master data model for the given master data definition id containing the meta information for that master data type.getResourceAsStream
(String deploymentId, String resourceName) Gives access to a deployment resource through a stream of bytes.void
performDataObjectSchemaDefinitionRollback
(String dataObjectSchemaDefinitionId) Perform the rollback for the schema definition with the given id.void
performDataObjectSchemaDefinitionUpdate
(String dataObjectSchemaDefinitionId) Perform the update for the schema definition with the given id.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
-
DataObjectRepositoryServiceImpl
-
-
Method Details
-
createDeployment
Description copied from interface:DataObjectRepositoryService
Starts creating a new deployment- Specified by:
createDeployment
in interfaceDataObjectRepositoryService
-
getDeploymentResourceNames
Description copied from interface:DataObjectRepositoryService
Retrieves a list of deployment resources for the given deployment, ordered alphabetically.- Specified by:
getDeploymentResourceNames
in interfaceDataObjectRepositoryService
- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
getResourceAsStream
Description copied from interface:DataObjectRepositoryService
Gives access to a deployment resource through a stream of bytes.- Specified by:
getResourceAsStream
in interfaceDataObjectRepositoryService
- Parameters:
deploymentId
- id of the deployment, cannot be null.resourceName
- name of the resource, cannot be null.
-
deploy
-
getDataObjectDefinition
Description copied from interface:DataObjectRepositoryService
Returns the specified data object definition given by its id.- Specified by:
getDataObjectDefinition
in interfaceDataObjectRepositoryService
- Parameters:
dataObjectDefinitionId
- the id of the data objectdefinition- Returns:
- the data object definition given by its id or null if not found
-
getDataObjectDefinitionByKey
- Specified by:
getDataObjectDefinitionByKey
in interfaceDataObjectRepositoryService
-
getDataObjectDefinitionByKeyAndTenantId
public DataObjectDefinition getDataObjectDefinitionByKeyAndTenantId(String dataObjectDefinitionKey, String tenantId) - Specified by:
getDataObjectDefinitionByKeyAndTenantId
in interfaceDataObjectRepositoryService
-
getDataObjectModel
- Specified by:
getDataObjectModel
in interfaceDataObjectRepositoryService
-
getMasterDataModel
Description copied from interface:DataObjectRepositoryService
Returns the master data model for the given master data definition id containing the meta information for that master data type.- Specified by:
getMasterDataModel
in interfaceDataObjectRepositoryService
- Parameters:
dataObjectDefinitionId
- the id of the master data definition to return its model- Returns:
- the master data model requested
-
getDataObjectModelByKey
- Specified by:
getDataObjectModelByKey
in interfaceDataObjectRepositoryService
-
getDataObjectModelByKeyAndTenantId
public DataObjectModel getDataObjectModelByKeyAndTenantId(String dataObjectDefinitionKey, String tenantId) - Specified by:
getDataObjectModelByKeyAndTenantId
in interfaceDataObjectRepositoryService
-
convertDataObjectModelToJson
- Specified by:
convertDataObjectModelToJson
in interfaceDataObjectRepositoryService
-
performDataObjectSchemaDefinitionUpdate
Description copied from interface:DataObjectRepositoryService
Perform the update for the schema definition with the given id.- Specified by:
performDataObjectSchemaDefinitionUpdate
in interfaceDataObjectRepositoryService
- Parameters:
dataObjectSchemaDefinitionId
- the id of the data object schema definition for which the update should be done
-
performDataObjectSchemaDefinitionRollback
Description copied from interface:DataObjectRepositoryService
Perform the rollback for the schema definition with the given id.- Specified by:
performDataObjectSchemaDefinitionRollback
in interfaceDataObjectRepositoryService
- Parameters:
dataObjectSchemaDefinitionId
- the id of the data object schema definition for which the rollback should be done
-
deleteDeployment
Description copied from interface:DataObjectRepositoryService
Deletes the given deployment.- Specified by:
deleteDeployment
in interfaceDataObjectRepositoryService
- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
createDeploymentQuery
Description copied from interface:DataObjectRepositoryService
Query deployments- Specified by:
createDeploymentQuery
in interfaceDataObjectRepositoryService
-
createDataObjectDefinitionQuery
Description copied from interface:DataObjectRepositoryService
Returns a new data object definition query instance to be used when searching for data object definitions.- Specified by:
createDataObjectDefinitionQuery
in interfaceDataObjectRepositoryService
- Returns:
- the query instance used to specify the data object definition query terms
-
createDataObjectSchemaDefinitionQuery
- Specified by:
createDataObjectSchemaDefinitionQuery
in interfaceDataObjectRepositoryService
-