public class MediaBfile extends TieMedia
Modifier and Type | Field and Description |
---|---|
static String |
BASEPATH_ATTRIBUTE
The name of the attribute whose value is the absolute path to the base
directory for content stored by this MediaBfile instance.
|
static String |
CLASS_NAME
The name of the ClassObject representing this class.
|
static String |
MEDIAOPTION_FILENAME
The name of the media option whose value is the filename in which content
will be stored on the database-tier file system.
|
static String |
MEDIAOPTION_RELATIVE_PATH
The name of the media option whose value is the relative path from the
BASEPATH of the MediaBfile instance to the directory on the database-tier
file system in which the content will be stored.
|
COLUMNNAME_ATTRIBUTE, CONTENTINDEXPROCEDURE_ATTRIBUTE, DESCRIPTION_ATTRIBUTE, MEDIAOPTION_ALLOW_NONTRANSACTIONAL_CONTENT_DESTRUCTION, READONLY_ATTRIBUTE, TABLENAME_ATTRIBUTE
ACTIVE_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session, NAME_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
MediaBfile(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Constructs a MediaBfile object.
|
Modifier and Type | Method and Description |
---|---|
static MediaBfile[] |
findAll(LibrarySession session)
Gets the set of all MediaBfile instances.
|
static MediaBfile |
findByName(LibrarySession session,
String name)
Gets the MediaBfile with the specified name.
|
String |
getBasePath()
Gets the absolute path to the base directory for content stored by this
MediaBfile instance.
|
getColumnName, getContentIndexProcedure, getDescription, getLibraryObjectLookupCache, getTableName, hasNameAttribute, isReadOnly
addCategory, constructSystemObject, constructSystemObjectVector, free, freeCategories, getCategories, getCategories, getCategories, getCategories, getPolicyBundle, getPolicyLists, handleCreate, hasPropertyBundleAttribute, isActive, postCreate, postUpdate, preCreate, preUpdate, putPolicy, removeAllPolicies, removePolicy, removePolicy, setActive, setPolicyBundle, setPolicyLists
added, addSimpleProperty, addSimpleProperty, applyProperties, auditCreated, auditUpdated, canPurge, checkIfPropertyBundleSupported, checkRequiredAttributeSet, clearCopyContext, clearFreeContext, clearUpdateContext, compareTo, constructIdArray, constructIdArray, constructLibraryObject, constructLibraryObjectVector, createDedicatedPropertyBundle, createInstance, deriveDomainUniqueName, dispose, equals, equals, free, freeAll, get, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getAuditDomainContext, getAuditEventFolderContext, getClassId, getClassname, getClassName, getClassObject, getCommonName, getCommonNameAndClass, getCopyContext, getCreateContext, getData, getDefinition, getDefinitionForSimplePropertyUpdates, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getFreeContext, getId, getLabel, getName, getObjectReferenceAttribute, getOperationActionSpecificationContext, getPropertyBundle, getPropertyValue, getPublicObjectAttribute, getResourceString, getResourceString, getSchemaObjectAttribute, getSession, getSessionInterface, getSharedStateFactory, getSimpleObjectAttribute, getSimpleProperties, getSimpleProperty, getSimplePropertyValue, getStringIdentifier, getSystemObjectAttribute, getTraceLogger, getUpdateContext, handleAdminModeChange, handleEvent, handleFree, handleUpdate, hashCode, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, isValidEventType, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postEvent, postEvent, postFree, preFree, prePostAuditEvent, putProperty, putProperty, removeAllProperties, removeAllSimpleProperties, removeAllSimpleProperties, removed, removeProperty, removeSimpleProperty, removeSimpleProperty, renderAsRandomAccessContent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setCopyContext, setFreeContext, setId, setName, setPropertyBundle, setPropertyValue, setUpdateContext, toString, trace, trustHandleCreate, trustHandleCreateAsAdmin, trustHandleFree, trustHandleFreeAsAdmin, trustHandleUpdate, trustHandleUpdateAsAdmin, update, updateAndExposeDefinition, validatePropertyValues, vectorLibraryObjectElement, vectorToLibraryObjectArray, verifyAdministrationMode, verifyConnected, verifyPersistent, verifySystemUserAccess, verifyTargetObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributeByUpperCaseName, getClassId, getId, getSessionInterface
getTraceLogger, isTraced, trace
public static final String CLASS_NAME
public static final String BASEPATH_ATTRIBUTE
public static final String MEDIAOPTION_RELATIVE_PATH
If unspecified, content will be stored in the BASEPATH directory.
ContentObjectDefinition.setMediaOptions(AttributeValue[])
,
Constant Field Valuespublic static final String MEDIAOPTION_FILENAME
If unspecified, the filename will be "ifsbfile_cid
",
where cid
is the unique content id.
ContentObjectDefinition.setMediaOptions(AttributeValue[])
,
Constant Field Valuesprotected MediaBfile(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- current LibrarySessionid
- object idclassId
- class iddata
- data componentIfsException
- if the operation failspublic String getBasePath() throws IfsException
IfsException
- if the operation failspublic static MediaBfile[] findAll(LibrarySession session) throws IfsException
session
- the sessionIfsException
- if the operation failspublic static MediaBfile findByName(LibrarySession session, String name) throws IfsException
session
- the session; requiredname
- the nameIfsException
- if the operation failsCopyright © 2023. All rights reserved.