Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.rt.hook
Interface FolderSetupAction

All Known Implementing Classes:
oracle.panama.rt.hook.FolderRendererPolicy.FolderSetupActionImpl

public interface FolderSetupAction

Method Summary
 java.lang.String getAudioURL(ServiceContext context)
          Get the audio file to use for this action
 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 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(ServiceContext context)
          Is the action enabled in system config

 

Method Detail

getAudioURL

public java.lang.String getAudioURL(ServiceContext context)
Get the audio file to use for this action
Returns:
String URL/path to audio file

getIconURL

public java.lang.String getIconURL(ServiceContext context)
Get the icon file to use for this action
Returns:
String URL/path to icon file

getURL

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

getLabel

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

isActive

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

isEnabled

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

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.