Class Sord
- All Implemented Interfaces:
Serializable
Indexing information of an archive entry.
Copyright: Copyright (c) 2004
Organisation: ELO Digital Office GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
The current users access rights for this Sord.protected String
Access control language in coded form.protected AclItem[]
This is the access control list as an array ofAclItem
objects.Index values.protected int
Id of the current attachment version.protected DocVersion
Work version of the attachment.protected int
Estimated sum of the sub-entries in a directory.protected String
ISO encoded expiry date.protected boolean
Indicates whether the sord has been deleted or not.protected String
The Sord is deleted at this date.protected int
The Sord is deleted at this user.protected String
The (visible) memo text.protected SordDetails
Object encapsulates flags.protected int
Read-only.protected DocVersion
Version information of current document work version.protected String
GUID.protected String
Hidden text that must not be displayed to the user.protected int
Number of document versions.protected int
Numeric ID.protected String
ISO encoded internal (archive defined) date.protected int
RESERVEDprotected int
RESERVEDprotected int
Colourprotected SordLink[]
Links pointing from other archive entries to this.protected SordLink[]
Links starting fromthis
to other archive entries.protected int
This is the id of the user who has a lock on the object.protected int
This is the id of the user who has a lock on the document (not the object).protected int
This is the id of the user who has a lock on the object (not the document).protected String
The name of the user who has locked the object.protected String
The name of the user who has locked the document.protected String
The name of the user who has locked the object.protected int
The id of the filing mask used to archive the sord.protected String
Name of keywording form.protected String
The short description/name for the object.protected ObjKey[]
Index values.protected int
The id of the owner of the object.protected String
Name of the owner (read-only).protected String
Package name of sordprotected int
Id of the parent object(archive heirachy) of the sord object.protected String[]
GUIDs of archive entries that contain a reference tothis
.protected int
Filing path for the document manager.protected ArcPath[]
Archive paths to this Sord.protected int
This is a RESERVED field for future use.protected ReplSetName[]
Replication set names.protected ReplSet
Replication sets.protected String
If the sord belongs to a workspace, this value contains the GUID of that workspace.If the sord belongs to a workspace, this value contains the GUIDs of parent workspaces.protected String
Version numer of the current work version.protected String
Timestamp of the last change.protected String
Timestamp of the last ACL change.protected String
Timestamp of this object's ACLs last export by the replication.protected String
Timestamp that indicates the next iSearch Index run The format is JJJJ.MM.DD.hh.mm.ssprotected String
Timestamp of this object's last export by the replication.protected int
The type of sord object.protected int
RESERVEDprotected String
ISO encoded external (user defined) date.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags
-
Constructor Summary
ConstructorsConstructorDescriptionSord()
Sord
(long changedMembers, String SReg, String TStamp, String acl, int att, int childCount, int doc, String guid, int histCount, int id, int info, int key, int kind, int lockId, int mask, String name, int ownerId, int parentId, int path, int type, int vtRep, String IDateIso, String XDateIso, int access, AclItem[] aclItems, String delDateIso, boolean deleted, String desc, SordDetails details, DocVersion docVersion, String hiddenText, SordLink[] linksComeIn, SordLink[] linksGoOut, String lockName, ObjKey[] objKeys, String ownerName, String[] parentIds, ArcPath[] refPaths, ReplSetName[] replNames, ReplSet replSet, String spaceGuid, List<String> spaceGuids, String packageName, int regionId) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getAcl()
AclItem[]
int
getAtt()
int
int
getDesc()
int
getDoc()
getGuid()
int
int
getId()
int
getInfo()
int
getKey()
int
getKind()
SordLink[]
SordLink[]
int
int
int
int
getMask()
getName()
ObjKey[]
int
int
String[]
int
getPath()
ArcPath[]
ArcPath[]
int
getSReg()
int
getType()
int
getVtRep()
int
hashCode()
boolean
boolean
isNew()
void
setAccess
(int access) void
void
setAclItems
(AclItem[] aclItems) void
setAspects
(Map<String, List<Map<String, IndexValue>>> aspects) void
setAtt
(int att) void
setAttVersion
(DocVersion attVersion) void
setChildCount
(int childCount) void
setDelDateIso
(String delDateIso) void
setDeleted
(boolean deleted) void
setDeleteDateIso
(String deleteDateIso) void
setDeleteUser
(int deleteUser) void
void
setDetails
(SordDetails details) void
setDoc
(int doc) void
setDocVersion
(DocVersion docVersion) void
void
setHiddenText
(String hiddenText) void
setHistCount
(int histCount) void
setId
(int id) void
setIDateIso
(String IDateIso) void
setInfo
(int info) void
setKey
(int key) void
setKind
(int kind) void
setLinksComeIn
(SordLink[] linksComeIn) void
setLinksGoOut
(SordLink[] linksGoOut) void
setLockId
(int lockId) void
setLockIdDoc
(int lockIdDoc) void
setLockIdSord
(int lockIdSord) void
setLockName
(String lockName) void
setLockNameDoc
(String lockNameDoc) void
setLockNameSord
(String lockNameSord) void
setMask
(int mask) void
void
void
setObjKeys
(ObjKey[] objKeys) void
setOwnerId
(int ownerId) void
setOwnerName
(String ownerName) void
setPackageName
(String packageName) void
setParentId
(int parentId) void
setParentIds
(String[] parentIds) void
setPath
(int path) void
setRefPaths
(ArcPath[] refPaths) void
setRegionId
(int regionId) void
setReplNames
(ReplSetName[] replNames) void
setReplSet
(ReplSet replSet) void
setSpaceGuid
(String spaceGuid) void
setSpaceGuids
(List<String> spaceGuids) void
void
void
setTStampAcl
(String tStampAcl) void
setTStampAclSync
(String tStampAclSync) void
setTStampLocal
(String tStampLocal) void
setTStampSync
(String tStampSync) void
setType
(int type) void
setVtRep
(int vtRep) void
setXDateIso
(String XDateIso) toString()
Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
Field Details
-
SReg
Version numer of the current work version. -
TStamp
Timestamp of the last change. The format is JJJJ.MM.DD.hh.mm.ss -
acl
Access 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
GUID. -
histCount
protected int histCountNumber of document versions. -
id
protected int idNumeric ID. -
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
The 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:
-
type
protected int typeThe type of sord object. Folder objects: 0 < type < LBT_DOCUMENT Document objects: LBT_DOCUMENT <= type < LBT_DOCUMENT_MAX- See Also:
-
vtRep
protected int vtRepRESERVED -
IDateIso
ISO encoded internal (archive defined) date. -
XDateIso
ISO 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 ofAclItem
objects. -
delDateIso
ISO 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
The (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. -
linksComeIn
Links pointing from other archive entries to this. Read-only. -
linksGoOut
Links starting fromthis
to other archive entries. Read-only.- See Also:
-
lockName
The name of the user who has locked the object. Read-only.- See Also:
-
objKeys
Index values. This array is only valid, if the associated keywording formDocMask
is organized asDocMask.dataOrganisation
=DocMaskC.DATA_ORGANISATION_OBJKEYS
orDocMaskC.DATA_ORGANISATION_TABLE
.- See Also:
-
ownerName
Name of the owner (read-only). -
parentIds
GUIDs of archive entries that contain a reference tothis
. The first element of the array is the GUID of the main parent, wherethis
is physically placed. Read-only.- See Also:
-
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 arrayparentIds
is not checked for read access. -
replNames
Replication set names. The replication set information of an object is binary encoded in the database. The ClassReplNameMap
provides 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:
-
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:
-
maskName
Name 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:
-
attVersion
Work version of the attachment.- Since:
- 7.00.040.007
-
deleteDateIso
The 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
The name of the user who has locked the object. Read-only.- Since:
- 9.99.009.001
-
lockNameDoc
The name of the user who has locked the document. Read-only.- Since:
- 9.99.009.001
-
TStampSync
Timestamp of this object's last export by the replication.- Since:
- 9.99.009.001
-
TStampAcl
Timestamp of the last ACL change. The format is JJJJ.MM.DD.hh.mm.ss- Since:
- 9.99.009.001
-
TStampAclSync
Timestamp 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
Index values. This member is only valid, if the associated keywording formDocMask
is 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 classIndexValue
which holds the actual data for an aspect line.- Since:
- 20.00.000.100
-
spaceGuid
If the sord belongs to a workspace, this value contains the GUID of that workspace.- Since:
- 21.00.000.003
-
spaceGuids
If the sord belongs to a workspace, this value contains the GUIDs of parent workspaces.- Since:
- 21.00.000.021
-
TStampLocal
Timestamp that indicates the next iSearch Index run The format is JJJJ.MM.DD.hh.mm.ss- Since:
- 21.02.000.004
-
packageName
Package name of sord- Since:
- 21.03.000.013
-
regionId
protected int regionIdThis is a RESERVED field for future use. Do not use.
The region id of a sord.
If 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. Thus, this field defines the membership of this sord object to the region specified by this value.
Although the sord defining the region is always associated to a keywording formDocMask
which is organized asDocMaskC.DATA_ORGANISATION_ASPECT
, this sord belonging to a region can be of any type of data organisation (objkey, table or aspect).- Since:
- 20.00.000.100
-
-
Constructor Details
-
Sord
public Sord() -
Sord
public Sord(long changedMembers, String SReg, String TStamp, String acl, int att, int childCount, int doc, String guid, int histCount, int id, int info, int key, int kind, int lockId, int mask, String name, int ownerId, int parentId, int path, int type, int vtRep, String IDateIso, String XDateIso, int access, AclItem[] aclItems, String delDateIso, boolean deleted, String desc, SordDetails details, DocVersion docVersion, String hiddenText, SordLink[] linksComeIn, SordLink[] linksGoOut, String lockName, ObjKey[] objKeys, String ownerName, String[] parentIds, ArcPath[] refPaths, ReplSetName[] replNames, ReplSet replSet, String spaceGuid, List<String> spaceGuids, String packageName, int regionId) -
Sord
-
-
Method Details
-
getSReg
-
setSReg
-
getTStamp
-
setTStamp
-
getAcl
-
setAcl
-
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
-
setGuid
-
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
-
setName
-
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
-
setIDateIso
-
getXDateIso
-
setXDateIso
-
getAccess
public int getAccess() -
setAccess
public void setAccess(int access) -
getAclItems
-
setAclItems
-
getDelDateIso
-
setDelDateIso
-
isDeleted
public boolean isDeleted() -
setDeleted
public void setDeleted(boolean deleted) -
getDesc
-
setDesc
-
getDetails
-
setDetails
-
getDocVersion
-
setDocVersion
-
getAttVersion
-
setAttVersion
-
getHiddenText
-
setHiddenText
-
getLinksComeIn
-
setLinksComeIn
-
getLinksGoOut
-
setLinksGoOut
-
getLockName
-
setLockName
-
getObjKeys
-
setObjKeys
-
getOwnerName
-
setOwnerName
-
getParentIds
-
setParentIds
-
getRefPaths
-
getRefPathsDirect
-
setRefPaths
-
getReplNames
-
setReplNames
-
getReplSet
-
setReplSet
-
getMaskName
-
setMaskName
-
getDeleteDateIso
-
setDeleteDateIso
-
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
-
setLockNameSord
-
getLockNameDoc
-
setLockNameDoc
-
getTStampAcl
-
setTStampAcl
-
getTStampAclSync
-
setTStampAclSync
-
getTStampSync
-
setTStampSync
-
getAspects
-
setAspects
-
getRegionId
public int getRegionId() -
setRegionId
public void setRegionId(int regionId) -
getSpaceGuid
-
setSpaceGuid
-
getSpaceGuids
-
setSpaceGuids
-
getPackageName
-
setPackageName
-
getTStampLocal
-
setTStampLocal
-
isNew
public boolean isNew() -
toString
-
equals
-
hashCode
public int hashCode()
-