|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.portlet.GenericPortlet
org.jafer.portlets.AbstractXSLTPortlet
org.jafer.portlets.XsltSearchPortlet
public class XsltSearchPortlet
Field Summary | |
---|---|
private java.util.TreeMap |
targets
|
Fields inherited from class org.jafer.portlets.AbstractXSLTPortlet |
---|
domBuilder |
Constructor Summary | |
---|---|
XsltSearchPortlet()
|
Method Summary | |
---|---|
private void |
addRegistryEntries()
|
private void |
addStaticEntries()
|
private void |
clearSession(javax.portlet.ActionRequest request)
clearSession clear session (and close JAFER bean connections) |
private void |
clearSession(javax.portlet.RenderRequest request)
clearSession clear session (and close JAFER bean connections) |
private Databean |
createBean(java.lang.String database)
createBean Creates a JAFER Z3950/SRW Bean |
private Databean |
getSession(javax.portlet.ActionRequest request,
java.lang.String databases)
getSession get sessions details as JAFER bean |
private Databean |
getSession(javax.portlet.RenderRequest request)
getSession get sessions details as JAFER bean |
protected java.lang.String[][] |
getVTableAction()
Get the Action dispatch table for processing JSR-168 action requests |
protected java.lang.String[][] |
getVTableEdit()
Get the Edit dispatch table for processing JSR-168 Edit requests |
protected java.lang.String[][] |
getVTableHelp()
Get the Help dispatch table for processing JSR-168 Help requests |
protected java.lang.String[][] |
getVTableView()
Get the View dispatch table for processing JSR-168 View requests |
void |
init()
|
org.w3c.dom.Document |
initSession(javax.portlet.RenderRequest request)
initSession view method for action=start |
void |
search(javax.portlet.ActionRequest request)
|
org.w3c.dom.Document |
setItem(javax.portlet.RenderRequest request)
setItem view method for action=item |
org.w3c.dom.Document |
setItemCloud(javax.portlet.RenderRequest request)
setItemCloud view method for action=list |
private void |
storeSession(javax.portlet.ActionRequest request,
Databean bean)
storeSession Stores session details as JAFER bean |
private void |
storeSession(javax.portlet.RenderRequest request,
Databean bean)
storeSession Stores session details as JAFER bean |
Methods inherited from class org.jafer.portlets.AbstractXSLTPortlet |
---|
doEdit, doHelp, doView, processAction |
Methods inherited from class javax.portlet.GenericPortlet |
---|
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, render |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.TreeMap targets
Constructor Detail |
---|
public XsltSearchPortlet()
Method Detail |
---|
private void addRegistryEntries()
private void addStaticEntries()
public void init() throws javax.portlet.PortletException
init
in class javax.portlet.GenericPortlet
javax.portlet.PortletException
private Databean createBean(java.lang.String database)
private void storeSession(javax.portlet.ActionRequest request, Databean bean)
request
- ActionRequestbean
- Databeanprivate void storeSession(javax.portlet.RenderRequest request, Databean bean)
request
- RenderRequestbean
- Databeanprivate Databean getSession(javax.portlet.ActionRequest request, java.lang.String databases)
request
- ActionRequest
private Databean getSession(javax.portlet.RenderRequest request)
request
- RenderRequest
private void clearSession(javax.portlet.ActionRequest request)
request
- ActionRequestprivate void clearSession(javax.portlet.RenderRequest request)
request
- RenderRequestprotected java.lang.String[][] getVTableAction()
AbstractXSLTPortlet
Each row should be of the form:
action parameter value, java method, next action parameter
where action parameter value is the Action parameter passed by the portlet (first row used if no Action parameter present)
java method is a java method in the class of the form public void ...(ActionRequest request) to handle the action
next action parameter is the Action parameter to set for the subsequent renderRequest
getVTableAction
in class AbstractXSLTPortlet
protected java.lang.String[][] getVTableView()
AbstractXSLTPortlet
Each row should be of the form:
action parameter value, java method, xslt path
where action parameter value is the Action parameter passed by the portlet (first row used if no Action parameter present)
java method is a java method in the class of the form public Document ...(RenderRequest request) throws PortletException which should return the required XML
xslt path is the relative path to an XSLT tranform to take the XML into a HTML fragment
getVTableView
in class AbstractXSLTPortlet
protected java.lang.String[][] getVTableHelp()
AbstractXSLTPortlet
Each row should be of the form:
action parameter value, java method, xslt path
where action parameter value is the Action parameter passed by the portlet (first row used if no Action parameter present)
java method is a java method in the class of the form public Document ...(RenderRequest request) throws PortletException which should return the required XML
xslt path is the relative path to an XSLT tranform to take the XML into a HTML fragment
getVTableHelp
in class AbstractXSLTPortlet
protected java.lang.String[][] getVTableEdit()
AbstractXSLTPortlet
Each row should be of the form:
action parameter value, java method, xslt path
where action parameter value is the Action parameter passed by the portlet (first row used if no Action parameter present)
java method is a java method in the class of the form public Document ...(RenderRequest request) throws PortletException which should return the required XML
xslt path is the relative path to an XSLT tranform to take the XML into a HTML fragment
getVTableEdit
in class AbstractXSLTPortlet
public void search(javax.portlet.ActionRequest request)
public org.w3c.dom.Document initSession(javax.portlet.RenderRequest request) throws javax.portlet.PortletException
request
- RenderRequest
javax.portlet.PortletException
public org.w3c.dom.Document setItem(javax.portlet.RenderRequest request) throws javax.portlet.PortletException
request
- RenderRequest
javax.portlet.PortletException
public org.w3c.dom.Document setItemCloud(javax.portlet.RenderRequest request) throws javax.portlet.PortletException
request
- RenderRequest
javax.portlet.PortletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |