|
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_Session
org.compiere.model.MSession
public class MSession
Session Model. Maintained in AMenu.
| 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_AD_Session |
|---|
accessLevel, COLUMNNAME_AD_Role_ID, COLUMNNAME_AD_Session_ID, COLUMNNAME_Description, COLUMNNAME_LoginDate, COLUMNNAME_Processed, COLUMNNAME_Remote_Addr, COLUMNNAME_Remote_Host, COLUMNNAME_WebSession, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
MSession(Properties ctx,
int AD_Session_ID,
String trxName)
Standard Constructor |
|
MSession(Properties ctx,
ResultSet rs,
String trxName)
Load Costructor |
|
MSession(Properties ctx,
String trxName)
New (local) Constructor |
|
MSession(Properties ctx,
String Remote_Addr,
String Remote_Host,
String WebSession,
String trxName)
New (remote) Constructor |
|
| Method Summary | |
|---|---|
MChangeLog |
changeLog(String TrxName,
int AD_ChangeLog_ID,
int AD_Table_ID,
int AD_Column_ID,
int Record_ID,
int AD_Client_ID,
int AD_Org_ID,
Object OldValue,
Object NewValue)
Deprecated. |
MChangeLog |
changeLog(String TrxName,
int AD_ChangeLog_ID,
int AD_Table_ID,
int AD_Column_ID,
int Record_ID,
int AD_Client_ID,
int AD_Org_ID,
Object OldValue,
Object NewValue,
String event)
Create Change Log only if table is logged |
static MSession |
get(Properties ctx,
boolean createNew)
Get existing or create local session |
static MSession |
get(Properties ctx,
String Remote_Addr,
String Remote_Host,
String WebSession)
Get existing or create remote session |
boolean |
isWebStoreSession()
Is it a Web Store Session |
void |
logout()
Session Logout |
void |
setWebStoreSession(boolean webStoreSession)
Set Web Store Session |
String |
toString()
String Representation |
| Methods inherited from class org.compiere.model.X_AD_Session |
|---|
get_AccessLevel, getAD_Role_ID, getAD_Role, getAD_Session_ID, getDescription, getKeyNamePair, getLoginDate, getRemote_Addr, getRemote_Host, getWebSession, initPO, isProcessed, setAD_Role_ID, setAD_Session_ID, setDescription, setLoginDate, setProcessed, setRemote_Addr, setRemote_Host, setWebSession |
| 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 MSession(Properties ctx,
int AD_Session_ID,
String trxName)
ctx - contextAD_Session_ID - idtrxName - transaction
public MSession(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction
public MSession(Properties ctx,
String Remote_Addr,
String Remote_Host,
String WebSession,
String trxName)
ctx - contextRemote_Addr - remote addressRemote_Host - remote hostWebSession - web sessiontrxName - transaction
public MSession(Properties ctx,
String trxName)
ctx - contexttrxName - transaction| Method Detail |
|---|
public static MSession get(Properties ctx,
boolean createNew)
ctx - contextcreateNew - create if not found
public static MSession get(Properties ctx,
String Remote_Addr,
String Remote_Host,
String WebSession)
ctx - contextRemote_Addr - remote addressRemote_Host - remote hostWebSession - web session
public boolean isWebStoreSession()
public void setWebStoreSession(boolean webStoreSession)
webStoreSession - The webStoreSession to set.public String toString()
toString in class X_AD_Sessionpublic void logout()
public MChangeLog changeLog(String TrxName,
int AD_ChangeLog_ID,
int AD_Table_ID,
int AD_Column_ID,
int Record_ID,
int AD_Client_ID,
int AD_Org_ID,
Object OldValue,
Object NewValue)
public MChangeLog changeLog(String TrxName,
int AD_ChangeLog_ID,
int AD_Table_ID,
int AD_Column_ID,
int Record_ID,
int AD_Client_ID,
int AD_Org_ID,
Object OldValue,
Object NewValue,
String event)
TrxName - transaction nameAD_ChangeLog_ID - 0 for new change logAD_Table_ID - tableAD_Column_ID - columnRecord_ID - recordAD_Client_ID - clientAD_Org_ID - orgOldValue - oldNewValue - new
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||