|
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_R_ContactInterest
org.compiere.model.MContactInterest
public class MContactInterest
Business Partner Contact Interest. Compiere complies with spam laws. If the opt out date is set (by the user), you should not subscribe the user again. Internally, the isActive flag is used.
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_R_ContactInterest |
|---|
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 | |
|---|---|
MContactInterest(Ctx ctx,
int R_InterestArea_ID,
int AD_User_ID,
boolean isActive,
String trxName)
Constructor |
|
MContactInterest(Ctx ctx,
int ignored,
String trxName)
Persistency Constructor |
|
MContactInterest(Ctx ctx,
ResultSet rs,
String trxName)
Create & Load existing Persistent Object. |
|
| Method Summary | |
|---|---|
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
static MContactInterest |
get(Ctx ctx,
int R_InterestArea_ID,
int AD_User_ID,
boolean isActive,
String trxName)
Get Contact Interest |
boolean |
isOptOut()
Is Opted Out |
boolean |
isSubscribed()
Is Subscribed. |
static void |
main(String[] args)
|
void |
setOptOutDate(Timestamp OptOutDate)
Set OptOut Date User action only. |
void |
setSubscribeDate(Timestamp SubscribeDate)
Set Subscribe Date User action only. |
void |
subscribe()
Subscribe User action only. |
void |
subscribe(boolean subscribe)
Subscribe. |
String |
toString()
String representation |
void |
unsubscribe()
Unsubscribe. |
| Methods inherited from class org.compiere.model.X_R_ContactInterest |
|---|
get_AccessLevel, getAD_User_ID, getKeyNamePair, getOptOutDate, getR_InterestArea_ID, getRemote_Addr, getRemote_Host, getSubscribeDate, initPO, setAD_User_ID, setR_InterestArea_ID, setRemote_Addr, setRemote_Host |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MContactInterest(Ctx ctx,
int ignored,
String trxName)
ctx - contextignored - ignoredtrxName - transaction
public MContactInterest(Ctx ctx,
int R_InterestArea_ID,
int AD_User_ID,
boolean isActive,
String trxName)
ctx - contextR_InterestArea_ID - interest areaAD_User_ID - partner contactisActive - create as activetrxName - transaction
public MContactInterest(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - load from current result set position (no navigation, not closed)trxName - transaction| Method Detail |
|---|
public static MContactInterest get(Ctx ctx,
int R_InterestArea_ID,
int AD_User_ID,
boolean isActive,
String trxName)
ctx - contextR_InterestArea_ID - interest aresAD_User_ID - userisActive - create as activetrxName - transaction
public void setOptOutDate(Timestamp OptOutDate)
setOptOutDate in class X_R_ContactInterestOptOutDate - datepublic void unsubscribe()
public boolean isOptOut()
public void setSubscribeDate(Timestamp SubscribeDate)
setSubscribeDate in class X_R_ContactInterestSubscribeDate - datepublic void subscribe()
public void subscribe(boolean subscribe)
subscribe - subscribepublic boolean isSubscribed()
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
public String toString()
toString in class X_R_ContactInterestpublic static void main(String[] args)
args - ignored
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||