Cisco Cisco Unified Customer Voice Portal 10.0(1) Developer's Guide

Page of 79
C
HAPTER 
10:
 
S
AY 
I
S
MART 
P
LUGINS
 
 
C
ISCO 
CVP V
OICE
XML 3.1
 
 
  
Programmer 
Guide 
 
getDisplayInformation()
 is abstract, meaning every Say It Smart plugin must implement this 
method. 
SayItSmartDependency getFormatDependencies() 
As described in the design section, a plugin’s output formats are dependent on the input formats. 
This method defines those relationships. The 
SayItSmartDependency
 object is used to specify 
which output formats listed in the 
getDisplayInformation()
 method apply to which input 
formats. 
The 
SayItSmartDependency
 class is defined generically with the concepts of “parents” and 
“children”. For this method, the parents are input formats and the children are output formats. 
The developer simply uses the 
addParent()
 methods to add a new input format and the output 
formats that depend on it. The 
addChild()
 and 
addChildren()
 methods are used to add 
additional output formats that are dependent on the specified parent. This is done until all input 
formats are listed and all the output formats that depend on it are listed. Remember that the 
names to use here are the real names, the display names are used only by Studio. All the input 
formats and output formats defined in the 
getDisplayInformation()
 method must be mapped 
here. 
This method throws a 
SayItSmartException
 if the 
SayItSmartDependency
 object is not 
configured correctly. 
getFormatDependencies()
 is abstract, meaning every Say It Smart plugin must implement this 
method. 
SayItSmartDependency getFilesetDependencies() 
This method is identical to the 
getFormatDependencies()
 method except it defines which 
filesets are dependent on which output formats. This method also returns a 
SayItSmartDependency
 object, except this time the “parent” is an output format, and the 
“child” is a fileset. Again, the real names of the output formats and filesets must be used here. 
All the output formats and filesets defined in the 
getDisplayInformation()
 method must be 
mapped here.
  
This method throws a 
SayItSmartException
 if the 
SayItSmartDependency
 object is not 
configured correctly. 
getFilesetDependencies()
 is abstract, meaning every Say It Smart plugin must implement 
this method. 
 
 
Copyright 2001 - 2005 Audium Corporation.  All Rights Reserved. 10/05
 
68