|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.taglibs.rdc.sampleapps.musicstore.MusicStoreAppBean
public class MusicStoreAppBean
The application bean for the sample music store application
Field Summary | |
---|---|
static java.lang.String |
GUI_APP
GUI channel |
static java.lang.String |
SESSION_KEY
The key used to save application state in the HttpSession |
static java.lang.String |
VOICE_APP
Voice channel |
static java.lang.String |
VOICE_DBG
Voice Debug channel |
Constructor Summary | |
---|---|
MusicStoreAppBean(java.lang.String subscriptionId)
MusicStoreAppBean Constructor |
Method Summary | |
---|---|
MusicAlbum[] |
getAlbums()
Get the array of albums that are the result set of the user's current query |
Cart |
getCart()
Get the shopping cart object for this session |
java.lang.String |
getChannel()
Get the application channel |
java.lang.String |
getCheckoutPrompt()
Get the check out prompt |
java.lang.String |
getChoice()
Get the readable query string |
MusicAlbum |
getCurrentAlbum()
Get the album the user is currently interacting with |
java.lang.String |
getErrorDescription()
Get the error description string |
HTMLMenuLinks |
getMenuLinks()
Get the menu links object |
AmazonMenuTemplate.AmazonMenuResult |
getMenuResult()
Get the user's main menu selection |
MusicStore |
getMusicStore()
Get the music store object |
SelectOne.Options |
getOptions()
Get the result set of the user's query as <rdc:select1> options |
ProactiveHelp |
getProactiveHelp()
Get the proactive help bean |
java.lang.String |
getSESSION_KEY()
|
void |
setAlbums(MusicAlbum[] albums)
Set the result set of the user's current query |
void |
setCart(Cart cart)
Set the shopping cart object for this session |
void |
setChannel(java.lang.String channel)
Set the channel of the application |
void |
setCheckoutPrompt(java.lang.String checkoutPrompt)
Set the check out prompt |
void |
setChoice(java.lang.String choice)
Set the readable query string |
void |
setCurrentAlbum(MusicAlbum currentAlbum)
Set the album the user is currently interacting with |
void |
setErrorDescription(java.lang.String errorDescription)
Set the error description string |
void |
setMenuLinks(HTMLMenuLinks menuLinks)
Set the menuLinks bean for Links generation |
void |
setMenuResult(AmazonMenuTemplate.AmazonMenuResult menuResult)
Set the user's main menu selection data |
void |
setOptions(SelectOne.Options options)
Set the result set of the user's query as <rdc:select1> options |
void |
setProactiveHelp(ProactiveHelp proactiveHelp)
Set the proactive help bean for this session |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SESSION_KEY
public static final java.lang.String GUI_APP
public static final java.lang.String VOICE_APP
public static final java.lang.String VOICE_DBG
Constructor Detail |
---|
public MusicStoreAppBean(java.lang.String subscriptionId)
Method Detail |
---|
public java.lang.String getSESSION_KEY()
public AmazonMenuTemplate.AmazonMenuResult getMenuResult()
public MusicAlbum[] getAlbums()
public java.lang.String getChoice()
public SelectOne.Options getOptions()
public MusicAlbum getCurrentAlbum()
public Cart getCart()
public java.lang.String getErrorDescription()
public ProactiveHelp getProactiveHelp()
public java.lang.String getCheckoutPrompt()
public MusicStore getMusicStore()
public HTMLMenuLinks getMenuLinks()
public java.lang.String getChannel()
public void setMenuResult(AmazonMenuTemplate.AmazonMenuResult menuResult)
menuResult
- the AmazonMenuTemplate.AmazonMenuResult object
corresponding to the main menu selectionpublic void setAlbums(MusicAlbum[] albums)
albums
- The array of albums that are the result set of the
user's current querypublic void setChoice(java.lang.String choice)
choice
- the readable query stringpublic void setOptions(SelectOne.Options options)
options
- the SelectOne.Options objectpublic void setCurrentAlbum(MusicAlbum currentAlbum)
currentAlbum
- the MusicAlbum the user is currently
interacting withpublic void setCart(Cart cart)
cart
- the shopping cart objectpublic void setErrorDescription(java.lang.String errorDescription)
errorDescription
- the error description stringpublic void setProactiveHelp(ProactiveHelp proactiveHelp)
proactiveHelp
- the proactive help beanpublic void setCheckoutPrompt(java.lang.String checkoutPrompt)
checkoutPrompt
- the check out promptpublic void setMenuLinks(HTMLMenuLinks menuLinks)
menuLinks
- The menuLinks to set.public void setChannel(java.lang.String channel)
channel
- the application channel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |