std.GetCPObjectInfo
This job returns the compact metadata for a DMS object that a worker service of the content/processing pipeline (full-text indexer, rendition cache, …) needs in order to process the object — in particular processing status, mime type, hash, hierarchical path and whether a full-text content is already available.
The typical call context is the direct follow-up job after a successful std.GetNextCPMessage pickup; see Lifecycle of a message.
|
This job is not listed in the official enaio® standard engine overview ( |
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
INT |
Yes |
Numeric ID of the DMS object whose metadata is requested. |
|
INT |
No |
Numeric object type ID. If not given, the server resolves the type itself. Passing it when known saves a database lookup. |
|
INT |
Yes |
Controls the level of detail in the output. Typical value: |
|
STRING |
No |
Access rights to check, as a letter combination (e.g. |
|
INT |
No |
|
2. Output Parameters
The server returns only those fields that apply to the given object. For container objects
(portfolios, folders, registers), document-related fields such as MimeType, PageCount,
Hash and HasVolltextFile are empty or 0/false.
| Name | Type | Dependency | Description |
|---|---|---|---|
|
INT |
Optional |
Numeric object type ID. May differ from the input |
|
INT |
Optional |
Original object type ID before any resolution (e.g. variant → main object). |
|
INT |
Optional |
Number of document pages. |
|
STRING |
When |
Effectively granted rights as a letter combination (same format as input). |
|
STRING |
Optional |
SHA-256 hex hash of the document content (64 characters). Suitable for change detection against the last indexed state. |
|
INT |
Optional |
External reference ID of the object (for third-party-system integrations). |
|
INT |
Optional |
enaio® system ID of the object (relevant in multi-system setups). |
|
STRING |
Optional |
MIME type of the document content (e.g. |
|
INT |
Optional |
Numeric MIME type ID. |
|
STRING |
Optional |
Coarse classification of the mime type, selecting the responsible converter/rendition
pipeline. Known values: |
|
STRING |
Optional |
File extension (e.g. |
|
STRING |
Optional |
Hierarchical path of the object through the folder/register structure as a |
|
STRING |
Optional |
Same as |
|
BOOL |
Optional |
|
|
BOOL |
Optional |
|
|
BOOL |
Optional |
|
|
BOOL |
Optional |
|
|
BOOL |
Optional |
|
|
BOOL |
Optional |
|
4. Notes
-
Pure read operation — repeated calls are idempotent.
-
HasVolltextFiledrives the next step: iftrue, the full-text content can be read directly via std.GetCPObjectIdxFulltext; iffalse, a rendition has to be requested first, e.g. through std.CreateCPMessages withCreateRenditionMessages=true. -
Hashcan be compared against the last processed value to decide whether re-indexing is actually needed. -
PathesandObjectTypePathescorrespond position-wise: every component inPatheshas its matching object type ID at the same position inObjectTypePathes.
5. Related Jobs
-
std.GetNextCPMessage — returns the
ObjectIDthis job is typically called with right after -
std.GetCPObjectIdxFulltext — returns the extracted full-text content of the object (useful when
HasVolltextFile=true) -
std.CreateCPMessages — requests a missing rendition (useful when
HasVolltextFile=false) -
std.CPRenditionChanged — reports that the rendition for an object has been updated
-
std.GetDocumentDigest — returns only the hash; suitable when only change detection is needed
-
dms.GetObjectDetails — full object query including all index fields; much more expensive than this job