Oracle Content Management SDK

oracle.ifs.beans
Class InterMediaSourceDefinition

java.lang.Object
  |
  +--oracle.ifs.beans.LibraryObjectDefinition
        |
        +--oracle.ifs.beans.PublicObjectDefinition
              |
              +--oracle.ifs.beans.CategoryDefinition
                    |
                    +--oracle.ifs.beans.InterMediaSourceDefinition
Direct Known Subclasses:
InterMediaAudioDefinition, InterMediaImageDefinition, InterMediaMovieDefinition, InterMediaVideoDefinition

public class InterMediaSourceDefinition
extends CategoryDefinition

The InterMediaSourceDefinition class


Constructor Summary
InterMediaSourceDefinition(LibrarySession session)
          Constructs a InterMediaSourceDefinition explicitly capturing the session.
 
Method Summary
 java.lang.String getTextLanguage()
          gets the language of the text reader, if any
 java.io.Reader getTextReader()
          Gets the Reader from which text content will be loaded.
 void setTextLanguage(java.lang.String language)
          sets the language of the text reader, if any
 void setTextReader(java.io.Reader textReader)
          Sets the content Reader from which text content will be loaded/created.
 
Methods inherited from class oracle.ifs.beans.CategoryDefinition
addCategoryDefinition
 
Methods inherited from class oracle.ifs.beans.PublicObjectDefinition
getAddToFolderOption, getCategoryDefinitions, getContentQuotaCopyOption, getExplicitCreateDate, getExplicitLastModifyDate, getFreeIfLastFolderReferenceOption, getKeepLastModifierOption, getKeepLastModifyDateOption, getLockForSessionOption, getSecuringPublicObject, getUnlockForSessionOption, setAddToFolderOption, setExplicitCreateDate, setExplicitLastModifyDate, setFreeIfLastFolderReferenceOption, setKeepLastModifierOption, setKeepLastModifyDateOption, setLockForSessionOption, setSecuringPublicObject, setUnlockForSessionOption
 
Methods inherited from class oracle.ifs.beans.LibraryObjectDefinition
clone, getAttribute, getAttributes, getClassObject, getOption, getOptionKeys, removeAttribute, removeOption, setAttribute, setAttribute, setAttributeByUpperCaseName, setAttributes, setClassObject, setOption
 

Constructor Detail


InterMediaSourceDefinition

public InterMediaSourceDefinition(LibrarySession session)
                           throws IfsException
Constructs a InterMediaSourceDefinition explicitly capturing the session.
Parameters:
session - the session
Throws:
IfsException - if the operation fails
Method Detail

getTextReader

public java.io.Reader getTextReader()
                             throws IfsException
Gets the Reader from which text content will be loaded. or null if no Reader was specified. Text content is the text that will be indexed (as apposed to the actual rich-media content).
Returns:
the content Reader
Throws:
IfsException - if the operation fails.

setTextReader

public void setTextReader(java.io.Reader textReader)
                   throws IfsException
Sets the content Reader from which text content will be loaded/created. Text content is the text that will be indexed (as apposed to the actual rich-media content).
Parameters:
contentReader - an Reader from which content will be loaded/created.
Throws:
IfsException - if the operation fails.

getTextLanguage

public java.lang.String getTextLanguage()
                                 throws IfsException
gets the language of the text reader, if any
Returns:
language the language of the text reader.
Throws:
IfsException - if the operation fails

setTextLanguage

public void setTextLanguage(java.lang.String language)
                     throws IfsException
sets the language of the text reader, if any
Parameters:
language - the language of the text reader. Used for Oracle Text indexing
Throws:
IfsException - if the operation fails

Oracle Content Management SDK

(c) 2002 Copyright Oracle Corporation. All rights reserved.