Class Sord
- All Implemented Interfaces:
java.io.Serializable
public class Sord extends ValueClass implements java.io.Serializable
Indexing information of an archive entry.
Copyright: Copyright (c) 2004
Organisation: ELO Digital Office GmbH
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected intaccessThe current users access rights for this Sord.protected java.lang.StringaclAccess control language in coded form.protected AclItem[]aclItemsThis is the access control list as an array ofAclItemobjects.protected java.util.Map<java.lang.String,java.util.List<java.util.Map<java.lang.String,IndexValue>>>aspectsIndex values.protected intattId of the current attachment version.protected DocVersionattVersionWork version of the attachment.protected intchildCountEstimated sum of the sub-entries in a directory.protected java.lang.StringdelDateIsoISO encoded expiry date.protected booleandeletedIndicates whether the sord has been deleted or not.protected java.lang.StringdeleteDateIsoThe Sord is deleted at this date.protected intdeleteUserThe Sord is deleted at this user.protected java.lang.StringdescThe (visible) memo text.protected SordDetailsdetailsObject encapsulates flags.protected intdocRead-only.protected DocVersiondocVersionVersion information of current document work version.protected java.lang.StringguidGUID of the current document version.protected java.lang.StringhiddenTextHidden text that must not be displayed to the user.protected inthistCountNumber of document versions.protected intidId of the current document version.protected java.lang.StringIDateIsoISO encoded internal (archive defined) date.protected intinfoRESERVEDprotected intkeyRESERVEDprotected intkindColourprotected SordLink[]linksComeInLinks pointing from other archive entries to this.protected SordLink[]linksGoOutLinks starting fromthisto other archive entries.protected intlockIdThis is the id of the user who has a lock on the object.protected intlockIdDocThis is the id of the user who has a lock on the document (not the object).protected intlockIdSordThis is the id of the user who has a lock on the object (not the document).protected java.lang.StringlockNameThe name of the user who has locked the object.protected java.lang.StringlockNameDocThe name of the user who has locked the document.protected java.lang.StringlockNameSordThe name of the user who has locked the object.protected intmaskThe id of the filing mask used to archive the sord.protected java.lang.StringmaskNameName of keywording form.protected java.lang.StringnameThe short description/name for the object.protected ObjKey[]objKeysIndex values.protected intownerIdThe id of the owner of the object.protected java.lang.StringownerNameName of the owner (read-only).protected intparentIdId of the parent object(archive heirachy) of the sord object.protected java.lang.String[]parentIdsGUIDs of archive entries that contain a reference tothis.protected intpathFiling path for the document manager.protected ArcPath[]refPathsArchive paths to this Sord.protected intregionIdIf the sord is contained in a region (i.e. lies below an object in archive tree that has an associated keywording form which defines a region), this value contains the numeric Id of that region sord.protected ReplSetName[]replNamesReplication set names.protected ReplSetreplSetReplication sets.protected java.lang.StringSRegVersion numer of the current work version.protected java.lang.StringTStampTimestamp of the last change.protected java.lang.StringTStampAclTimestamp of the last ACL change.protected java.lang.StringTStampAclSyncTimestamp of this object's ACLs last export by the replication.protected java.lang.StringTStampSyncTimestamp of this object's last export by the replication.protected inttypeThe type of sord object.protected intvtRepRESERVEDprotected java.lang.StringXDateIsoISO encoded external (user defined) date. -
Constructor Summary
Constructors Constructor Description Sord()Sord(long changedMembers, java.lang.String SReg, java.lang.String TStamp, java.lang.String acl, int att, int childCount, int doc, java.lang.String guid, int histCount, int id, int info, int key, int kind, int lockId, int mask, java.lang.String name, int ownerId, int parentId, int path, int type, int vtRep, java.lang.String IDateIso, java.lang.String XDateIso, int access, AclItem[] aclItems, java.lang.String delDateIso, boolean deleted, java.lang.String desc, SordDetails details, DocVersion docVersion, java.lang.String hiddenText, SordLink[] linksComeIn, SordLink[] linksGoOut, java.lang.String lockName, ObjKey[] objKeys, java.lang.String ownerName, java.lang.String[] parentIds, ArcPath[] refPaths, ReplSetName[] replNames, ReplSet replSet)Sord(Sord rhs) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetAccess()java.lang.StringgetAcl()AclItem[]getAclItems()java.util.Map<java.lang.String,java.util.List<java.util.Map<java.lang.String,IndexValue>>>getAspects()intgetAtt()DocVersiongetAttVersion()intgetChildCount()java.lang.StringgetDelDateIso()java.lang.StringgetDeleteDateIso()intgetDeleteUser()java.lang.StringgetDesc()SordDetailsgetDetails()intgetDoc()DocVersiongetDocVersion()java.lang.StringgetGuid()java.lang.StringgetHiddenText()intgetHistCount()intgetId()java.lang.StringgetIDateIso()intgetInfo()intgetKey()intgetKind()SordLink[]getLinksComeIn()SordLink[]getLinksGoOut()intgetLockId()intgetLockIdDoc()intgetLockIdSord()java.lang.StringgetLockName()java.lang.StringgetLockNameDoc()java.lang.StringgetLockNameSord()intgetMask()java.lang.StringgetMaskName()java.lang.StringgetName()ObjKey[]getObjKeys()intgetOwnerId()java.lang.StringgetOwnerName()intgetParentId()java.lang.String[]getParentIds()intgetPath()ArcPath[]getRefPaths()intgetRegionId()ReplSetName[]getReplNames()ReplSetgetReplSet()java.lang.StringgetSReg()java.lang.StringgetTStamp()java.lang.StringgetTStampAcl()java.lang.StringgetTStampAclSync()java.lang.StringgetTStampSync()intgetType()intgetVtRep()java.lang.StringgetXDateIso()inthashCode()booleanisDeleted()voidsetAccess(int access)voidsetAcl(java.lang.String acl)voidsetAclItems(AclItem[] aclItems)voidsetAspects(java.util.Map<java.lang.String,java.util.List<java.util.Map<java.lang.String,IndexValue>>> aspects)voidsetAtt(int att)voidsetAttVersion(DocVersion attVersion)voidsetChildCount(int childCount)voidsetDelDateIso(java.lang.String delDateIso)voidsetDeleted(boolean deleted)voidsetDeleteDateIso(java.lang.String deleteDateIso)voidsetDeleteUser(int deleteUser)voidsetDesc(java.lang.String desc)voidsetDetails(SordDetails details)voidsetDoc(int doc)voidsetDocVersion(DocVersion docVersion)voidsetGuid(java.lang.String guid)voidsetHiddenText(java.lang.String hiddenText)voidsetHistCount(int histCount)voidsetId(int id)voidsetIDateIso(java.lang.String IDateIso)voidsetInfo(int info)voidsetKey(int key)voidsetKind(int kind)voidsetLinksComeIn(SordLink[] linksComeIn)voidsetLinksGoOut(SordLink[] linksGoOut)voidsetLockId(int lockId)voidsetLockIdDoc(int lockIdDoc)voidsetLockIdSord(int lockIdSord)voidsetLockName(java.lang.String lockName)voidsetLockNameDoc(java.lang.String lockNameDoc)voidsetLockNameSord(java.lang.String lockNameSord)voidsetMask(int mask)voidsetMaskName(java.lang.String v)voidsetName(java.lang.String name)voidsetObjKeys(ObjKey[] objKeys)voidsetOwnerId(int ownerId)voidsetOwnerName(java.lang.String ownerName)voidsetParentId(int parentId)voidsetParentIds(java.lang.String[] parentIds)voidsetPath(int path)voidsetRefPaths(ArcPath[] refPaths)voidsetRegionId(int regionId)voidsetReplNames(ReplSetName[] replNames)voidsetReplSet(ReplSet replSet)voidsetSReg(java.lang.String SReg)voidsetTStamp(java.lang.String TStamp)voidsetTStampAcl(java.lang.String tStampAcl)voidsetTStampAclSync(java.lang.String tStampAclSync)voidsetTStampSync(java.lang.String tStampSync)voidsetType(int type)voidsetVtRep(int vtRep)voidsetXDateIso(java.lang.String XDateIso)java.lang.StringtoString()
-
Field Details
-
SReg
protected java.lang.String SRegVersion numer of the current work version. -
TStamp
protected java.lang.String TStampTimestamp of the last change. The format is JJJJ.MM.DD.hh.mm.ss -
acl
protected java.lang.String aclAccess control language in coded form. The checkInSord method must set either acl or aclItems. aclItems has priority. -
att
protected int attId of the current attachment version. Read-only. -
childCount
protected int childCountEstimated sum of the sub-entries in a directory. This does not take account of any access rights assigned to the entries. This property should only be used to determine whether the directory has additional entries. Read-only. -
doc
protected int docRead-only. Id of the current document version. -
guid
protected java.lang.String guidGUID of the current document version. -
histCount
protected int histCountNumber of document versions. -
id
protected int idId of the current document version. -
info
protected int infoRESERVED -
key
protected int keyRESERVED -
kind
protected int kindColour -
lockId
protected int lockIdThis is the id of the user who has a lock on the object. To know whether the Sord or the Document is locked, see lockIdSord or lockIdDoc respectively. The object is locked using checkoutSord with the LOCK.YES, LOCK.SORD or LOCK.DOC parameter. Read-only. -
mask
protected int maskThe id of the filing mask used to archive the sord. Read-only. -
name
protected java.lang.String nameThe short description/name for the object. -
ownerId
protected int ownerIdThe id of the owner of the object. Main-administrators can assign an owner ID for new Sords inIXServicePortIF.checkinSord(ClientInfo, Sord, SordZ, LockZ)andIXServicePortIF.checkinSordPath(ClientInfo, String, Sord[], SordZ). This member is read-only for Non-adminstrators or existing Sords. -
parentId
protected int parentIdId of the parent object(archive heirachy) of the sord object. Read-only -
path
protected int pathFiling path for the document manager. Only valid for documents. Read-only.If this Sord object is obtained by a call to checkoutSord or checkoutDoc with a database lock (e.g. LockC.IF_FREE), this member contains the storage path specified in the associated keywording form (DocMask.DPath). If the keywording form does not define a path, the default storage path is returned (ServerInfoDM.basisStoreIds[0]). Hence, the current value of the database column objekte.objpath is not used as default for new versions anymore.
If this Sord object is obtained by a call without a lock, e.g. from findFirstSords, this value should not be used anymore. The storage path of the work version should be used instead, which can be found in Sord.docVersion.pathId.
- See Also:
DocMask.DPath,ServerInfoDM.basisStoreIds
-
type
protected int typeThe type of sord object. Folder objects: 0 < type < LBT_DOCUMENT Document objects: LBT_DOCUMENT <= type < LBT_DOCUMENT_MAX- See Also:
SordC.LBT_DOCUMENT,SordC.LBT_DOCUMENT_MAX
-
vtRep
protected int vtRepRESERVED -
IDateIso
protected java.lang.String IDateIsoISO encoded internal (archive defined) date. -
XDateIso
protected java.lang.String XDateIsoISO encoded external (user defined) date. -
access
protected int accessThe current users access rights for this Sord. Returns a combination of AccessC.LUR_ constants. Read-only. Is returned when SordC.mbAcl is set in checkoutSord. -
aclItems
This is the access control list as an array ofAclItemobjects. -
delDateIso
protected java.lang.String delDateIsoISO encoded expiry date. Only users having right AccessC.FLAG_EDITDUEDATE are allowed to set the expiry date. Once the expiry date is set, it cannot be set to a date before the original expiry date. -
deleted
protected boolean deletedIndicates whether the sord has been deleted or not. -
desc
protected java.lang.String descThe (visible) memo text. If the value starts with a "!" this member can define a dynamic folder. This is a folder which contents are filled by an arbitrary SQL statement. -
details
Object encapsulates flags. -
docVersion
Version information of current document work version. Read-only. -
protected java.lang.String hiddenTextHidden text that must not be displayed to the user.
-
linksComeIn
Links pointing from other archive entries to this. Read-only. -
linksGoOut
Links starting fromthisto other archive entries. Read-only.- See Also:
IXServicePortIF.linkSords(...)
-
lockName
protected java.lang.String lockNameThe name of the user who has locked the object. Read-only.- See Also:
lockId
-
objKeys
Index values. This array is only valid, if the associated keywording formDocMaskis organized asDocMask.dataOrganisation=DocMaskC.DATA_ORGANISATION_OBJKEYSorDocMaskC.DATA_ORGANISATION_TABLE.- See Also:
aspects
-
ownerName
protected java.lang.String ownerNameName of the owner (read-only). -
parentIds
protected java.lang.String[] parentIdsGUIDs of archive entries that contain a reference tothis. The first element of the array is the GUID of the main parent, wherethisis physically placed. Read-only.- See Also:
IXServicePortIF.linkSords(...)
-
refPaths
Archive paths to this Sord. The first path, refPaths[0], contains the path to the original Sord. The other paths contain references to this Sord. The paths do not include an entry for the archive and for this Sord. Since 10.18.021, TTS005149: If the user does not have read access to at least one element in a reference path, this path is excluded from the list. An exception applies to the original path. If the user does not have read access to at least one element in the original path, the ArcPath object at refPaths[0] is empty: refPaths[0].path.length == 0, refPaths[0].pathAsString = "ΒΆ". In contrast to refPaths, the arrayparentIdsis not checked for read access. -
replNames
Replication set names. The replication set information of an object is binary encoded in the database. The ClassReplNameMapprovides functions to convert from the binary format into a list of replication set names and vice versa. Both replNames and replSet contain the information in which replications set the object is contain in. replNames has priority when checking the object in.- See Also:
ReplSetName
-
replSet
Replication sets. Binary encoded information. Both replNames and replSet contain the information determining in which replications sets the object is contain in. replNames has priority when checking the object in.- See Also:
ReplSet
-
maskName
protected java.lang.String maskNameName of keywording form. This value is translated into the language given byClientInfo.language. It cannot be used as a parameter in Indexserver API functions. UsegetMask()to specify the Keywording form in API functions. Read-only.- Since:
- 7.00.000.028
- See Also:
mask
-
attVersion
Work version of the attachment.- Since:
- 7.00.040.007
-
deleteDateIso
protected java.lang.String deleteDateIsoThe Sord is deleted at this date. ClientInfo determines the Timezone.Is undefined if isDeleted() returns false.
- Since:
- 9.00.000.000
-
lockIdSord
protected int lockIdSordThis is the id of the user who has a lock on the object (not the document). The object is locked using checkoutSord with the LOCK.SORD parameter. Read-only.- Since:
- 9.99.009.001
-
lockIdDoc
protected int lockIdDocThis is the id of the user who has a lock on the document (not the object). The object is locked using checkoutSord with the LOCK.DOC parameter. Read-only.- Since:
- 9.99.009.001
-
lockNameSord
protected java.lang.String lockNameSordThe name of the user who has locked the object. Read-only.- Since:
- 9.99.009.001
-
lockNameDoc
protected java.lang.String lockNameDocThe name of the user who has locked the document. Read-only.- Since:
- 9.99.009.001
-
TStampSync
protected java.lang.String TStampSyncTimestamp of this object's last export by the replication.- Since:
- 9.99.009.001
-
TStampAcl
protected java.lang.String TStampAclTimestamp of the last ACL change. The format is JJJJ.MM.DD.hh.mm.ss- Since:
- 9.99.009.001
-
TStampAclSync
protected java.lang.String TStampAclSyncTimestamp of this object's ACLs last export by the replication.- Since:
- 9.99.009.001
-
deleteUser
protected int deleteUserThe Sord is deleted at this user.Is undefined if isDeleted() returns false.
- Since:
- 10.00.020.012
-
aspects
protected java.util.Map<java.lang.String,java.util.List<java.util.Map<java.lang.String,IndexValue>>> aspectsIndex values. This member is only valid, if the associated keywording formDocMaskis organized asDocMask.dataOrganisation=DocMaskC.DATA_ORGANISATION_ASPECT.
The outer key is the name of anAspectAssoc. The value is a list of maps.
This list can contain more than one element according to cardinality of the aspect association.
The inner maps are aspect objects, i.e. maps from lineKey of the corresponding aspect to an object of classIndexValuewhich holds the actual data for an aspect line.- Since:
- 20.00.000.100
-
regionId
protected int regionIdIf the sord is contained in a region (i.e. lies below an object in archive tree that has an associated keywording form which defines a region), this value contains the numeric Id of that region sord. This value is only valid, if the associated keywording formDocMaskis organized asDocMask.dataOrganisation=DocMaskC.DATA_ORGANISATION_ASPECT.- Since:
- 20.00.000.100
-
-
Constructor Details
-
Sord
public Sord() -
Sord
public Sord(long changedMembers, java.lang.String SReg, java.lang.String TStamp, java.lang.String acl, int att, int childCount, int doc, java.lang.String guid, int histCount, int id, int info, int key, int kind, int lockId, int mask, java.lang.String name, int ownerId, int parentId, int path, int type, int vtRep, java.lang.String IDateIso, java.lang.String XDateIso, int access, AclItem[] aclItems, java.lang.String delDateIso, boolean deleted, java.lang.String desc, SordDetails details, DocVersion docVersion, java.lang.String hiddenText, SordLink[] linksComeIn, SordLink[] linksGoOut, java.lang.String lockName, ObjKey[] objKeys, java.lang.String ownerName, java.lang.String[] parentIds, ArcPath[] refPaths, ReplSetName[] replNames, ReplSet replSet) -
Sord
-
-
Method Details
-
getSReg
public java.lang.String getSReg() -
setSReg
public void setSReg(java.lang.String SReg) -
getTStamp
public java.lang.String getTStamp() -
setTStamp
public void setTStamp(java.lang.String TStamp) -
getAcl
public java.lang.String getAcl() -
setAcl
public void setAcl(java.lang.String acl) -
getAtt
public int getAtt() -
setAtt
public void setAtt(int att) -
getChildCount
public int getChildCount() -
setChildCount
public void setChildCount(int childCount) -
getDoc
public int getDoc() -
setDoc
public void setDoc(int doc) -
getGuid
public java.lang.String getGuid() -
setGuid
public void setGuid(java.lang.String guid) -
getHistCount
public int getHistCount() -
setHistCount
public void setHistCount(int histCount) -
getId
public int getId() -
setId
public void setId(int id) -
getInfo
public int getInfo() -
setInfo
public void setInfo(int info) -
getKey
public int getKey() -
setKey
public void setKey(int key) -
getKind
public int getKind() -
setKind
public void setKind(int kind) -
getLockId
public int getLockId() -
setLockId
public void setLockId(int lockId) -
getMask
public int getMask() -
setMask
public void setMask(int mask) -
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String name) -
getOwnerId
public int getOwnerId() -
setOwnerId
public void setOwnerId(int ownerId) -
getParentId
public int getParentId() -
setParentId
public void setParentId(int parentId) -
getPath
public int getPath() -
setPath
public void setPath(int path) -
getType
public int getType() -
setType
public void setType(int type) -
getVtRep
public int getVtRep() -
setVtRep
public void setVtRep(int vtRep) -
getIDateIso
public java.lang.String getIDateIso() -
setIDateIso
public void setIDateIso(java.lang.String IDateIso) -
getXDateIso
public java.lang.String getXDateIso() -
setXDateIso
public void setXDateIso(java.lang.String XDateIso) -
getAccess
public int getAccess() -
setAccess
public void setAccess(int access) -
getAclItems
-
setAclItems
-
getDelDateIso
public java.lang.String getDelDateIso() -
setDelDateIso
public void setDelDateIso(java.lang.String delDateIso) -
isDeleted
public boolean isDeleted() -
setDeleted
public void setDeleted(boolean deleted) -
getDesc
public java.lang.String getDesc() -
setDesc
public void setDesc(java.lang.String desc) -
getDetails
-
setDetails
-
getDocVersion
-
setDocVersion
-
getAttVersion
-
setAttVersion
-
getHiddenText
public java.lang.String getHiddenText() -
setHiddenText
public void setHiddenText(java.lang.String hiddenText) -
getLinksComeIn
-
setLinksComeIn
-
getLinksGoOut
-
setLinksGoOut
-
getLockName
public java.lang.String getLockName() -
setLockName
public void setLockName(java.lang.String lockName) -
getObjKeys
-
setObjKeys
-
getOwnerName
public java.lang.String getOwnerName() -
setOwnerName
public void setOwnerName(java.lang.String ownerName) -
getParentIds
public java.lang.String[] getParentIds() -
setParentIds
public void setParentIds(java.lang.String[] parentIds) -
getRefPaths
-
setRefPaths
-
getReplNames
-
setReplNames
-
getReplSet
-
setReplSet
-
getMaskName
public java.lang.String getMaskName() -
setMaskName
public void setMaskName(java.lang.String v) -
getDeleteDateIso
public java.lang.String getDeleteDateIso() -
setDeleteDateIso
public void setDeleteDateIso(java.lang.String deleteDateIso) -
getDeleteUser
public int getDeleteUser() -
setDeleteUser
public void setDeleteUser(int deleteUser) -
getLockIdSord
public int getLockIdSord() -
setLockIdSord
public void setLockIdSord(int lockIdSord) -
getLockIdDoc
public int getLockIdDoc() -
setLockIdDoc
public void setLockIdDoc(int lockIdDoc) -
getLockNameSord
public java.lang.String getLockNameSord() -
setLockNameSord
public void setLockNameSord(java.lang.String lockNameSord) -
getLockNameDoc
public java.lang.String getLockNameDoc() -
setLockNameDoc
public void setLockNameDoc(java.lang.String lockNameDoc) -
getTStampAcl
public java.lang.String getTStampAcl() -
setTStampAcl
public void setTStampAcl(java.lang.String tStampAcl) -
getTStampAclSync
public java.lang.String getTStampAclSync() -
setTStampAclSync
public void setTStampAclSync(java.lang.String tStampAclSync) -
getTStampSync
public java.lang.String getTStampSync() -
setTStampSync
public void setTStampSync(java.lang.String tStampSync) -
getAspects
public java.util.Map<java.lang.String,java.util.List<java.util.Map<java.lang.String,IndexValue>>> getAspects() -
setAspects
public void setAspects(java.util.Map<java.lang.String,java.util.List<java.util.Map<java.lang.String,IndexValue>>> aspects) -
getRegionId
public int getRegionId() -
setRegionId
public void setRegionId(int regionId) -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-