public interface DsTransactionData
Modifier and Type | Interface and Description |
---|---|
static class |
DsTransactionData.PrimitiveValue
Holder class for a primitive with an associate value.
|
Modifier and Type | Method and Description |
---|---|
DsTransactionData |
add(DsTransactionData.PrimitiveValue primitiveValue)
Put the given primitive value holder to the end of the transaction data.
|
DsTransactionData |
add(InputPrimitive primitive,
SecureString data)
Put the given primitive and associated data at the end of the
transaction data.
|
DsTransactionData |
add(MessageDialogPrimitive primitive)
Put the given primitive at the end of the transaction data.
|
DsTransactionData |
add(TextPrimitive primitive,
SecureString data)
Put the given primitive and associated data at the end of the
transaction data.
|
java.util.List<DsTransactionData.PrimitiveValue> |
getEntries()
Get the list of primitive values added in the transaction data.
|
Template |
getTemplate()
Get the template that is associated with this transaction data.
|
Template getTemplate()
DsTransactionData add(DsTransactionData.PrimitiveValue primitiveValue)
primitiveValue
- the primitive value holderDsTransactionData add(InputPrimitive primitive, SecureString data)
primitive
- the input primitivedata
- the data to putDsTransactionData add(TextPrimitive primitive, SecureString data)
primitive
- the text primitivedata
- the data to putDsTransactionData add(MessageDialogPrimitive primitive)
This method should only be used for primitives which don't accept input data, otherwise use one of the add methods.
primitive
- the message dialog primitivejava.lang.IllegalArgumentException
- When primitive is an instance of InputPrimitivejava.util.List<DsTransactionData.PrimitiveValue> getEntries()
List
<
PrimitiveValue
>)
in this transaction data, if none the empty list