Interface DataObjectRepositoryService
- All Known Implementing Classes:
DataObjectRepositoryServiceImpl
public interface DataObjectRepositoryService
The main service interface for the master data management.
- Author:
- Micha Kiener
-
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.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.
-
Method Details
-
createDeployment
DataObjectDeploymentBuilder createDeployment()Starts creating a new deployment -
getDeploymentResourceNames
Retrieves a list of deployment resources for the given deployment, ordered alphabetically.- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
getResourceAsStream
Gives access to a deployment resource through a stream of bytes.- Parameters:
deploymentId
- id of the deployment, cannot be null.resourceName
- name of the resource, cannot be null.- Throws:
FlowableObjectNotFoundException
- when the resource doesn't exist in the given deployment or when no deployment exists for the given deploymentId.
-
createDataObjectDefinitionQuery
DataObjectDefinitionQuery createDataObjectDefinitionQuery()Returns a new data object definition query instance to be used when searching for data object definitions.- Returns:
- the query instance used to specify the data object definition query terms
-
getDataObjectDefinition
Returns the specified data object definition given by its id.- Parameters:
dataObjectDefinitionId
- the id of the data objectdefinition- Returns:
- the data object definition given by its id or null if not found
-
getDataObjectDefinitionByKey
-
getDataObjectDefinitionByKeyAndTenantId
DataObjectDefinition getDataObjectDefinitionByKeyAndTenantId(String dataObjectDefinitionKey, String tenantId) -
getDataObjectModel
-
getDataObjectModelByKey
-
getDataObjectModelByKeyAndTenantId
-
convertDataObjectModelToJson
-
createDataObjectSchemaDefinitionQuery
DataObjectSchemaDefinitionQuery createDataObjectSchemaDefinitionQuery() -
performDataObjectSchemaDefinitionUpdate
Perform the update for the schema definition with the given id.- Parameters:
dataObjectSchemaDefinitionId
- the id of the data object schema definition for which the update should be done
-
performDataObjectSchemaDefinitionRollback
Perform the rollback for the schema definition with the given id.- Parameters:
dataObjectSchemaDefinitionId
- the id of the data object schema definition for which the rollback should be done
-
getMasterDataModel
Returns the master data model for the given master data definition id containing the meta information for that master data type.- Parameters:
dataObjectDefinitionId
- the id of the master data definition to return its model- Returns:
- the master data model requested
-
deleteDeployment
Deletes the given deployment.- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
createDeploymentQuery
DataObjectDeploymentQuery createDeploymentQuery()Query deployments
-