|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.panama.rt.hook.FolderRendererPolicy
The default implementation of the FolderRendererHook.
Nested Class Summary | |
class |
FolderRendererPolicy.PapzSetupActionImpl Special version of setup action for actions that will invoke PapzLite Constructs the correct URL |
Field Summary | |
static java.lang.String |
BOTTOMIMAGE |
static java.lang.String |
LOGO_IMAGE |
static java.lang.String |
SETUP_IMAGE |
static java.lang.String |
TOPIMAGE |
Method Summary | |
org.w3c.dom.Element |
createServiceMenu(ServiceContext serviceContext) Create the service menu, using a MobilXML SimpleMenu tag. |
org.w3c.dom.Element |
createServiceMenuItem(ServiceContext context, org.w3c.dom.Element parent, Service currService) Create a service menu item, using a MobilXML SimpleMenuItem tag. |
org.w3c.dom.Element |
createVisualDeviceTitle(ServiceContext context) Get the MobileXML for the title |
org.w3c.dom.Element |
createVoiceServiceMenuItem(ServiceContext context, org.w3c.dom.Element parent, Service currService) |
org.w3c.dom.Element |
getBody(ServiceContext context) Helper to create the folder body |
Service[] |
getCurrentServices(ServiceContext context) Get all visible services in the given folder. |
User |
getCurrentUser(ServiceContext context) Convenience method for getting the current user given a Service Context This method should probably move to the ServiceContext interface |
FolderSetupAction |
getEditPresetsAction(ServiceContext context) |
FolderSetupAction |
getEditServicesAction(ServiceContext context) |
FolderSetupAction |
getEditUserInfoAction(ServiceContext context) |
FolderSetupAction |
getEditUserProfileAction(ServiceContext context) |
java.lang.String |
getFolderName(ServiceContext context) Get the 'canonical' title to use for the current folder. |
org.w3c.dom.Element |
getFooter(ServiceContext context) Add a footer with setup buttons etc. |
org.w3c.dom.Element |
getFooter(ServiceContext context, boolean addSetupMenu) Add a footer with setup buttons etc. |
org.w3c.dom.Element |
getHeader(ServiceContext context) Get the MobileXML for the header of the current folder |
org.w3c.dom.Element |
getHeader(ServiceContext context, java.lang.String headerName, java.lang.String imageName) Get the MobileXML for the header of the current folder, using the specified title and image |
static FolderRendererPolicy |
getInstance() The "thread-safe" singleton getter |
FolderSetupAction |
getLoginAction(ServiceContext context) |
FolderSetupAction |
getLogoffAction(ServiceContext context) |
FolderSetupAction |
getRegisterAction(ServiceContext context) |
org.w3c.dom.Element |
invoke(Folder folder, ServiceContext context) Invoke the renderer using the service context. |
org.w3c.dom.Element |
invokeOld(Folder folder, ServiceContext context) Invoke the renderer using the service context. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String BOTTOMIMAGE
public static java.lang.String LOGO_IMAGE
public static java.lang.String SETUP_IMAGE
public static java.lang.String TOPIMAGE
Method Detail |
public org.w3c.dom.Element createServiceMenu(ServiceContext serviceContext)
createServiceMenuItem
public org.w3c.dom.Element createServiceMenuItem(ServiceContext context, org.w3c.dom.Element parent, Service currService)
createServiceMenu
public org.w3c.dom.Element createVisualDeviceTitle(ServiceContext context)
public org.w3c.dom.Element createVoiceServiceMenuItem(ServiceContext context, org.w3c.dom.Element parent, Service currService)
public org.w3c.dom.Element getBody(ServiceContext context)
public Service[] getCurrentServices(ServiceContext context)
public User getCurrentUser(ServiceContext context)
public FolderSetupAction getEditPresetsAction(ServiceContext context)
public FolderSetupAction getEditServicesAction(ServiceContext context)
public FolderSetupAction getEditUserInfoAction(ServiceContext context)
public FolderSetupAction getEditUserProfileAction(ServiceContext context)
public java.lang.String getFolderName(ServiceContext context)
public org.w3c.dom.Element getFooter(ServiceContext context)
public org.w3c.dom.Element getFooter(ServiceContext context, boolean addSetupMenu)
public org.w3c.dom.Element getHeader(ServiceContext context)
public org.w3c.dom.Element getHeader(ServiceContext context, java.lang.String headerName, java.lang.String imageName)
public static FolderRendererPolicy getInstance()
public FolderSetupAction getLoginAction(ServiceContext context)
public FolderSetupAction getLogoffAction(ServiceContext context)
public FolderSetupAction getRegisterAction(ServiceContext context)
public org.w3c.dom.Element invoke(Folder folder, ServiceContext context) throws PanamaRuntimeException
invoke
in interface FolderRendererHook
folder
- the Folder
to be renderedcontext
- the ServiceContext
that contains all parameters<{PanamaRuntimeException}>
PanamaRuntimeException
public org.w3c.dom.Element invokeOld(Folder folder, ServiceContext context) throws PanamaRuntimeException
folder
- the Folder
to be renderedcontext
- the ServiceContext
that contains all parameters<{PanamaRuntimeException}>
PanamaRuntimeException
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |