|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.PO
org.compiere.model.X_CM_Ad
org.compiere.model.MAd
public class MAd
Container Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MAd(Properties ctx,
int CM_Ad_ID,
String trxName)
Standard constructor for AD |
|
| Method Summary | |
|---|---|
void |
addClick(HttpServletRequest request)
Add Click Record to Log |
void |
addImpression()
Adds an Impression to the current Ad We will deactivate the Ad as soon as one of the Max Criterias are fullfiled |
int |
getCurrentImpression()
Get's the relevant current Impression value which is Actual+Start |
static MAd |
getNext(Properties ctx,
int CM_Ad_Cat_ID,
String trxName)
Get Next of this Category, this Procedure will return the next Ad in a category and expire it if needed |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public MAd(Properties ctx,
int CM_Ad_ID,
String trxName)
ctx - ContextCM_Ad_ID - IDtrxName - Transaction| Method Detail |
|---|
public int getCurrentImpression()
public void addImpression()
public static MAd getNext(Properties ctx,
int CM_Ad_Cat_ID,
String trxName)
ctx - ContextCM_Ad_Cat_ID - CategorytrxName - Transaction
public void addClick(HttpServletRequest request)
request - ServletReqeust
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||