public abstract class AbstractUserDashboardProvider extends BaseWorkObjectProvider implements org.springframework.context.ApplicationContextAware
Modifier and Type | Method and Description |
---|---|
String |
create(AnyWorkObject template,
String parentId)
Creates a new entity based on the given template.
|
void |
delete(String workObjectId)
Deletes the entity with the given id .
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
update(String workObjectId,
List<FieldChange> changes)
Updates the entity with the given id by applying the submitted changes.
|
cancel
deployDefinitions, getDefinitions, getWorkObjectType
addListener, getId, removeListener
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deployDefinitions, getDefinitions, getWorkObjectType
addListener, removeListener
getId
public String create(AnyWorkObject template, String parentId)
DomainObjectProvider
Creates a new entity based on the given template.
Typically, the template is used to build the initial data set of the entity that is created. Multiple entities based on the same definition can be created at the same time. Each created entity can be uniquely identified by its id.
create
in interface DomainObjectProvider
create
in class BaseDomainObjectProvider
template
- the definition id of the entity to createparentId
- the parent work object ID (may be null
)public void delete(String workObjectId)
DomainObjectProvider
Deletes the entity with the given id .
delete
in interface DomainObjectProvider
delete
in class BaseDomainObjectProvider
workObjectId
- the external id of the entity to deletepublic void update(String workObjectId, List<FieldChange> changes)
DomainObjectProvider
Updates the entity with the given id by applying the submitted changes.
update
in interface DomainObjectProvider
update
in class BaseDomainObjectProvider
workObjectId
- the external id of the entity to updatechanges
- the changes to apply on the entitypublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.