|
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_R_ContactInterest
org.compiere.model.MContactInterest
public class MContactInterest
Business Partner Contact Interest. Adempiere compies with spamming 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.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 |
| Fields inherited from interface org.compiere.model.I_R_ContactInterest |
|---|
accessLevel, COLUMNNAME_AD_User_ID, COLUMNNAME_OptOutDate, COLUMNNAME_R_InterestArea_ID, COLUMNNAME_SubscribeDate, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
MContactInterest(Properties ctx,
int R_InterestArea_ID,
int AD_User_ID,
boolean isActive,
String trxName)
Constructor |
|
MContactInterest(Properties ctx,
int ignored,
String trxName)
Persistency Constructor |
|
MContactInterest(Properties ctx,
ResultSet rs,
String trxName)
Create & Load existing Persistent Object. |
|
| Method Summary | |
|---|---|
static MContactInterest |
get(Properties 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, getAD_User, getKeyNamePair, getOptOutDate, getR_InterestArea_ID, getR_InterestArea, getSubscribeDate, initPO, setAD_User_ID, setR_InterestArea_ID |
| 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 MContactInterest(Properties ctx,
int ignored,
String trxName)
ctx - contextignored - ignoredtrxName - transaction
public MContactInterest(Properties 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(Properties 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(Properties 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 interface I_R_ContactInterestsetOptOutDate in class X_R_ContactInterestOptOutDate - datepublic void unsubscribe()
public boolean isOptOut()
public void setSubscribeDate(Timestamp SubscribeDate)
setSubscribeDate in interface I_R_ContactInterestsetSubscribeDate in class X_R_ContactInterestSubscribeDate - datepublic void subscribe()
public void subscribe(boolean subscribe)
subscribe - subscribepublic boolean isSubscribed()
public String toString()
toString in class X_R_ContactInterestpublic static void main(String[] args)
args - ignored
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||