Class KeywordsDynamicInfo
- All Implemented Interfaces:
Serializable
IXServicePortIF.checkoutKeywordsDynamic(ClientInfo, KeywordsDynamicInfo)
.
There are two ways to execute the script for dynamic keyword lists. According to the parameter in
this class, the one way or the other is chosen. The first way is to specify
sord
and maskLineFocus
. Then, the IX
passes these parameters to the script via the script-function open(ec, sord, fieldName). The
other parameters will be overwritten by null
and completely ignored. The other way
is to set the fields mapData
,
mapLineFocus
and mapScriptName
. In this
case, the IX passes these parameters to the scripting function openMap(ec, data, fieldName). To
achieve this, sord
as well as maskLineFocus
must be null
.
- Since:
- 9.00.000.001
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AspectAssoc
Only for sords with data organization based on aspects.protected AspectLine
Only for sords with data organization based on aspects.Represents the input data of a form.protected String
Represents the id of a field in a form.protected String
Determines the script to execute.protected DocMaskLine
Only for sords with data organization based on objkeys.protected int
Only for sords with data organization based on aspects.protected Sord
This value contains data gathered by the client.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getSord()
void
setAspectAssocFocus
(AspectAssoc aspectAssocFocus) void
setAspectLineFocus
(AspectLine aspectLineFocus) void
setMapData
(Map<String, String> mapData) void
setMapLineFocus
(String mapLineFocus) void
setMapScriptName
(String mapScriptName) void
setMaskLineFocus
(DocMaskLine maskLineFocus) void
setOrdinalFocus
(int ordinalFocus) void
toString()
Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
Field Details
-
sord
This value contains data gathered by the client. The contents of sord will be given to the script to execute.
-
maskLineFocus
Only for sords with data organization based on objkeys. At the client, set this value to the mask line that currently has the focus. This value determines the server script to be executed. The server only reads the members maskId and id. For the server-side processing necessary residual values are read from the database.
The focused mask line is passed to the script to execute. Ignoring this value in the script is a valid use case.
-
mapScriptName
Determines the script to execute.This value has only an effect if sord and maskLineFocus are set to null. Setting this value requires to set the values mapLineFocus and mapData also.
- Since:
- 9.00.014.011
-
mapLineFocus
Represents the id of a field in a form.- Since:
- 9.00.014.011
- See Also:
-
mapData
Represents the input data of a form.The script to execute uses the values in this map to filter the resulting data set.
- Since:
- 9.00.014.011
- See Also:
-
aspectAssocFocus
Only for sords with data organization based on aspects. At the client, set this value to the aspect association being currently in focus. This value determines (together with field aspectLineFocus) the server script to be executed. The server only reads the members aspectId and name and determines the mask this aspect association is contained in. For the server-side processing necessary residual values are read from the database.
The focused aspect association is passed to the script to execute. Ignoring this value in the script is a valid use case.
- Since:
- 21.00.000.004
-
aspectLineFocus
Only for sords with data organization based on aspects. At the client, set this value to the aspect line being currently in focus. This value determines (together with field aspectAssocFocus) the server script to be executed. The server only reads the members aspectId and key. For the server-side processing necessary residual values are read from the database.
The focused aspect line is passed to the script to execute. Ignoring this value in the script is a valid use case.
- Since:
- 21.00.000.004
-
ordinalFocus
protected int ordinalFocusOnly for sords with data organization based on aspects. If aspectAssocFocus has a cardinality of
Cardinality.MANDATORY_MANY
orCardinality.OPTIONAL_MANY
, this value can optionally be given to set the focus to a particular number within the aspectObjects regarding to the index within the sords aspectObjectArray of the given aspect association.If this value is positive or equals to zero, this value is passed to the script to execute. Ignoring this value in the script is a valid use case. This value defaults to -1 which means "no focus on a particular number".
- Since:
- 21.00.000.004
-
-
Constructor Details
-
KeywordsDynamicInfo
public KeywordsDynamicInfo() -
KeywordsDynamicInfo
-
-
Method Details
-
getSord
-
setSord
-
getMaskLineFocus
-
setMaskLineFocus
-
getMapScriptName
-
setMapScriptName
-
getMapLineFocus
-
setMapLineFocus
-
getMapData
-
setMapData
-
getAspectAssocFocus
-
setAspectAssocFocus
-
getAspectLineFocus
-
setAspectLineFocus
-
getOrdinalFocus
public int getOrdinalFocus() -
setOrdinalFocus
public void setOrdinalFocus(int ordinalFocus) -
toString
-