"WEBNMS_5 API Docs"

com.adventnet.nms.jsp
Class LoadClassBean

java.lang.Object
  extended by com.adventnet.nms.jsp.LoadClassBean

public class LoadClassBean
extends java.lang.Object


Constructor Summary
LoadClassBean()
           
 
Method Summary
 java.util.Hashtable getHashTable(javax.servlet.http.HttpServletRequest req)
          Returns the all request parameters and their values in an java.util.Hashtable object if the parameter value is null ,it is replaced with an hyphen
 java.util.Vector getKeys(java.util.Hashtable prop)
          Returns names of the parameters as a java.util.Vector object if the parameter value is null, it is replaced with an hyphen
 java.util.Vector getKeys(java.util.Properties prop)
          Returns names of the parameters as a java.util.Properties object
 java.util.Vector getOrderData(java.util.Vector preference, java.util.Vector data)
          Used to get the order data
 java.util.Vector getPreferenceOrder(java.lang.String showorder)
          Returns the preference order as a java.util.Vector object
 java.util.Properties getProperty(javax.servlet.http.HttpServletRequest req)
          Populates and returns the java.util.Properties object with all the request parameters
 java.util.Properties getProperty(javax.servlet.http.HttpServletRequest req, java.util.Hashtable params)
          Populates and returns the java.util.Properties object with all the request parameters
 java.util.Properties getProperty(java.lang.String buffer)
          Returns the attributes and values as java.util.Properties object
 java.util.Vector getValues(java.util.Properties prop)
          Returns names of the parameters as a java.util.Vector object
 void init(javax.servlet.http.HttpServletRequest req)
          To store the login time
 java.util.Hashtable validate(java.util.Hashtable prop)
          Used to validate the request parameters.
 java.util.Properties validate(java.util.Properties prop)
          Used to validate the request parameters.
 java.util.Vector validate(java.util.Vector prop)
          Used to validate the request parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadClassBean

public LoadClassBean()
Method Detail

init

public void init(javax.servlet.http.HttpServletRequest req)
To store the login time

Parameters:
req - the javax.servlet.HttpServletRequest object

getProperty

public java.util.Properties getProperty(javax.servlet.http.HttpServletRequest req)
Populates and returns the java.util.Properties object with all the request parameters

Parameters:
req - the javax.servlet.HttpServletRequest object
Returns:
java.util.Properties object containing the request parameter names and their values

getProperty

public java.util.Properties getProperty(javax.servlet.http.HttpServletRequest req,
                                        java.util.Hashtable params)
Populates and returns the java.util.Properties object with all the request parameters

Parameters:
req - the javax.servlet.HttpServletRequest object
params - the java.util.Hashtable object
Returns:
the java.util.Properties object

validate

public java.util.Properties validate(java.util.Properties prop)
Used to validate the request parameters. if the parameter value is null or an empty string,it is replaced with an hyphen

Parameters:
prop - the java.util.Properties object
Returns:
the java.util.Properties object

validate

public java.util.Hashtable validate(java.util.Hashtable prop)
Used to validate the request parameters. if the parameter value is null,it is replaced with an hyphen

Parameters:
prop - the java.util.Hashtable object containing all the parameter names and their values
Returns:
the java.util.Hashtable object

getHashTable

public java.util.Hashtable getHashTable(javax.servlet.http.HttpServletRequest req)
Returns the all request parameters and their values in an java.util.Hashtable object if the parameter value is null ,it is replaced with an hyphen

Parameters:
req - the javax.servlet.HttpServletRequest object
Returns:
the java.util.Hashtable object

validate

public java.util.Vector validate(java.util.Vector prop)
Used to validate the request parameters. if the parameter value is null, it is replaced with an hyphen

Parameters:
prop - the java.util.Vector object
Returns:
the java.util.Vector object

getKeys

public java.util.Vector getKeys(java.util.Hashtable prop)
Returns names of the parameters as a java.util.Vector object if the parameter value is null, it is replaced with an hyphen

Parameters:
prop - the java.util.Hashtable object
Returns:
the java.util.Vector object

getKeys

public java.util.Vector getKeys(java.util.Properties prop)
Returns names of the parameters as a java.util.Properties object

Parameters:
prop - the java.util.Properties object
Returns:
the java.util.Vector object

getValues

public java.util.Vector getValues(java.util.Properties prop)
Returns names of the parameters as a java.util.Vector object

Parameters:
prop - the java.util.Properties object
Returns:
the java.util.Vector object

getProperty

public java.util.Properties getProperty(java.lang.String buffer)
Returns the attributes and values as java.util.Properties object

Parameters:
buffer - java.lang.String object which contains the attributes and values
Returns:
java.util.Properties object

getPreferenceOrder

public java.util.Vector getPreferenceOrder(java.lang.String showorder)
Returns the preference order as a java.util.Vector object

Parameters:
showorder - the java.lang.String object
Returns:
a java.util.Vector object containing the preference order

getOrderData

public java.util.Vector getOrderData(java.util.Vector preference,
                                     java.util.Vector data)
Used to get the order data

Parameters:
preference - the java.util.Vector object containing the preferences
data - the java.util.Vector object containing the data
Returns:
the java.util.Vector object containg the order data

"WEBNMS_5 API Docs"

Copyright © 2011 ZOHO Corp., All Rights Reserved.