Package de.elo.ix.client
Class DocMaskLine
java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.DocMaskLine
- All Implemented Interfaces:
Serializable
This class contains data for a line in the document mask.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
Bitset of AccessC.LUR_* constants.protected String
Access control for mask line.protected AclItem[]
Access control for mask line.Specifies theDocMask.id
allowed in aDocMaskLineC.TYPE_RELATION
.protected boolean
Determines whether the index line can be modified.protected String
Quickinfo text for the attribute.protected String
Translation-keyword forcomment
.protected String
This value is assigned to the ObjKey.data element for a new Sord object.protected boolean
Disable word wheel.protected int
Column position of edit controlprotected int
Row postion of edit controlprotected int
With of edit controlprotected boolean
If true a index value will not be searchable via iSearch.protected String
External data.protected boolean
This value should not be displayed to the user.protected int
The ID of the line information.protected boolean
Display index value next to the objects short description.protected boolean
Inherit this keywording field to subordinated entries.protected boolean
Do not inherit the parent's value.protected String
The attribute group name.protected int
Column position of label controlprotected int
Row position of label controlprotected int
This line information belongs to a storage mask with the ID MaskId.protected int
The maximum value of this attribute.protected int
The minimum value of this attribute.protected String
The name of the attribute.protected String
Translation-keyword forname
.protected boolean
Creates a new tab in the keywording dialogue.protected boolean
Defines whether a index value should be searchable as TOKENIZED or UN_TOKENIZEDprotected boolean
The index line can only contain buzzwords.protected boolean
Add "*" after index value in search operation.protected boolean
Add "*" before index value in search operation.protected boolean
This value should not be edited in a user interface (convention).protected boolean
Entry is required.protected String
A script or plugin at the server can serve as the data source of a dynamic keyword list.protected int
This value represents the number of the tab, this line has to appear on.protected int
Tabulator order of edit controlprotected boolean
Translate index values into or from the users language.protected int
The type of the line information.protected String
RegEx to validate user input for entry.protected boolean
Allows multiple values for keywording tables.protected boolean
Display index value in version information dialog when checking in a document.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getAcl()
AclItem[]
int
int
int
int
getId()
getKey()
int
int
int
int
getMax()
int
getMin()
getName()
final String
int
int
int
getType()
boolean
boolean
boolean
boolean
isHidden()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setAccess
(int access) void
void
setAclItems
(AclItem[] aclItems) void
void
setCanEdit
(boolean canEdit) void
setComment
(String comment) void
setCommentTranslationKey
(String commentTranslationKey) void
setDefaultValue
(String defaultValue) void
setDisableWordWheel
(boolean disableWordWheel) void
setEditCol
(int editCol) void
setEditRow
(int editRow) void
setEditWidth
(int editWidth) void
setExcludeFromISearch
(boolean excludeFromISearch) void
setExternalData
(String externalData) void
setHidden
(boolean hidden) void
setId
(int id) void
setImportant
(boolean important) void
setInherit
(boolean inherit) void
setInheritFromParent
(boolean inheritFromParent) void
void
setLabelCol
(int labelCol) void
setLabelRow
(int labelRow) void
setMaskId
(int maskId) void
setMax
(int max) void
setMin
(int min) void
void
setNameTranslationKey
(String nameTranslationKey) void
setNextTab
(boolean nextTab) void
setNotTokenized
(boolean notTokenized) void
setOnlyBuzzwords
(boolean onlyBuzzwords) void
setPostfixAsterix
(boolean postfixAsterix) void
setPrefixAsterix
(boolean prefixAsterix) void
setReadOnly
(boolean readOnly) void
setRequired
(boolean required) final void
setServerScriptName
(String serverScriptName) void
setTabIndex
(int tabIndex) void
setTabOrder
(int tabOrder) void
setTranslate
(boolean translateValue) void
setType
(int type) void
setValidateExpression
(String validateExpression) void
setValueArray
(boolean valueArray) void
setVersion
(boolean version) toString()
Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
Field Details
-
comment
Quickinfo text for the attribute. -
id
protected int idThe ID of the line information. -
key
The attribute group name. This member corresponds toObjKey.name
.- See Also:
-
maskId
protected int maskIdThis line information belongs to a storage mask with the ID MaskId. -
max
protected int maxThe maximum value of this attribute. -
min
protected int minThe minimum value of this attribute. -
name
The name of the attribute. This value is displayed in the lable before the edit field. It can be translated into reps. from the users language: setSessionOptionsC.TRANSLATE_TERM
.- See Also:
-
aclItems
Access control for mask line. Currently this can only be null or one item representing a key. -
canEdit
protected boolean canEditDetermines whether the index line can be modified. Read-only. -
editCol
protected int editColColumn position of edit control -
editRow
protected int editRowRow postion of edit control -
editWidth
protected int editWidthWith of edit control -
labelCol
protected int labelColColumn position of label control -
labelRow
protected int labelRowRow position of label control -
nextTab
protected boolean nextTabCreates a new tab in the keywording dialogue. -
onlyBuzzwords
protected boolean onlyBuzzwordsThe index line can only contain buzzwords. -
postfixAsterix
protected boolean postfixAsterixAdd "*" after index value in search operation. -
prefixAsterix
protected boolean prefixAsterixAdd "*" before index value in search operation. -
readOnly
protected boolean readOnlyThis value should not be edited in a user interface (convention). Scripts are allowed to edit the value. -
tabOrder
protected int tabOrderTabulator order of edit control -
type
protected int typeThe type of the line information. This can be one of theDocMaskLineC.TYPE_*
constants.- See Also:
-
externalData
External data. Can be used to store an arbitary string.- Since:
- 7.00.000.000
-
important
protected boolean importantDisplay index value next to the objects short description. This element has to be interpreted by the client application. Indexserver ignores this value.- Since:
- 7.00.000.004
-
notTokenized
protected boolean notTokenizedDefines whether a index value should be searchable as TOKENIZED or UN_TOKENIZED- Since:
- 9.00.022.000
-
excludeFromISearch
protected boolean excludeFromISearchIf true a index value will not be searchable via iSearch. Does not affect the index search.- Since:
- 10.00.020.023
-
version
protected boolean versionDisplay index value in version information dialog when checking in a document. This element has to be interpreted by the client application. Indexserver ignores this value.- Since:
- 7.00.000.004
-
translate
protected boolean translateTranslate index values into or from the users language.- Since:
- 7.00.000.004
- See Also:
-
acl
Access control for mask line. -
access
protected int accessBitset of AccessC.LUR_* constants. It contains the access bits for the current user. Only AccessC.LUR_READ and AccessC.LUR_WRITE are used.- Since:
- 7.00.000.047
-
disableWordWheel
protected boolean disableWordWheelDisable word wheel. Clients should not provide a function to list all existing values for this index vlaue. The Indexserver does not set or test this value.- Since:
- 7.00.040.015
-
defaultValue
This value is assigned to the ObjKey.data element for a new Sord object.- Since:
- 7.00.040.016
-
tabIndex
protected int tabIndexThis value represents the number of the tab, this line has to appear on. The first tab's index value is 0. It is on the client's hand to set valid values when checking in document masks.- Since:
- 9.00.000.000
-
serverScriptName
A script or plugin at the server can serve as the data source of a dynamic keyword list. This value represents the name of that script or plugin. If the value is not empty, the client can request a list of available input values by calling the functionIXServicePortIF.checkoutKeywordsDynamic(ClientInfo, KeywordsDynamicInfo)
. In case of a plugin, this value starts with the Bundle-SymbolicName and can be optionally appended by a path. E.g. serverScriptName="com.partner.dkeywords/invoice-solution". The path has to start with a forward slash and is passed toDynamicKeywordEventsFactory.create(de.elo.ix.client.IXServerEventsContext, java.lang.String)
.- Since:
- 9.00.000.001
-
inherit
protected boolean inheritInherit this keywording field to subordinated entries.This option is used to make sure, that all entries in an archive sub-tree have the same value for this keywording field. Thereby the field is identified by its group name (
The option corresponds tokey
andObjKey.name
).inheritFromParent
. As far asinheritFromParent
is also true in the keywording forms definition of all sub-items, the optioninherit
effects the following:- The value of the keywording field can only be changed in the parent entry of the sub-tree. This is the uppermost entry that has the field, which means that the parent's parent does not have this field.
- All sub-items of the parent inherit this value during a background process. The value is forwarded recursively to the entire sub-tree under the parent. The recursion stops at items that are assigned to a keywording form without this field.
- When a child entry under the parent is updated, this field is always corrected to the parent's value.
- For an object moved into a parent, the object and all sub-items inherit the keywording field.
If
inheritFromParent
is false in the keywording form definition of a sub-item, inheritance stops for the sub-item. Thus, the index field is treated as a different field although it has the same group name.- Since:
- 9.00.016.011
-
inheritFromParent
protected boolean inheritFromParentDo not inherit the parent's value.- Since:
- 9.00.030.019
- See Also:
-
nameTranslationKey
Translation-keyword forname
.- Since:
- 9.00.018.005
-
commentTranslationKey
Translation-keyword forcomment
.- Since:
- 9.00.018.005
-
valueArray
protected boolean valueArrayAllows multiple values for keywording tables. For keywording forms organized as tables, seeDocMaskC.DATA_ORGANISATION_TABLE
, index lines must be explicitly declared for storing multiple values. If this member is true, the index line is able to store an arbitrary number of values. For keywording forms organized as name-value pairs, seeDocMaskC.DATA_ORGANISATION_OBJKEYS
, index lines can store multiple values by default and this member has to be ignored.- Since:
- 9.00.039.001
-
validateExpression
RegEx to validate user input for entry.- Since:
- 10.00.020.010
-
required
protected boolean requiredEntry is required.- Since:
- 10.00.020.010
-
allowedMaskIdsForKeywordingRelation
Specifies theDocMask.id
allowed in aDocMaskLineC.TYPE_RELATION
. Mandatory if DocMaskLine is of typeDocMaskLineC.TYPE_RELATION
. Only Sords with the specifiedDocMask.id
can be referenced in this DocMaskLine.- Since:
- 12.00.000.023
- See Also:
-
-
Constructor Details
-
DocMaskLine
public DocMaskLine() -
DocMaskLine
-
DocMaskLine
-
-
Method Details
-
getComment
-
setComment
-
getId
public int getId() -
setId
public void setId(int id) -
getKey
-
setKey
-
getMaskId
public int getMaskId() -
setMaskId
public void setMaskId(int maskId) -
getMax
public int getMax() -
setMax
public void setMax(int max) -
getMin
public int getMin() -
setMin
public void setMin(int min) -
getName
-
setName
-
getAcl
-
setAcl
-
getAclItems
-
setAclItems
-
isCanEdit
public boolean isCanEdit() -
setCanEdit
public void setCanEdit(boolean canEdit) -
getEditCol
public int getEditCol() -
setEditCol
public void setEditCol(int editCol) -
getEditRow
public int getEditRow() -
setEditRow
public void setEditRow(int editRow) -
getEditWidth
public int getEditWidth() -
setEditWidth
public void setEditWidth(int editWidth) -
isHidden
public boolean isHidden() -
setHidden
public void setHidden(boolean hidden) -
getLabelCol
public int getLabelCol() -
setLabelCol
public void setLabelCol(int labelCol) -
getLabelRow
public int getLabelRow() -
setLabelRow
public void setLabelRow(int labelRow) -
isNextTab
public boolean isNextTab() -
setNextTab
public void setNextTab(boolean nextTab) -
isOnlyBuzzwords
public boolean isOnlyBuzzwords() -
setOnlyBuzzwords
public void setOnlyBuzzwords(boolean onlyBuzzwords) -
isPostfixAsterix
public boolean isPostfixAsterix() -
setPostfixAsterix
public void setPostfixAsterix(boolean postfixAsterix) -
isPrefixAsterix
public boolean isPrefixAsterix() -
setPrefixAsterix
public void setPrefixAsterix(boolean prefixAsterix) -
isReadOnly
public boolean isReadOnly() -
setReadOnly
public void setReadOnly(boolean readOnly) -
getTabOrder
public int getTabOrder() -
setTabOrder
public void setTabOrder(int tabOrder) -
getType
public int getType() -
setType
public void setType(int type) -
getExternalData
-
setExternalData
-
isTranslate
public boolean isTranslate() -
setTranslate
public void setTranslate(boolean translateValue) -
isImportant
public boolean isImportant() -
setImportant
public void setImportant(boolean important) -
isNotTokenized
public boolean isNotTokenized() -
setNotTokenized
public void setNotTokenized(boolean notTokenized) -
isExcludeFromISearch
public boolean isExcludeFromISearch() -
setExcludeFromISearch
public void setExcludeFromISearch(boolean excludeFromISearch) -
isVersion
public boolean isVersion() -
setVersion
public void setVersion(boolean version) -
getAccess
public int getAccess() -
setAccess
public void setAccess(int access) -
isDisableWordWheel
public boolean isDisableWordWheel() -
setDisableWordWheel
public void setDisableWordWheel(boolean disableWordWheel) -
getDefaultValue
-
setDefaultValue
-
getTabIndex
public int getTabIndex() -
setTabIndex
public void setTabIndex(int tabIndex) -
getServerScriptName
-
setServerScriptName
-
isInherit
public boolean isInherit() -
setInherit
public void setInherit(boolean inherit) -
getNameTranslationKey
-
setNameTranslationKey
-
getCommentTranslationKey
-
setCommentTranslationKey
-
isInheritFromParent
public boolean isInheritFromParent() -
setInheritFromParent
public void setInheritFromParent(boolean inheritFromParent) -
isValueArray
public boolean isValueArray() -
setValueArray
public void setValueArray(boolean valueArray) -
getValidateExpression
-
setValidateExpression
-
isRequired
public boolean isRequired() -
setRequired
public void setRequired(boolean required) -
getAllowedMaskIdsForKeywordingRelation
-
setAllowedMaskIdsForKeywordingRelation
-
toString
-