public class CmmnCaseProviderProxy extends Object implements com.edorasware.commons.core.any.support.AnyWorkObjectProvider, org.springframework.context.ApplicationContextAware
This class is a workaround for the multiple circular dependencies on the AnyWorkObjectService in the CMMN provider.
TODO (guy.brand): find a better way to deal with those dependencies. See CLD-11237
| Constructor and Description |
|---|
CmmnCaseProviderProxy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(com.edorasware.commons.core.any.support.AnyWorkObjectProviderListener listener) |
void |
cancel(String workObjectId) |
String |
create(com.edorasware.commons.core.any.AnyWorkObject template,
String parentId) |
void |
delete(String externalId) |
void |
deployDefinitions(List<? extends org.springframework.core.io.Resource> resources,
String deploymentName) |
CmmnCaseProvider |
getCmmnCaseProvider() |
Collection<com.edorasware.commons.core.any.AnyWorkObjectDefinition> |
getDefinitions() |
String |
getId() |
String |
getWorkObjectType() |
void |
removeListener(com.edorasware.commons.core.any.support.AnyWorkObjectProviderListener listener) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
update(String workObjectId,
List<com.edorasware.commons.core.field.FieldChange> changes) |
public String getId()
getId in interface com.edorasware.commons.core.id.Identifiablepublic void addListener(com.edorasware.commons.core.any.support.AnyWorkObjectProviderListener listener)
addListener in interface com.edorasware.commons.core.provider.entity.EntityProvider<com.edorasware.commons.core.any.support.AnyWorkObjectProviderListener>public void removeListener(com.edorasware.commons.core.any.support.AnyWorkObjectProviderListener listener)
removeListener in interface com.edorasware.commons.core.provider.entity.EntityProvider<com.edorasware.commons.core.any.support.AnyWorkObjectProviderListener>public String getWorkObjectType()
getWorkObjectType in interface com.edorasware.commons.core.provider.entity.DomainObjectProviderpublic Collection<com.edorasware.commons.core.any.AnyWorkObjectDefinition> getDefinitions()
getDefinitions in interface com.edorasware.commons.core.provider.entity.DomainObjectProviderpublic void deployDefinitions(List<? extends org.springframework.core.io.Resource> resources, String deploymentName)
deployDefinitions in interface com.edorasware.commons.core.provider.entity.DomainObjectProviderpublic String create(com.edorasware.commons.core.any.AnyWorkObject template, String parentId)
create in interface com.edorasware.commons.core.provider.entity.DomainObjectProviderpublic void cancel(String workObjectId)
cancel in interface com.edorasware.commons.core.provider.entity.WorkObjectProviderpublic void update(String workObjectId, List<com.edorasware.commons.core.field.FieldChange> changes)
update in interface com.edorasware.commons.core.provider.entity.DomainObjectProviderpublic void delete(String externalId)
delete in interface com.edorasware.commons.core.provider.entity.DomainObjectProviderpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic CmmnCaseProvider getCmmnCaseProvider()
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.