|
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_AD_Client
org.compiere.model.MClient
public class MClient
Client Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_AD_Client |
|---|
AD_LANGUAGE_AD_Reference_ID, AUTOARCHIVE_AD_Reference_ID, AUTOARCHIVE_AllReportsDocuments, AUTOARCHIVE_Documents, AUTOARCHIVE_ExternalDocuments, AUTOARCHIVE_None, MMPOLICY_AD_Reference_ID, MMPOLICY_FiFo, MMPOLICY_LiFo |
| 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 | |
|---|---|
MClient(Properties ctx,
int AD_Client_ID,
boolean createNew,
String trxName)
Standard Constructor |
|
MClient(Properties ctx,
int AD_Client_ID,
String trxName)
Standard Constructor |
|
MClient(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
MClient(Properties ctx,
String trxName)
Simplified Constructor |
|
| Method Summary | |
|---|---|
EMail |
createEMail(MUser from,
MUser to,
String subject,
String message)
Create EMail from User |
EMail |
createEMail(MUser from,
MUser to,
String subject,
String message,
boolean html)
Create EMail from User |
EMail |
createEMail(MUser from,
String to,
String subject,
String message)
Create EMail from User |
EMail |
createEMail(MUser from,
String to,
String subject,
String message,
boolean html)
Create EMail from User |
EMail |
createEMail(String to,
String subject,
String message)
Create EMail from Request User |
EMail |
createEMail(String to,
String subject,
String message,
boolean html)
Create EMail from Request User |
static MClient |
get(Properties ctx)
Get optionally cached client |
static MClient |
get(Properties ctx,
int AD_Client_ID)
Get client |
MAcctSchema |
getAcctSchema()
Get Primary Accounting Schema |
String |
getAD_Language()
Get AD_Language |
static MClient[] |
getAll(Properties ctx)
Get all clients |
int |
getC_Currency_ID()
Get Default Accounting Currency |
MClientInfo |
getInfo()
Get Client Info |
Language |
getLanguage()
Get Language |
Locale |
getLocale()
Get Locale |
int |
getSetup_AD_Tree_Account_ID()
Get AD_Tree_Account_ID created in setup client info |
String |
getSMTPHost()
Get SMTP Host |
boolean |
isAutoArchive()
Is Auto Archive on |
boolean |
isAutoUpdateTrl(String TableName)
Update Trl Tables automatically? |
boolean |
save()
Save |
boolean |
sendEMail(int AD_User_ID,
String subject,
String message,
File attachment)
Send EMail from Request User - with trace |
boolean |
sendEMail(MUser from,
MUser to,
String subject,
String message,
File attachment)
Send EMail from User |
boolean |
sendEMail(MUser from,
MUser to,
String subject,
String message,
File attachment,
boolean isHtml)
Send EMail from User |
boolean |
sendEMail(String to,
String subject,
String message,
File attachment)
Send EMail from Request User - no trace |
boolean |
sendEMail(String to,
String subject,
String message,
File attachment,
boolean html)
Send EMail from Request User - no trace |
boolean |
sendEMailAttachments(int AD_User_ID,
String subject,
String message,
Collection<File> attachments)
Send EMail from Request User - with trace |
boolean |
sendEMailAttachments(int AD_User_ID,
String subject,
String message,
Collection<File> attachments,
boolean html)
Send EMail from Request User - with trace |
boolean |
sendEmailNow(MUser from,
MUser to,
EMail email)
Send Email Now |
void |
setAD_Language(String AD_Language)
Set AD_Language |
boolean |
setupClientInfo(String language)
Create Trees and Setup Client Info |
String |
testEMail()
Test EMail |
String |
toString()
String Representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MClient(Properties ctx,
int AD_Client_ID,
boolean createNew,
String trxName)
ctx - contextAD_Client_ID - idcreateNew - create newtrxName - transaction
public MClient(Properties ctx,
int AD_Client_ID,
String trxName)
ctx - contextAD_Client_ID - idtrxName - transaction
public MClient(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction
public MClient(Properties ctx,
String trxName)
ctx - contexttrxName - transaction| Method Detail |
|---|
public static MClient get(Properties ctx,
int AD_Client_ID)
ctx - contextAD_Client_ID - id
public static MClient[] getAll(Properties ctx)
ctx - context
public static MClient get(Properties ctx)
ctx - context
public String getSMTPHost()
getSMTPHost in interface I_AD_ClientgetSMTPHost in class X_AD_Clientpublic MClientInfo getInfo()
public String toString()
toString in class X_AD_Clientpublic int getC_Currency_ID()
public Language getLanguage()
public void setAD_Language(String AD_Language)
setAD_Language in interface I_AD_ClientsetAD_Language in class X_AD_ClientAD_Language - new languagepublic String getAD_Language()
getAD_Language in interface I_AD_ClientgetAD_Language in class X_AD_Clientpublic Locale getLocale()
public boolean setupClientInfo(String language)
language - language
public int getSetup_AD_Tree_Account_ID()
public boolean isAutoArchive()
public boolean isAutoUpdateTrl(String TableName)
TableName - table name
public MAcctSchema getAcctSchema()
public boolean save()
save in interface I_Persistentsave in class POpublic String testEMail()
public boolean sendEMail(int AD_User_ID,
String subject,
String message,
File attachment)
AD_User_ID - recipientsubject - subjectmessage - messageattachment - optional attachment
public boolean sendEMailAttachments(int AD_User_ID,
String subject,
String message,
Collection<File> attachments)
AD_User_ID - recipientsubject - subjectmessage - messageattachment - optional collection of attachments
public boolean sendEMailAttachments(int AD_User_ID,
String subject,
String message,
Collection<File> attachments,
boolean html)
AD_User_ID - recipientsubject - subjectmessage - messageattachment - optional collection of attachmentshtml -
public boolean sendEMail(String to,
String subject,
String message,
File attachment)
to - recipient email addresssubject - subjectmessage - messageattachment - optional attachment
public boolean sendEMail(String to,
String subject,
String message,
File attachment,
boolean html)
to - recipient email addresssubject - subjectmessage - messageattachment - optional attachmenthtml -
public boolean sendEMail(MUser from,
MUser to,
String subject,
String message,
File attachment)
from - senderto - recipientsubject - subjectmessage - messageattachment - optional attachment
public boolean sendEMail(MUser from,
MUser to,
String subject,
String message,
File attachment,
boolean isHtml)
from - senderto - recipientsubject - subjectmessage - messageattachment - optional attachmentisHtml -
public boolean sendEmailNow(MUser from,
MUser to,
EMail email)
from - optional from userto - to useremail - email
public EMail createEMail(String to,
String subject,
String message)
to - recipientsubject - sunjectmessage - nessage
public EMail createEMail(String to,
String subject,
String message,
boolean html)
to - recipientsubject - sunjectmessage - nessagehtml -
public EMail createEMail(MUser from,
MUser to,
String subject,
String message)
from - optional senderto - recipientsubject - sunjectmessage - nessage
public EMail createEMail(MUser from,
MUser to,
String subject,
String message,
boolean html)
from - optional senderto - recipientsubject - sunjectmessage - nessagehtml -
public EMail createEMail(MUser from,
String to,
String subject,
String message)
from - optional senderto - recipientsubject - sunjectmessage - nessage
public EMail createEMail(MUser from,
String to,
String subject,
String message,
boolean html)
from - optional senderto - recipientsubject - sunjectmessage - nessagehtml -
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||