|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--psoft.hsphere.promotion.AbstractPromoDataStorage
|
+--psoft.hsphere.promotion.SimplePromo
| Field Summary |
| Fields inherited from class psoft.hsphere.promotion.AbstractPromoDataStorage |
data, promoId |
| Constructor Summary | |
SimplePromo(long promoId)
|
|
SimplePromo(long promoId,
java.util.Hashtable data)
|
|
| Method Summary | |
int |
getDataType()
|
boolean |
isPromoValid(psoft.hsphere.Account a)
This method is called by a Promo instance in order to check if a promotion is valid for a passed account |
| Methods inherited from class psoft.hsphere.promotion.AbstractPromoDataStorage |
delete, getData, updateData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface psoft.hsphere.promotion.PromoValidator |
delete, updateData |
| Constructor Detail |
public SimplePromo(long promoId)
throws java.lang.Exception
public SimplePromo(long promoId,
java.util.Hashtable data)
throws java.lang.Exception
| Method Detail |
public int getDataType()
getDataType in class AbstractPromoDataStoragepublic boolean isPromoValid(psoft.hsphere.Account a)
PromoValidator
isPromoValid in interface PromoValidator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||