|
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_W_Store
org.compiere.model.MStore
public class MStore
Web Store
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_W_Store |
|---|
accessLevel, Model, SALESREP_ID_AD_Reference_ID, 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 | |
|---|---|
MStore(Ctx ctx,
int W_Store_ID,
String trxName)
Standard Constructor |
|
MStore(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
beforeSave(boolean newRecord)
Before Save |
EMail |
createEMail(String toEMail,
String toName,
String subject,
String message)
Create EMail from Request User |
int |
createMessages()
Create (missing) Messages |
static MStore |
get(Ctx ctx,
int W_Store_ID)
Get WStore from Cache |
static MStore |
get(Ctx 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 toEMail,
String toName,
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, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MStore(Ctx ctx,
int W_Store_ID,
String trxName)
ctx - contextW_Store_ID - idtrxName - trx
public MStore(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - trx| Method Detail |
|---|
public static MStore get(Ctx ctx,
int W_Store_ID)
ctx - contextW_Store_ID - id
public static MStore get(Ctx 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 toEMail,
String toName,
String subject,
String message)
toEMail - recipientsubject - subjectmessage - message
public boolean sendEMail(String toEMail,
String toName,
String subject,
String message)
toEMail - 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()
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||