|
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_W_Store
org.compiere.model.MStore
public class MStore
Web Store
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_W_Store |
|---|
SALESREP_ID_AD_Reference_ID |
| 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 | |
|---|---|
MStore(Properties ctx,
int W_Store_ID,
String trxName)
Standard Constructor |
|
MStore(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
beforeSave(boolean newRecord)
Before Save |
EMail |
createEMail(String to,
String subject,
String message)
Create EMail from Request User |
int |
createMessages()
Create (missing) Messages |
static MStore |
get(Properties ctx,
int W_Store_ID)
Get WStore from Cache |
static MStore |
get(Properties ctx,
String contextPath)
Get WStore from Cache |
static MStore[] |
getActive()
Get Active Web Stores |
MMailMsg |
getMailMsg(String MailMsgType)
Get Mail Msg and if not found create it |
MMailMsg[] |
getMailMsgs(boolean reload)
Get Messages |
static MStore[] |
getOfClient(MClient client)
Get active Web Stores of Clieny |
String |
getWebContext(boolean full)
Get Web Context |
boolean |
sendEMail(String to,
String subject,
String message)
Send EMail from WebStore User |
String |
testEMail()
Test WebStore EMail |
String |
toString()
String Representation |
| 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 MStore(Properties ctx,
int W_Store_ID,
String trxName)
ctx - contextW_Store_ID - idtrxName - trx
public MStore(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - trx| Method Detail |
|---|
public static MStore get(Properties ctx,
int W_Store_ID)
ctx - contextW_Store_ID - id
public static MStore get(Properties ctx,
String contextPath)
ctx - contextcontextPath - web server context path
public static MStore[] getOfClient(MClient client)
client - client
public static MStore[] getActive()
public String getWebContext(boolean full)
full - if true fully qualified
public String toString()
toString in class X_W_Storeprotected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
public EMail createEMail(String to,
String subject,
String message)
to - recipientsubject - sunjectmessage - nessage
public boolean sendEMail(String to,
String subject,
String message)
to - recipient email addresssubject - subjectmessage - message - add header & footer
public String testEMail()
public MMailMsg[] getMailMsgs(boolean reload)
reload - reload data
public MMailMsg getMailMsg(String MailMsgType)
MailMsgType - mail message type
public int createMessages()
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||