public class DraftPatchEventContextImpl extends EventContextDelegator implements DraftPatchEventContext
EventContext for the DraftService.EVENT_DRAFT_PATCH event.| Constructor and Description |
|---|
DraftPatchEventContextImpl(EventContext eventContext) |
| Modifier and Type | Method and Description |
|---|---|
com.sap.cds.ql.cqn.CqnUpdate |
getCqn() |
Iterable<Map<String,Object>> |
getCqnValueSets() |
com.sap.cds.Result |
getResult() |
DraftService |
getService() |
void |
setCqn(com.sap.cds.ql.cqn.CqnUpdate cqn)
Sets the
CqnUpdate statement |
void |
setCqnValueSets(Iterable<Map<String,Object>> valueSets)
Sets the CQN value sets, to enable batched
CqnUpdate statements |
void |
setResult(Iterable<? extends Map<String,?>> result)
Sets the result of the
DraftService.EVENT_DRAFT_PATCH event |
as, get, getAuthenticationInfo, getCdsRuntime, getChangeSetContext, getDelegatedEventContext, getEvent, getFeatureTogglesInfo, getMessages, getModel, getParameterInfo, getServiceCatalog, getTarget, getUserInfo, isCompleted, keySet, put, setCompletedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateas, create, create, get, getAuthenticationInfo, getCdsRuntime, getChangeSetContext, getEvent, getFeatureTogglesInfo, getMessages, getModel, getParameterInfo, getServiceCatalog, getTarget, getUserInfo, isCompleted, keySet, put, setCompletedpublic DraftPatchEventContextImpl(EventContext eventContext)
public DraftService getService()
getService in interface DraftPatchEventContextgetService in interface EventContextgetService in class EventContextDelegatorpublic com.sap.cds.ql.cqn.CqnUpdate getCqn()
getCqn in interface DraftPatchEventContextCqnUpdate statementpublic void setCqn(com.sap.cds.ql.cqn.CqnUpdate cqn)
CqnUpdate statementsetCqn in interface DraftPatchEventContextcqn - the CqnUpdate statementpublic Iterable<Map<String,Object>> getCqnValueSets()
getCqnValueSets in interface DraftPatchEventContextCqnUpdate statementspublic void setCqnValueSets(Iterable<Map<String,Object>> valueSets)
CqnUpdate statementssetCqnValueSets in interface DraftPatchEventContextvalueSets - the CQN value setspublic com.sap.cds.Result getResult()
getResult in interface DraftPatchEventContextResult of the DraftService.EVENT_DRAFT_PATCH eventpublic void setResult(Iterable<? extends Map<String,?>> result)
DraftService.EVENT_DRAFT_PATCH eventsetResult in interface DraftPatchEventContextresult - a Result or a list of Maps, which will be transformed into a ResultCopyright © 2023. All rights reserved.