Package de.businesscode.bcdui.binding.write
package de.businesscode.bcdui.binding.write
-
ClassDescriptionUtility class for custom JDBC type handling/mapping, i.e. defined on a
BindingItem
via type-name=OTHER cust:type-name=TEXTEnforce SubjectFilters on write This callback is registered if SubjectFilters are declared for a BindingSet It applies its ruled for writing It does currently not support nested filter expressions (only flat AND or OR) and only '=' for comparisontheWriteProcessingCallback
are non thread-safe and each WRS processing will obtain new own intsance of a callback, however the callback parameters supplied from binding-set definition are immutable so the factory will be configured already at binding bootstrapping while an instance of a callback will be provided when requested via createIntance()callback params class scaffolding arbitrary parameters supplied to callback and providing access API, The parameters sample:<ul> <li><Param name="foo" x="a" y="b"/></li> <li><Param name="foo" z="x" d="y"/></li> <li><Param name="bindingItem" id="bcdUpdateBy" value="expression" isCoalesce="true"/></li> <li><Param name="bindingItem" id="bcdUpdateStamp" value="expression" isCoalesce="false"/></li> </ul>
the parameter api is a list of parameter-maps in the order they are defined.preserves the update information on a record, takes following configuration parameters: the default values are marked with asterix (*), all parameters which have no default values are required.preserves the update information on a record, handles following items: bcdUpdateStamp writes current stamp on wrs:M and wrs:I bcdUpdateBy stores the username (principal), follows same logic as bcdUpdateStamp bcdCreateStamp writes current stamp on wrs:I, ignores update on wrs:M bcdCreateBy stores the username (principal), follows same logic as bcdCreateBy in case none of binding-items above are found in the given binding-set an exception is thrown.