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 intaccessBitset of AccessC.LUR_* constants.protected java.lang.StringaclAccess control for mask line.protected AclItem[]aclItemsAccess control for mask line.protected java.util.List<java.lang.Integer>allowedMaskIdsForKeywordingRelationSpecifies theDocMask.idallowed in aDocMaskLineC.TYPE_RELATION.protected booleancanEditDetermines whether the index line can be modified.protected java.lang.StringcommentQuickinfo text for the attribute.protected java.lang.StringcommentTranslationKeyTranslation-keyword forcomment.protected java.lang.StringdefaultValueThis value is assigned to the ObjKey.data element for a new Sord object.protected booleandisableWordWheelDisable word wheel.protected inteditColColumn position of edit controlprotected inteditRowRow postion of edit controlprotected inteditWidthWith of edit controlprotected booleanexcludeFromISearchIf true a index value will not be searchable via iSearch.protected java.lang.StringexternalDataExternal data.protected booleanhiddenThis value should not be displayed to the user.protected intidThe ID of the line information.protected booleanimportantDisplay index value next to the objects short description.protected booleaninheritInherit this keywording field to subordinated entries.protected booleaninheritFromParentDo not inherit the parent's value.protected java.lang.StringkeyThe attribute group name.protected intlabelColColumn position of label controlprotected intlabelRowRow position of label controlprotected intmaskIdThis line information belongs to a storage mask with the ID MaskId.protected intmaxThe maximum value of this attribute.protected intminThe minimum value of this attribute.protected java.lang.StringnameThe name of the attribute.protected java.lang.StringnameTranslationKeyTranslation-keyword forname.protected booleannextTabCreates a new tab in the keywording dialogue.protected booleannotTokenizedDefines whether a index value should be searchable as TOKENIZED or UN_TOKENIZEDprotected booleanonlyBuzzwordsThe index line can only contain buzzwords.protected booleanpostfixAsterixAdd "*" after index value in search operation.protected booleanprefixAsterixAdd "*" before index value in search operation.protected booleanreadOnlyThis value should not be edited in a user interface (convention).protected booleanrequiredEntry is required.protected java.lang.StringserverScriptNameA script or plugin at the server can serve as the data source of a dynamic keyword list.protected inttabIndexThis value represents the number of the tab, this line has to appear on.protected inttabOrderTabulator order of edit controlprotected booleantranslateTranslate index values into or from the users language.protected inttypeThe type of the line information.protected java.lang.StringvalidateExpressionRegEx to validate user input for entry.protected booleanvalueArrayAllows multiple values for keywording tables.protected booleanversionDisplay 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 intgetAccess()java.lang.StringgetAcl()AclItem[]getAclItems()java.util.List<java.lang.Integer>getAllowedMaskIdsForKeywordingRelation()java.lang.StringgetComment()java.lang.StringgetCommentTranslationKey()java.lang.StringgetDefaultValue()intgetEditCol()intgetEditRow()intgetEditWidth()java.lang.StringgetExternalData()intgetId()java.lang.StringgetKey()intgetLabelCol()intgetLabelRow()intgetMaskId()intgetMax()intgetMin()java.lang.StringgetName()java.lang.StringgetNameTranslationKey()java.lang.StringgetServerScriptName()intgetTabIndex()intgetTabOrder()intgetType()java.lang.StringgetValidateExpression()booleanisCanEdit()booleanisDisableWordWheel()booleanisExcludeFromISearch()booleanisHidden()booleanisImportant()booleanisInherit()booleanisInheritFromParent()booleanisNextTab()booleanisNotTokenized()booleanisOnlyBuzzwords()booleanisPostfixAsterix()booleanisPrefixAsterix()booleanisReadOnly()booleanisRequired()booleanisTranslate()booleanisValueArray()booleanisVersion()voidsetAccess(int access)voidsetAcl(java.lang.String acl)voidsetAclItems(AclItem[] aclItems)voidsetAllowedMaskIdsForKeywordingRelation(java.util.List<java.lang.Integer> v)voidsetCanEdit(boolean canEdit)voidsetComment(java.lang.String comment)voidsetCommentTranslationKey(java.lang.String commentTranslationKey)voidsetDefaultValue(java.lang.String defaultValue)voidsetDisableWordWheel(boolean disableWordWheel)voidsetEditCol(int editCol)voidsetEditRow(int editRow)voidsetEditWidth(int editWidth)voidsetExcludeFromISearch(boolean excludeFromISearch)voidsetExternalData(java.lang.String externalData)voidsetHidden(boolean hidden)voidsetId(int id)voidsetImportant(boolean important)voidsetInherit(boolean inherit)voidsetInheritFromParent(boolean inheritFromParent)voidsetKey(java.lang.String key)voidsetLabelCol(int labelCol)voidsetLabelRow(int labelRow)voidsetMaskId(int maskId)voidsetMax(int max)voidsetMin(int min)voidsetName(java.lang.String name)voidsetNameTranslationKey(java.lang.String nameTranslationKey)voidsetNextTab(boolean nextTab)voidsetNotTokenized(boolean notTokenized)voidsetOnlyBuzzwords(boolean onlyBuzzwords)voidsetPostfixAsterix(boolean postfixAsterix)voidsetPrefixAsterix(boolean prefixAsterix)voidsetReadOnly(boolean readOnly)voidsetRequired(boolean required)voidsetServerScriptName(java.lang.String serverScriptName)voidsetTabIndex(int tabIndex)voidsetTabOrder(int tabOrder)voidsetTranslate(boolean translateValue)voidsetType(int type)voidsetValidateExpression(java.lang.String validateExpression)voidsetValueArray(boolean valueArray)voidsetVersion(boolean version)java.lang.StringtoString()
-
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 (
keyandObjKey.name).The option corresponds to
inheritFromParent. As far asinheritFromParentis also true in the keywording forms definition of all sub-items, the optioninheriteffects 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
inheritFromParentis 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.idallowed in aDocMaskLineC.TYPE_RELATION. Mandatory if DocMaskLine is of typeDocMaskLineC.TYPE_RELATION. Only Sords with the specifiedDocMask.idcan 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:
toStringin classjava.lang.Object
-