public class MediaCustom extends TieMedia
A MediaCustom instances can have secure parameters, name/value pairs whose values are securely stored. Administration mode is required to set, get, or delete a secure parameter.
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME
The name of the ClassObject representing this class.
|
static String |
CUSTOMMEDIADRIVERSPECIFICATION_ATTRIBUTE
The CustomMediaDriverSpecification that identifies the CustomMediaDriver
used by this MediaCustom instance to store content.
|
static String |
SECUREPARAMETER_PREFIX
The name prefix of secure parameters.
|
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 |
MediaCustom(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Constructs a MediaCustom object.
|
Modifier and Type | Method and Description |
---|---|
void |
deleteSecureParameter(String name)
Deletes the specified secure parameter of this MediaCustom instance.
|
static MediaCustom[] |
findAll(LibrarySession session)
Gets the set of all MediaCustom instances.
|
static MediaCustom |
findByName(LibrarySession session,
String name)
Gets the MediaCustom instance with the specified name.
|
CustomMediaDriverSpecification |
getCustomMediaDriverSpecification()
Gets the CustomMediaDriverSpecification that identifies the
CustomMediaDriver used by this MediaCustom instance to store content.
|
String |
getSecureParameter(String name)
Gets the value of the specified secure parameter of this MediaCustom
instance.
|
String[] |
getSecureParameterNames()
Gets the names of the secure parameters of this MediaCustom instance.
|
String |
getSecureParameterPrefix()
Gets the prefix automatically applied to the names of the secure
parameters of this MediaCustom instance to make them repository unique.
|
boolean |
hasNameAttribute()
Returns true if this object is an instance of a class
that has a NAME attribute, and false otherwise.
|
void |
setSecureParameter(String name,
String value)
Sets the value of the specified secure parameter of this MediaCustom
instance.
|
getColumnName, getContentIndexProcedure, getDescription, getLibraryObjectLookupCache, getTableName, 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 CUSTOMMEDIADRIVERSPECIFICATION_ATTRIBUTE
public static final String SECUREPARAMETER_PREFIX
protected MediaCustom(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- current LibrarySessionid
- object idclassId
- class iddata
- data componentIfsException
- if the operation failspublic boolean hasNameAttribute() throws IfsException
hasNameAttribute
in class Media
IfsException
- if operation fails.public CustomMediaDriverSpecification getCustomMediaDriverSpecification() throws IfsException
IfsException
- if the operation failspublic final String getSecureParameterPrefix() throws IfsException
The arguments and return values of the
getSecureParameterNames()
,
getSecureParameter(String)
,
setSecureParameter(String, String)
, and
deleteSecureParameter(String)
methods are unprefixed names. The
prefix returned by this method is transparently applied to arguments and
stripped from return values.
IfsException
- if the operation failspublic String[] getSecureParameterNames() throws IfsException
IfsException
- if the operation failspublic String getSecureParameter(String name) throws IfsException
name
- the secure parameter nameIfsException
- if the operation failspublic void setSecureParameter(String name, String value) throws IfsException
name
- the secure parameter namevalue
- the secure parameter valueIfsException
- if the operation failspublic void deleteSecureParameter(String name) throws IfsException
name
- the secure parameter nameIfsException
- if the operation failspublic static MediaCustom[] findAll(LibrarySession session) throws IfsException
session
- the sessionIfsException
- if the operation failspublic static MediaCustom findByName(LibrarySession session, String name) throws IfsException
session
- the session; requiredname
- the nameIfsException
- if the operation failsCopyright © 2023. All rights reserved.