oracle.panama.rt.hook
Class FolderRendererPolicy.PapzSetupActionImpl
java.lang.Object
|
+--oracle.panama.rt.hook.FolderRendererPolicy.FolderSetupActionImpl
|
+--oracle.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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
getURL
public java.lang.String getURL(ServiceContext context)
- Get the URL this action should invoke
- Overrides:
getURL
in class oracle.panama.rt.hook.FolderRendererPolicy.FolderSetupActionImpl
- Returns:
- String the URL to invoke for this action
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
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
- Following copied from interface:
oracle.panama.rt.hook.FolderSetupAction
- Parameters:
ServiceContext
- the current service context- Returns:
- String URL/path to audio file
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
- Following copied from interface:
oracle.panama.rt.hook.FolderSetupAction
- Parameters:
ServiceContext
- the current service context- Returns:
- String URL/path to icon 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
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.
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
getURL
public java.lang.String getURL()
isEnabled
public boolean isEnabled()
getLabel
public java.lang.String getLabel()
getName
public java.lang.String getName()