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:
java.io.Serializable
public class DocMaskLine extends ValueClass implements java.io.Serializable
This class contains data for a line in the document mask.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected int
access
Bitset of AccessC.LUR_* constants.protected java.lang.String
acl
Access control for mask line.protected AclItem[]
aclItems
Access control for mask line.protected java.util.List<java.lang.Integer>
allowedMaskIdsForKeywordingRelation
Specifies theDocMask.id
allowed in aDocMaskLineC.TYPE_RELATION
.protected boolean
canEdit
Determines whether the index line can be modified.protected java.lang.String
comment
Quickinfo text for the attribute.protected java.lang.String
commentTranslationKey
Translation-keyword forcomment
.protected java.lang.String
defaultValue
This value is assigned to the ObjKey.data element for a new Sord object.protected boolean
disableWordWheel
Disable word wheel.protected int
editCol
Column position of edit controlprotected int
editRow
Row postion of edit controlprotected int
editWidth
With of edit controlprotected boolean
excludeFromISearch
If true a index value will not be searchable via iSearch.protected java.lang.String
externalData
External data.protected boolean
hidden
This value should not be displayed to the user.protected int
id
The ID of the line information.protected boolean
important
Display index value next to the objects short description.protected boolean
inherit
Inherit this keywording field to subordinated entries.protected boolean
inheritFromParent
Do not inherit the parent's value.protected java.lang.String
key
The attribute group name.protected int
labelCol
Column position of label controlprotected int
labelRow
Row position of label controlprotected int
maskId
This line information belongs to a storage mask with the ID MaskId.protected int
max
The maximum value of this attribute.protected int
min
The minimum value of this attribute.protected java.lang.String
name
The name of the attribute.protected java.lang.String
nameTranslationKey
Translation-keyword forname
.protected boolean
nextTab
Creates a new tab in the keywording dialogue.protected boolean
notTokenized
Defines whether a index value should be searchable as TOKENIZED or UN_TOKENIZEDprotected boolean
onlyBuzzwords
The index line can only contain buzzwords.protected boolean
postfixAsterix
Add "*" after index value in search operation.protected boolean
prefixAsterix
Add "*" before index value in search operation.protected boolean
readOnly
This value should not be edited in a user interface (convention).protected boolean
required
Entry is required.protected java.lang.String
serverScriptName
A script or plugin at the server can serve as the data source of a dynamic keyword list.protected int
tabIndex
This value represents the number of the tab, this line has to appear on.protected int
tabOrder
Tabulator order of edit controlprotected boolean
translate
Translate index values into or from the users language.protected int
type
The type of the line information.protected java.lang.String
validateExpression
RegEx to validate user input for entry.protected boolean
valueArray
Allows multiple values for keywording tables.protected boolean
version
Display index value in version information dialog when checking in a document. -
Constructor Summary
Constructors Constructor Description DocMaskLine()
DocMaskLine(DocMaskLine rhs)
DocMaskLine(DocMaskLineTemplate rhs)
-
Method Summary
Modifier and Type Method Description int
getAccess()
java.lang.String
getAcl()
AclItem[]
getAclItems()
java.util.List<java.lang.Integer>
getAllowedMaskIdsForKeywordingRelation()
java.lang.String
getComment()
java.lang.String
getCommentTranslationKey()
java.lang.String
getDefaultValue()
int
getEditCol()
int
getEditRow()
int
getEditWidth()
java.lang.String
getExternalData()
int
getId()
java.lang.String
getKey()
int
getLabelCol()
int
getLabelRow()
int
getMaskId()
int
getMax()
int
getMin()
java.lang.String
getName()
java.lang.String
getNameTranslationKey()
java.lang.String
getServerScriptName()
int
getTabIndex()
int
getTabOrder()
int
getType()
java.lang.String
getValidateExpression()
boolean
isCanEdit()
boolean
isDisableWordWheel()
boolean
isExcludeFromISearch()
boolean
isHidden()
boolean
isImportant()
boolean
isInherit()
boolean
isInheritFromParent()
boolean
isNextTab()
boolean
isNotTokenized()
boolean
isOnlyBuzzwords()
boolean
isPostfixAsterix()
boolean
isPrefixAsterix()
boolean
isReadOnly()
boolean
isRequired()
boolean
isTranslate()
boolean
isValueArray()
boolean
isVersion()
void
setAccess(int access)
void
setAcl(java.lang.String acl)
void
setAclItems(AclItem[] aclItems)
void
setAllowedMaskIdsForKeywordingRelation(java.util.List<java.lang.Integer> v)
void
setCanEdit(boolean canEdit)
void
setComment(java.lang.String comment)
void
setCommentTranslationKey(java.lang.String commentTranslationKey)
void
setDefaultValue(java.lang.String defaultValue)
void
setDisableWordWheel(boolean disableWordWheel)
void
setEditCol(int editCol)
void
setEditRow(int editRow)
void
setEditWidth(int editWidth)
void
setExcludeFromISearch(boolean excludeFromISearch)
void
setExternalData(java.lang.String externalData)
void
setHidden(boolean hidden)
void
setId(int id)
void
setImportant(boolean important)
void
setInherit(boolean inherit)
void
setInheritFromParent(boolean inheritFromParent)
void
setKey(java.lang.String key)
void
setLabelCol(int labelCol)
void
setLabelRow(int labelRow)
void
setMaskId(int maskId)
void
setMax(int max)
void
setMin(int min)
void
setName(java.lang.String name)
void
setNameTranslationKey(java.lang.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)
void
setServerScriptName(java.lang.String serverScriptName)
void
setTabIndex(int tabIndex)
void
setTabOrder(int tabOrder)
void
setTranslate(boolean translateValue)
void
setType(int type)
void
setValidateExpression(java.lang.String validateExpression)
void
setValueArray(boolean valueArray)
void
setVersion(boolean version)
java.lang.String
toString()
-
Field Details
-
comment
protected java.lang.String commentQuickinfo text for the attribute. -
id
protected int idThe ID of the line information. -
key
protected java.lang.String keyThe attribute group name. This member corresponds toObjKey.name
.- See Also:
ObjKey.name
-
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
protected java.lang.String nameThe 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:
SessionOptionsC.TRANSLATE_TERMS
-
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 -
protected boolean hiddenThis value should not be displayed to the user.
-
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:
DocMaskLineC
-
externalData
protected java.lang.String externalDataExternal 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:
SessionOptionsC.TRANSLATE_TERMS
,IXServicePortIF.findFirstTranslateTerms(ClientInfo, FindTranslateTermInfo, int)
-
acl
protected java.lang.String aclAccess 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
protected java.lang.String defaultValueThis 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
protected java.lang.String serverScriptNameA 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 (
key
andObjKey.name
).The option corresponds to
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:
inherit
-
nameTranslationKey
protected java.lang.String nameTranslationKeyTranslation-keyword forname
.- Since:
- 9.00.018.005
-
commentTranslationKey
protected java.lang.String commentTranslationKeyTranslation-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
protected java.lang.String validateExpressionRegEx to validate user input for entry.- Since:
- 10.00.020.010
-
required
protected boolean requiredEntry is required.- Since:
- 10.00.020.010
-
allowedMaskIdsForKeywordingRelation
protected java.util.List<java.lang.Integer> allowedMaskIdsForKeywordingRelationSpecifies 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:
DocMaskDetails.keywordingRelationAllowed
-
-
Constructor Details
-
DocMaskLine
public DocMaskLine() -
DocMaskLine
-
DocMaskLine
-
-
Method Details
-
getComment
public java.lang.String getComment() -
setComment
public void setComment(java.lang.String comment) -
getId
public int getId() -
setId
public void setId(int id) -
getKey
public java.lang.String getKey() -
setKey
public void setKey(java.lang.String key) -
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
public java.lang.String getName() -
setName
public void setName(java.lang.String name) -
getAcl
public java.lang.String getAcl() -
setAcl
public void setAcl(java.lang.String acl) -
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
public java.lang.String getExternalData() -
setExternalData
public void setExternalData(java.lang.String externalData) -
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
public java.lang.String getDefaultValue() -
setDefaultValue
public void setDefaultValue(java.lang.String defaultValue) -
getTabIndex
public int getTabIndex() -
setTabIndex
public void setTabIndex(int tabIndex) -
getServerScriptName
public final java.lang.String getServerScriptName() -
setServerScriptName
public final void setServerScriptName(java.lang.String serverScriptName) -
isInherit
public boolean isInherit() -
setInherit
public void setInherit(boolean inherit) -
getNameTranslationKey
public java.lang.String getNameTranslationKey() -
setNameTranslationKey
public void setNameTranslationKey(java.lang.String nameTranslationKey) -
getCommentTranslationKey
public java.lang.String getCommentTranslationKey() -
setCommentTranslationKey
public void setCommentTranslationKey(java.lang.String commentTranslationKey) -
isInheritFromParent
public boolean isInheritFromParent() -
setInheritFromParent
public void setInheritFromParent(boolean inheritFromParent) -
isValueArray
public boolean isValueArray() -
setValueArray
public void setValueArray(boolean valueArray) -
getValidateExpression
public java.lang.String getValidateExpression() -
setValidateExpression
public void setValidateExpression(java.lang.String validateExpression) -
isRequired
public boolean isRequired() -
setRequired
public void setRequired(boolean required) -
getAllowedMaskIdsForKeywordingRelation
public java.util.List<java.lang.Integer> getAllowedMaskIdsForKeywordingRelation() -
setAllowedMaskIdsForKeywordingRelation
public void setAllowedMaskIdsForKeywordingRelation(java.util.List<java.lang.Integer> v) -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-