public interface RuntimeAppDefinitionInternalService
Modifier and Type | Method and Description |
---|---|
com.activiti.domain.runtime.RuntimeApp |
addAppDefinitionForUser(com.activiti.domain.idm.User user,
com.activiti.domain.runtime.RuntimeAppDefinition rad) |
com.activiti.domain.runtime.RuntimeAppDefinition |
createRuntimeAppDefinition(com.activiti.domain.idm.User user,
String name,
String description,
Long modelId,
String definition) |
com.activiti.domain.runtime.RuntimeAppDeployment |
createRuntimeAppDeployment(com.activiti.domain.idm.User user,
com.activiti.domain.runtime.RuntimeAppDefinition appDefinition,
Long modelId,
String definition) |
boolean |
deleteAppDefinition(com.activiti.domain.runtime.RuntimeAppDefinition appDefinition) |
boolean |
deleteAppDefinitionForUser(com.activiti.domain.idm.User user,
com.activiti.domain.runtime.RuntimeAppDefinition appDefinition) |
com.activiti.domain.runtime.RuntimeAppDefinition |
getDefinitionForModelAndUser(Long modelId,
com.activiti.domain.idm.User user) |
com.activiti.domain.runtime.RuntimeAppDefinition |
getRuntimeAppDefinition(Long id) |
com.activiti.domain.runtime.RuntimeAppDefinition |
getRuntimeAppDefinitionForModel(Long modelId) |
List<com.activiti.domain.runtime.RuntimeAppDeployment> |
getRuntimeAppDeploymentsForApp(com.activiti.domain.runtime.RuntimeAppDefinition appDefinition) |
void |
updateRuntimeAppDefinition(com.activiti.domain.runtime.RuntimeAppDefinition appDefinition) |
void |
updateRuntimeAppDeployment(com.activiti.domain.runtime.RuntimeAppDeployment appDeployment) |
com.activiti.domain.runtime.RuntimeAppDefinition getRuntimeAppDefinition(Long id)
RuntimeAppDefinition
for the given id. Returns null, if no app definition
has been found.com.activiti.domain.runtime.RuntimeAppDefinition getRuntimeAppDefinitionForModel(Long modelId)
RuntimeAppDefinition
which is a deployed version of the model with the given id or null
if the model currently not deployed.List<com.activiti.domain.runtime.RuntimeAppDeployment> getRuntimeAppDeploymentsForApp(com.activiti.domain.runtime.RuntimeAppDefinition appDefinition)
com.activiti.domain.runtime.RuntimeAppDefinition createRuntimeAppDefinition(com.activiti.domain.idm.User user, String name, String description, Long modelId, String definition)
RuntimeAppDefinition
, representing the deployed version of an app definition model with the given id. In case a RuntimeAppDefinition
already exists
for the given model, only an additional RuntimeApp
is created, referencing the existing definition and given user.com.activiti.domain.runtime.RuntimeAppDeployment createRuntimeAppDeployment(com.activiti.domain.idm.User user, com.activiti.domain.runtime.RuntimeAppDefinition appDefinition, Long modelId, String definition)
RuntimeAppDeployment
, representing the deployed version of an app definition model with the given id.void updateRuntimeAppDefinition(com.activiti.domain.runtime.RuntimeAppDefinition appDefinition)
void updateRuntimeAppDeployment(com.activiti.domain.runtime.RuntimeAppDeployment appDeployment)
com.activiti.domain.runtime.RuntimeAppDefinition getDefinitionForModelAndUser(Long modelId, com.activiti.domain.idm.User user)
com.activiti.domain.runtime.RuntimeApp addAppDefinitionForUser(com.activiti.domain.idm.User user, com.activiti.domain.runtime.RuntimeAppDefinition rad)
RuntimeApp
, connecting a user with a RuntimeAppDefinition
. No checks
are performed to see if a user has rights to ass this definition.boolean deleteAppDefinitionForUser(com.activiti.domain.idm.User user, com.activiti.domain.runtime.RuntimeAppDefinition appDefinition)
RuntimeApp
for the given user and the given definition. Returns
false if no valid RuntimeApp
existed.boolean deleteAppDefinition(com.activiti.domain.runtime.RuntimeAppDefinition appDefinition)
Copyright © 2014–2015 Alfresco. All rights reserved.