public interface IRebateRecordManager
Modifier and Type | Method and Description |
---|---|
RebateRecord |
add(Map<?,?>... attributeValues)
Add a RR to the current RA.lineitem with the default name and optional initial generic attribute values
|
RebateRecord |
add(String rebateRecordName,
Map<?,?>... attributeValues)
Add a RR to the current RA.lineitem with the given name and optional initial generic attribute values
|
RebateRecord |
add(String rebateRecordName,
String rebateRecordSetLabel,
Map<?,?>... attributeValues)
Add a RR in the given RR-set to the current RA.lineitem with the given name and optional initial generic attribute values
If the RR-set with the given label does not yet exist, it will be created as a side-effect.
|
ResultRebateRecord |
asLink()
Return a clickable link to the RR with the default name, as the result of a formula element
|
ResultRebateRecord |
asLink(String rebateRecordName)
Return a clickable link to the RR with the given name, as the result of a formula element
|
ResultRebateRecord |
asLink(String rebateRecordName,
String rebateRecordSetLabel)
Return a clickable link to the RR for the given name and RR-set, as the result of a formula element
|
ResultMatrix |
asResultMatrix(String... attributes)
Return a ResultMatrix listing all RRs in the agreement, optionally the fields/attributes to be shown as matrix columns.
|
ChartBuilderResult |
buildDataTableChart(String datamartName,
String dateDimFieldName)
Deprecated.
|
RebateRecord |
get()
Get the RR with the default name linked to the current RA.lineitem
|
RebateRecord |
get(String rebateRecordName)
Get the RR with the given name linked to the current RA.lineitem
|
RebateRecord |
get(String rebateRecordName,
String rebateRecordSetLabel)
In the given RR-set, get the RR with the given name linked to the current RA.lineitem
|
List<RebateRecord> |
getAll()
Get all RRs linked to the the current agreement (via RR --> RLI --> RBA).
|
List<RebateRecord> |
getAll(String lineId)
Get all RRs linked to the line item with the given lineID in the current agreement (via RR --> RLI).
|
Object |
getResult(String elementName)
Get the formula element result for the RR with the default name linked to the current RA.lineitem
|
Object |
getResult(String rebateRecordName,
String elementName)
Get the formula element result for the RR with the given name linked to the current RA.lineitem
|
Object |
getResult(String rebateRecordName,
String rebateRecordSetLabel,
String elementName)
In the given RR-set, get the formula element result for the RR with the given name linked to the current RA.lineitem
|
boolean |
set(Map<?,?>... attributeValues)
Update genetic attributes of the RR with the default name (linked to the current RA.lineitem)
|
boolean |
set(String rebateRecordName,
Map<?,?>... attributeValues)
Update genetic attributes of the RR with the given name (linked to the current RA.lineitem)
|
boolean |
set(String rebateRecordName,
String rebateRecordSetLabel,
Map<?,?>... attributeValues)
In the given RR-set, update genetic attributes of the RR with the given name (linked to the current RA.lineitem)
|
boolean |
setRank(int rank)
Sets the rank on the default RR.
|
boolean |
setRank(String rebateRecordName,
int rank)
Sets the rank on the named RR.
|
RebateRecord add(Map<?,?>... attributeValues)
RebateRecord add(String rebateRecordName, Map<?,?>... attributeValues)
RebateRecord add(String rebateRecordName, String rebateRecordSetLabel, Map<?,?>... attributeValues)
boolean setRank(int rank)
boolean setRank(String rebateRecordName, int rank)
List<RebateRecord> getAll()
List<RebateRecord> getAll(String lineId)
RebateRecord get()
RebateRecord get(String rebateRecordName)
RebateRecord get(String rebateRecordName, String rebateRecordSetLabel)
boolean set(Map<?,?>... attributeValues)
boolean set(String rebateRecordName, Map<?,?>... attributeValues)
boolean set(String rebateRecordName, String rebateRecordSetLabel, Map<?,?>... attributeValues)
Object getResult(String elementName)
Object getResult(String rebateRecordName, String elementName)
Object getResult(String rebateRecordName, String rebateRecordSetLabel, String elementName)
ResultRebateRecord asLink()
ResultRebateRecord asLink(String rebateRecordName)
ResultRebateRecord asLink(String rebateRecordName, String rebateRecordSetLabel)
ResultMatrix asResultMatrix(String... attributes)
@Deprecated ChartBuilderResult buildDataTableChart(String datamartName, String dateDimFieldName)
Copyright © 2019. All rights reserved.