java.lang.Objectcom.ibm.commerce.negotiation.operation.Helper
Helper utility class.
Field Summary | |
static java.lang.String | COPYRIGHT Copyright statement. |
protected static java.util.Hashtable | storeIdTable For temporary storage of auction Store Id. |
Constructor Summary | |
Helper() Helper constructor comment. |
Method Summary | |
static BidDataLight | convertToBidDataLight(AutoBidAccessBean abAutoBid, BidAccessBean abBid) return a biddatalight object that has the contain of the given bid access bean |
static BidDataLight | convertToBidDataLight(BidAccessBean param) return a biddatalight object that has the contain of the given bid access bean |
static java.lang.String | getCatalogEntryType(java.lang.String catEntryId) get catelog entry type |
static java.lang.Integer | getStoreIdForAuction(java.lang.Long auctid) get store id in which the auction is created. |
static java.sql.Timestamp | getTimestampByYearMonth(java.lang.String year, java.lang.String month) Returns a timestamp object has the specified year and month, null if anything wrong. |
static boolean | isDigit(java.lang.String s) Determines if the input string represents a numeric value containing only characters 0 thru 9. |
static boolean | isSupportedLanguage(StoreAccessBean store, java.lang.Integer langid) To check if the specified language is supported by the store. |
static java.lang.String | parseNumeric(java.lang.String alphaNumStr) Parses the input string and remove all non-numeric characters. |
static java.util.Hashtable | parseNVPairs(java.lang.String str, java.lang.String del) Parse up a string that contains name/value pair |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
protected static java.util.Hashtable storeIdTable
Constructor Detail |
public Helper()
Method Detail |
public static BidDataLight convertToBidDataLight(BidAccessBean param)
public static BidDataLight convertToBidDataLight(AutoBidAccessBean abAutoBid, BidAccessBean abBid)
public static java.lang.String getCatalogEntryType(java.lang.String catEntryId) throws javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException
public static java.lang.Integer getStoreIdForAuction(java.lang.Long auctid)
public static java.sql.Timestamp getTimestampByYearMonth(java.lang.String year, java.lang.String month)
public static boolean isDigit(java.lang.String s)
public static boolean isSupportedLanguage(StoreAccessBean store, java.lang.Integer langid)
public static java.lang.String parseNumeric(java.lang.String alphaNumStr)
public static java.util.Hashtable parseNVPairs(java.lang.String str, java.lang.String del)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.