public class S_ContentVaultEntry extends S_TieSimpleObject
S_LibraryObject.MapInfoCASCADE_OP_COPY_PUBLICOBJECT_TO_CATEGORY, CASCADE_OP_COPY_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_DELETE_FAMILY_TO_VERSIONSERIES, CASCADE_OP_DELETE_PUBLICOBJECT_TO_LEFT_RELATIONSHIP, CASCADE_OP_DELETE_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_DELETE_PUBLICOBJECT_TO_VERSIONDESCRIPTION, CASCADE_OP_DELETE_RELATIONSHIP_TO_LEFT_PUBLICOBJECT, CASCADE_OP_DELETE_RELATIONSHIP_TO_RIGHT_PUBLICOBJECT, CASCADE_OP_DELETE_VERSIONDESCRIPTION_TO_PUBLICOBJECT, CASCADE_OP_DELETE_VERSIONDESCRIPTION_TO_VERSIONSERIES, CASCADE_OP_DELETE_VERSIONSERIES_TO_FAMILY, CASCADE_OP_DELETE_VERSIONSERIES_TO_VERSIONDESCRIPTION, CASCADE_OP_FREE_CATEGORY_TO_PUBLICOBJECT, CASCADE_OP_FREE_CATEGORY_TO_SCHEMAOBJECT, CASCADE_OP_FREE_CATEGORY_TO_SYSTEMOBJECT, CASCADE_OP_FREE_FAMILY_TO_VERSIONSERIES, CASCADE_OP_FREE_PUBLICOBJECT_TO_CATEGORY, CASCADE_OP_FREE_PUBLICOBJECT_TO_LEFT_RELATIONSHIP, CASCADE_OP_FREE_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_FREE_PUBLICOBJECT_TO_VERSIONDESCRIPTION, CASCADE_OP_FREE_RELATIONSHIP_TO_LEFT_PUBLICOBJECT, CASCADE_OP_FREE_RELATIONSHIP_TO_RIGHT_PUBLICOBJECT, CASCADE_OP_FREE_SCHEMAOBJECT_TO_CATEGORY, CASCADE_OP_FREE_SYSTEMOBJECT_TO_CATEGORY, CASCADE_OP_FREE_VERSIONDESCRIPTION_TO_PUBLICOBJECT, CASCADE_OP_FREE_VERSIONDESCRIPTION_TO_VERSIONSERIES, CASCADE_OP_FREE_VERSIONSERIES_TO_FAMILY, CASCADE_OP_FREE_VERSIONSERIES_TO_VERSIONDESCRIPTION, CASCADE_OP_UNDEFINED, CASCADE_OP_UNDELETE_FAMILY_TO_VERSIONSERIES, CASCADE_OP_UNDELETE_PUBLICOBJECT_TO_LEFT_RELATIONSHIP, CASCADE_OP_UNDELETE_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_UNDELETE_PUBLICOBJECT_TO_VERSIONDESCRIPTION, CASCADE_OP_UNDELETE_RELATIONSHIP_TO_LEFT_PUBLICOBJECT, CASCADE_OP_UNDELETE_RELATIONSHIP_TO_RIGHT_PUBLICOBJECT, CASCADE_OP_UNDELETE_VERSIONDESCRIPTION_TO_PUBLICOBJECT, CASCADE_OP_UNDELETE_VERSIONDESCRIPTION_TO_VERSIONSERIES, CASCADE_OP_UNDELETE_VERSIONSERIES_TO_FAMILY, CASCADE_OP_UNDELETE_VERSIONSERIES_TO_VERSIONDESCRIPTION, CASCADE_OP_UPDATE_CATEGORY_TO_PUBLICOBJECT, CASCADE_OP_UPDATE_CATEGORY_TO_SCHEMAOBJECT, CASCADE_OP_UPDATE_CATEGORY_TO_SYSTEMOBJECT, CASCADE_OP_UPDATE_PUBLICOBJECT_TO_CATEGORY, CASCADE_OP_UPDATE_SCHEMAOBJECT_TO_CATEGORY, CASCADE_OP_UPDATE_SYSTEMOBJECT_TO_CATEGORY, DEFAULT_RENDERER, m_ClassId, m_Id, m_Session| Modifier | Constructor and Description | 
|---|---|
protected  | 
S_ContentVaultEntry(S_LibrarySession session,
                   Long classId)
Construct an S_ContentVaultEntry for the case where the object has not
 been created in the database yet. 
 | 
protected  | 
S_ContentVaultEntry(S_LibrarySession session,
                   S_LibraryObjectData data)
Construct an S_ContentVaultEntry. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
deriveDefinition(S_LibraryObjectDefinition def)
Add to the S_LibraryObjectDefinition for this class,
 as part of an operation to derive a definition from an existing object. 
 | 
S_ContentController | 
getContentController()
Gets the referencing ContentController. 
 | 
S_ContentObject | 
getContentObject()
Gets the referencing ContentObject. 
 | 
Long | 
getContentRowId()
Gets Content row ID. 
 | 
