Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.rt.hook
Class FolderRendererPolicy.PapzSetupActionImpl

java.lang.Object
  extended byoracle.panama.rt.hook.FolderRendererPolicy.FolderSetupActionImpl
      extended byoracle.panama.rt.hook.FolderRendererPolicy.PapzSetupActionImpl

All Implemented Interfaces:
FolderSetupAction
Enclosing class:
FolderRendererPolicy

public class FolderRendererPolicy.PapzSetupActionImpl
extends oracle.panama.rt.hook.FolderRendererPolicy.FolderSetupActionImpl

Special version of setup action for actions that will invoke PapzLite Constructs the correct URL


Constructor Summary
FolderRendererPolicy.PapzSetupActionImpl(java.lang.String name, java.lang.String formOption, oracle.panama.rt.hook.FolderRendererPolicy.Predicate active)
FolderRendererPolicy.PapzSetupActionImpl(java.lang.String name, java.lang.String formOption, java.lang.String label, oracle.panama.rt.hook.FolderRendererPolicy.Predicate active)

Method Summary
java.lang.String getAudioURL(ServiceContext context)
Get the audio file to use for this action
org.w3c.dom.Element getElement(ServiceContext context)
Get the preferred element to display for this action If an icon is available, it will be used
java.lang.String getIconURL(ServiceContext context)
Get the icon file to use for this action
java.lang.String getLabel(ServiceContext context)
Get the localized label for this action
java.lang.String getName()
java.lang.String getURL()
java.lang.String getURL(ServiceContext context)
Get the URL this action should invoke
boolean isActive(ServiceContext context)
Is it appropriate to display this action for this user/folder
boolean isEnabled()
boolean isEnabled(ServiceContext context)
Is the action enabled in system config

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

FolderRendererPolicy.PapzSetupActionImpl

public FolderRendererPolicy.PapzSetupActionImpl(java.lang.String name,
                                                java.lang.String formOption,
                                                oracle.panama.rt.hook.FolderRendererPolicy.Predicate active)

FolderRendererPolicy.PapzSetupActionImpl

public FolderRendererPolicy.PapzSetupActionImpl(java.lang.String name,
                                                java.lang.String formOption,
                                                java.lang.String label,
                                                oracle.panama.rt.hook.FolderRendererPolicy.Predicate active)

Method Detail

getURL

public java.lang.String getURL(ServiceContext context)
Get the URL this action should invoke
Returns:
String the URL to invoke for this action

getAudioURL

public java.lang.String getAudioURL(ServiceContext context)
Description copied from interface: FolderSetupAction
Get the audio file to use for this action
Specified by:
getAudioURL in interface FolderSetupAction
Returns:
String URL/path to audio file

getElement

public org.w3c.dom.Element getElement(ServiceContext context)
Get the preferred element to display for this action If an icon is available, it will be used

getIconURL

public java.lang.String getIconURL(ServiceContext context)
Description copied from interface: FolderSetupAction
Get the icon file to use for this action
Specified by:
getIconURL in interface FolderSetupAction
Returns:
String URL/path to icon file

getLabel

public java.lang.String getLabel(ServiceContext context)
Get the localized label for this action
Specified by:
getLabel in interface FolderSetupAction
Returns:
String localized label, NULL if no label could be found for this action in the current resource bundle.

getName

public java.lang.String getName()

getURL

public java.lang.String getURL()

isActive

public boolean isActive(ServiceContext context)
Is it appropriate to display this action for this user/folder
Specified by:
isActive in interface FolderSetupAction
Returns:
boolean is current action active

isEnabled

public boolean isEnabled()

isEnabled

public boolean isEnabled(ServiceContext context)
Is the action enabled in system config
Specified by:
isEnabled in interface FolderSetupAction
Returns:
boolean is current action enabled

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.