oracle.clex.process.jsp
Class GetInfoBean

java.lang.Object
  |
  +--oracle.clex.process.jsp.GetInfoBean
All Implemented Interfaces:
java.io.Serializable

public class GetInfoBean
extends java.lang.Object
implements java.io.Serializable

Called by JSP pages to get an Object from the InfoTable. The session object must be set in the GetInfoBean as noted below from the JSP page.

The syntax for calling this bean from the JSP page follows:

   <jsp:useBean id="myBean" class="oracle.clex.process.jsp.GetInfoBean"/>
   <jsp:setProperty name="myBean" property="session" value="<%=session %>"/>
 

Make the following call to get an Object from the info table:

  <% Vector departments = myBean.getVectorInfo("departments"); %>
 

See Also:
Serialized Form

Field Summary
protected  javax.servlet.http.HttpSession session
           
 
Constructor Summary
GetInfoBean()
           
 
Method Summary
 java.lang.Boolean getBooleanInfo(java.lang.String infoName)
          Return a String from the InfoTable from a given key.
 java.lang.Double getDoubleInfo(java.lang.String infoName)
          Return a Double from the InfoTable from a given key.
 java.util.Hashtable getHashtableInfo(java.lang.String infoName)
          Return a Hashtable from the InfoTable from a given key.
 java.lang.Object getInfo(java.lang.String infoName)
          Return an Object from the InfoTable from a given key.
 void GetInfoBean(javax.servlet.http.HttpSession session)
          Set the HttpSession if this class used by another class and not another bean.
 java.lang.Integer getIntegerInfo(java.lang.String infoName)
          Return a String from the InfoTable from a given key.
 java.lang.String getPageId()
          Do the work required to get the PageId from the current service
 java.lang.String getStringInfo(java.lang.String infoName)
          Return a String from the InfoTable from a given key.
 java.util.Vector getVectorInfo(java.lang.String infoName)
          Return a Vector from the InfoTable from a given key.
 void setSession(javax.servlet.http.HttpSession session)
          Set the HttpSession passed by the JSP page with the useBean tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

session

protected javax.servlet.http.HttpSession session
Constructor Detail

GetInfoBean

public GetInfoBean()
Method Detail

GetInfoBean

public void GetInfoBean(javax.servlet.http.HttpSession session)
Set the HttpSession if this class used by another class and not another bean. This session object is used to retrieve the session's current Service.

setSession

public void setSession(javax.servlet.http.HttpSession session)
Set the HttpSession passed by the JSP page with the useBean tag. This session object is used to retrieve the session's current Service.

getInfo

public java.lang.Object getInfo(java.lang.String infoName)
Return an Object from the InfoTable from a given key.
Returns:
Object

getStringInfo

public java.lang.String getStringInfo(java.lang.String infoName)
Return a String from the InfoTable from a given key.
Returns:
java.lang.String

getVectorInfo

public java.util.Vector getVectorInfo(java.lang.String infoName)
Return a Vector from the InfoTable from a given key.
Returns:
java.util.Vector

getBooleanInfo

public java.lang.Boolean getBooleanInfo(java.lang.String infoName)
Return a String from the InfoTable from a given key.
Returns:
java.lang.String

getIntegerInfo

public java.lang.Integer getIntegerInfo(java.lang.String infoName)
Return a String from the InfoTable from a given key.
Returns:
java.lang.Integer

getDoubleInfo

public java.lang.Double getDoubleInfo(java.lang.String infoName)
Return a Double from the InfoTable from a given key.
Returns:
java.lang.Double

getHashtableInfo

public java.util.Hashtable getHashtableInfo(java.lang.String infoName)
Return a Hashtable from the InfoTable from a given key.
Returns:
java.util.Hashtable

getPageId

public java.lang.String getPageId()
Do the work required to get the PageId from the current service


Copyright © 2003 ORACLE Corp. All Rights Reserved.