|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.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.X_CM_Ad |
|---|
accessLevel, Model, Table_ID, Table_Name, updatedMS |
| Fields inherited from class org.compiere.framework.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MAd(Ctx ctx,
int CM_Ad_ID,
String trxName)
Standard constructor for AD |
|
MAd(Ctx ctx,
ResultSet rs,
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(Ctx 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 org.compiere.model.X_CM_Ad |
|---|
get_AccessLevel, getActualClick, getActualImpression, getCM_Ad_Cat_ID, getCM_Ad_ID, getCM_Media_ID, getContentHTML, getDescription, getEndDate, getHelp, getKeyNamePair, getMaxClick, getMaxImpression, getName, getStartDate, getStartImpression, getTarget_Frame, getTargetURL, initPO, isAdFlag, isLogged, setActualClick, setActualImpression, setCM_Ad_Cat_ID, setCM_Ad_ID, setCM_Media_ID, setContentHTML, setDescription, setEndDate, setHelp, setIsAdFlag, setIsLogged, setMaxClick, setMaxImpression, setName, setStartDate, setStartImpression, setTarget_Frame, setTargetURL, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MAd(Ctx ctx,
int CM_Ad_ID,
String trxName)
ctx - ContextCM_Ad_ID - IDtrxName - Transaction
public MAd(Ctx ctx,
ResultSet rs,
String trxName)
ctx - Contextrs - ResultSettrxName - Transaction| Method Detail |
|---|
public int getCurrentImpression()
public void addImpression()
public static MAd getNext(Ctx ctx,
int CM_Ad_Cat_ID,
String trxName)
ctx - ContextCM_Ad_Cat_ID - CategorytrxName - Transaction
public void addClick(HttpServletRequest request)
request - ServletReqeust
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||