|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.negotiation.operation.Helper
Helper utility class.
Field Summary | |
protected static java.util.Hashtable |
storeIdTable
|
Constructor Summary | |
Helper()
Helper constructor comment. |
Method Summary | |
static com.ibm.commerce.negotiation.objimpl.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 |
protected static java.util.Hashtable storeIdTable
Constructor Detail |
public Helper()
Method Detail |
public static com.ibm.commerce.negotiation.objimpl.BidDataLight convertToBidDataLight(BidAccessBean param)
param
- com.ibm.commerce.negotiation.objects.BidAccessBeanpublic static java.lang.String getCatalogEntryType(java.lang.String catEntryId) throws javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException
catEntryId
- java.lang.Stringpublic static java.lang.Integer getStoreIdForAuction(java.lang.Long auctid)
auctid
- java.lang.Longpublic static java.sql.Timestamp getTimestampByYearMonth(java.lang.String year, java.lang.String month)
year
- String year 2001 is "2001"month
- String January is "01" or "1"public static boolean isDigit(java.lang.String s)
s
- java.lang.Stringpublic static boolean isSupportedLanguage(StoreAccessBean store, java.lang.Integer langid)
store
- com.ibm.commerce.common.objects.StoreAccessBeanlangid
- java.lang.Integerpublic static java.lang.String parseNumeric(java.lang.String alphaNumStr)
alphaNumStr
- String - AlphaNumeric string to be stripped of alpha characters.public static java.util.Hashtable parseNVPairs(java.lang.String str, java.lang.String del)
str
- java.lang.Stringdel
- java.lang.String : the delimiter , default is semicolon
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |