@Deprecated public class CenteraMediaDriver extends Object implements CustomMediaDriver
| Modifier and Type | Field and Description | 
|---|---|
static String | 
MEDIAOPTION_DELETE_REASON
Deprecated.  
The name of the media option whose string value specifies the reason
 for deleting content. 
 | 
static String | 
MEDIAOPTION_PRIVILEGED_DELETE
Deprecated.  
The name of the media option whose boolean value specifies whether to
 perform a "privileged delete". 
 | 
static String | 
MEDIAOPTION_RETENTION_PERIOD
Deprecated.  
The name of the media option whose long value specifies the retention
 period of the content, in seconds since clip creation. 
 | 
static String | 
PROPERTY_GLOBAL_OPTION_PREFIX
Deprecated.  
The name prefix of MediaCustom properties representing Centera global
 options. 
 | 
static String | 
PROPERTY_POOL_OPTION_PREFIX
Deprecated.  
The name prefix of MediaCustom properties representing Centera pool
 options. 
 | 
static String | 
SECUREPARAMETER_POOL_ADDRESS
Deprecated.  
The name of the MediaCustom secure parameter whose string value is the
 Centera pool address. 
 | 
| Constructor and Description | 
|---|
CenteraMediaDriver()
Deprecated.  
Constructs a CenteraMediaDriver. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
destroyContent(S_MediaCustom media,
              String address,
              Long cid,
              AttributeValue[] mediaOptions)
Deprecated.  
Destroys content with the specified content address. 
 | 
InputStream | 
getContent(S_MediaCustom media,
          String address)
Deprecated.  
Gets the content for the specified content address. 
 | 
long | 
getContentSize(S_MediaCustom media,
              String address)
Deprecated.  
Gets the content size, in bytes, for the specified content address. 
 | 
RandomAccessDriver | 
getRandomAccessorDriver(S_MediaCustom media,
                       String address)
Deprecated.  
Gets a RandomAccessDriver for the specified content address. 
 | 
void | 
initialize(S_CustomMediaDriverSpecification cmds)
Deprecated.  
Initializes this CustomMediaDriver. 
 | 
String | 
setContent(S_MediaCustom media,
          Long cid,
          InputStream is,
          AttributeValue[] mediaOptions)
Deprecated.  
Stores content from the supplied InputStream. 
 | 
String | 
setContentReference(S_MediaCustom media,
                   Long cid,
                   String contentReference,
                   AttributeValue[] mediaOptions)
Deprecated.  
Stores content determined from a specified content reference. 
 | 
public static final String SECUREPARAMETER_POOL_ADDRESS
public static final String PROPERTY_POOL_OPTION_PREFIX
 For example, a MediaCustom instance property named
 IFS.MEDIACUSTOM.CENTERAMEDIADRIVER.PROPERTY.PoolOption.collisionavoidance
 specifies the value of the collisionavoidance option.
 
Centera pool options have integer values.
public static final String PROPERTY_GLOBAL_OPTION_PREFIX
 For example, a MediaCustom instance property named
 IFS.MEDIACUSTOM.CENTERAMEDIADRIVER.PROPERTY.GlobalOption.maxconnections
 specifies the value of the maxconnections option.
 
Although Centera global options apply to all Centera pools constructed in a Java virtual machine, they are set in the context of a particular pool.
Centera global options have integer values.
public static final String MEDIAOPTION_RETENTION_PERIOD
 This media option is examined when setContent is called to
 store content in Centera.  If unspecified, Centera will apply a default
 retention period (which may be 0).
ContentObjectDefinition.setMediaOptions(AttributeValue[]), 
Constant Field Valuespublic static final String MEDIAOPTION_DELETE_REASON
 This media option is examined when destroyContent is called
 to delete content in Centera.  If specified and non-null, the clip will
 be deleted by an "audited delete" with the option's value as the reason.
 Otherwise, the clip will be deleted by a normal delete.
ContentObjectDefinition.setMediaOptions(AttributeValue[]), 
Constant Field Valuespublic static final String MEDIAOPTION_PRIVILEGED_DELETE
 This media option is examined when destroyContent is called
 to delete content in Centera.  If specified and true, the clip will be
 deleted by an "audited privileged delete".  Otherwise, the clip will be
 deleted by a normal delete or an "audited delete", depending on whether
 the MEDIAOPTION_DELETE_REASON media option is specified.
 
 An "audited privileged delete" requires a reason to be supplied by the
 MEDIAOPTION_DELETE_REASON media option.
ContentObjectDefinition.setMediaOptions(AttributeValue[]), 
Constant Field Valuespublic CenteraMediaDriver()
public void initialize(S_CustomMediaDriverSpecification cmds) throws IfsException
initialize in interface CustomMediaDrivercmds - the CustomMediaDriver specificationIfsException - 13800: if the operation failspublic InputStream getContent(S_MediaCustom media, String address) throws IfsException
getContent in interface CustomMediaDrivermedia - the MediaCustom instanceaddress - the content addressIfsException - 13801: if the operation failspublic long getContentSize(S_MediaCustom media, String address) throws IfsException
getContentSize in interface CustomMediaDrivermedia - the MediaCustom instanceaddress - the content addressIfsException - 13802: if the operation failspublic String setContent(S_MediaCustom media, Long cid, InputStream is, AttributeValue[] mediaOptions) throws IfsException
setContent in interface CustomMediaDrivermedia - the MediaCustom instancecid - the content idis - the contentmediaOptions - a set of name/value pairs whose semantics are
                      determined by the CustomMediaDriver implementation,
                      or null for no media optionsIfsException - 13803: if the operation failspublic String setContentReference(S_MediaCustom media, Long cid, String contentReference, AttributeValue[] mediaOptions) throws IfsException
 The interpretation of contentReference is determined by
 the CustomMediaDriver implementation.  Some implementations may store
 its value, while others may resolve its value (in a implementation
 determined fashion) to other content and store that content instead.
setContentReference in interface CustomMediaDrivermedia - the MediaCustom instancecid - the content idcontentReference - the content referencemediaOptions - a set of name/value pairs whose semantics are
                          determined by the CustomMediaDriver
                          implementation, or null for no media optionsIfsException - 13804: if the operation failspublic RandomAccessDriver getRandomAccessorDriver(S_MediaCustom media, String address) throws IfsException
getRandomAccessorDriver in interface CustomMediaDrivermedia - the MediaCustom instanceaddress - the content addressIfsException - 13805: if the operation failspublic void destroyContent(S_MediaCustom media, String address, Long cid, AttributeValue[] mediaOptions) throws IfsException
destroyContent in interface CustomMediaDrivermedia - the MediaCustom instanceaddress - the content addresscid - the content idmediaOptions - a set of name/value pairs whose semantics are
                      determined by the CustomMediaDriver implementation,
                      or null for no media optionsIfsException - 13806: if the operation failsCopyright © 2025. All rights reserved.