InputStream | 
getContentStream()
Gets the content as an InputStream. 
 | 
protected InputStream | 
getContentStream(S_Media media,
                Long cid)
Gets the content as an InputStream. 
 | 
long | 
getEncryptionToken()
Gets the encryption token value. 
 | 
int | 
getEncryptionVersion()
Gets the encryption version value. 
 | 
S_Media | 
getMedia()
Gets the Media object. 
 | 
boolean | 
isEncrypted()
Gets indication of encryption. 
 | 
protected void | 
postEvent()
Post a special event to notify background agent
 that content extraction is requeusted for indirect fulltext indexing. 
 | 
protected void | 
setContent(S_Media media,
          Long cid,
          InputStream iss,
          Long partValue,
          AttributeValue[] mediaOptions)
Store the specified content. 
 | 
added, applyValueDefault, associatedPostFree, associatedPostInsert, associatedPreInsert, canPurge, cascadeCopy, cascadeFree, cascadeUpdate, checkRequiredForInsert, checkSettable, clearArrayTypeAttributeValues, clearMapTypeAttributeValues, clonePublicObjectAttribute, constructIdArray, constructIdArray, copy, copy, copyVectorToLibraryObjectArray, createDefaultPolicyPropertyBundle, createDefaultPropertyBundle, createDefaultPropertyBundle, createInstance, deleteRows, deriveOwnerUniqueName, deriveOwnerUniqueName, deriveUppercasedAttribute, determineClassDomain, determinePolicy, determinePolicy, determineValueDefault, determineValueDomain, dispose, DYNInvalidateState, DYNLockRows, equals, equals, executePolicyOperation, extendedPostFree, extendedPostInsert, extendedPostUpdate, extendedPreCopy, extendedPreFree, extendedPreInsert, extendedPreUpdate, findPolicyFromPropertyBundleAv, free, free, getAttribute, getAttributeByUpperCaseName, getAuditCertificateName, getAuditDomainContext, getAuditDomainContextFolder, getAuditEventFolderContext, getClassData, getClassId, getClassName, getClassObject, getContentStorageManager, getData, getDefinition, getEffectivePolicyActionContexts, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getId, getLibraryConnection, getName, getObjectReferenceAttribute, getPropertyBundle, getPropertyValue, getResourceString, getResourceString, getService, getSession, getSessionInterface, getTraceLogger, handleCascade, handleEvent, hashCode, hasNameAttribute, insertReferenceAttributes, insertRow, insertRows, invalidateState, invokeOperation, invokePolicyMethod, isAuditCertificateSecured, isBroadcastCreateEventEnabled, isInstanceOf, isPersistent, issueCascade, isTraced, lockRows, postEvent, postEvent, postEvent, postFree, postInsert, postUpdate, preFree, preInsert, preUpdate, privilegedUpdate, removed, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, toString, trace, update, updateRows, validateStringArray, verifyCanCreate, verifyCanFree, verifyCanGetContent, verifyCanSetContent, verifyCanSetPolicy, verifyCanUpdate, verifyPersistent, verifyWriteableTransactionInProgressclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAttributeByUpperCaseName, getClassId, getId, getSessionInterfacegetTraceLogger, isTraced, traceprotected S_ContentVaultEntry(S_LibrarySession session, S_LibraryObjectData data) throws IfsException
session - the session contextdata - the data componentIfsException - if operation failsprotected S_ContentVaultEntry(S_LibrarySession session, Long classId) throws IfsException
session - the session contextclassId - the ID of the classIfsException - if operation failsprotected void deriveDefinition(S_LibraryObjectDefinition def) throws IfsException
deriveDefinition in class S_LibraryObjectdef - the S_LibraryObjectDefinition that contains
                      the definition of the target object.IfsException - if operation fails.public S_ContentObject getContentObject() throws IfsException
IfsException - if operation failspublic S_ContentController getContentController() throws IfsException
IfsException - if operation failspublic S_Media getMedia() throws IfsException
IfsException - if the operation fails.public Long getContentRowId() throws IfsException
IfsException - if the operation fails.public boolean isEncrypted()
                    throws IfsException
IfsException - if operation failspublic long getEncryptionToken()
                        throws IfsException
IfsException - if operation failspublic int getEncryptionVersion()
                         throws IfsException
IfsException - if operation failspublic InputStream getContentStream() throws IfsException
IfsException - if the operation failsprotected InputStream getContentStream(S_Media media, Long cid) throws IfsException
media - the Media; requiredcid - the content IDIfsException - if the operation failsprotected void setContent(S_Media media, Long cid, InputStream iss, Long partValue, AttributeValue[] mediaOptions) throws IfsException
media - the Media for the new contentcid - the Content ID that will define the new piece of contentiss - the content streampartValue - the partition value to use for the new contentmediaOptions - the options to be interpreted by the MediaIfsException - if the operation failsprotected void postEvent()
                  throws IfsException
IfsException - if operation failsCopyright © 2025. All rights reserved.