|
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_AD_Session
org.compiere.model.MSession
public class MSession
Session Model. Maintained in AMenu.
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_AD_Session |
|---|
accessLevel, Model, 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 | |
|---|---|
MSession(Ctx ctx,
int AD_Session_ID,
String trxName)
Standard Constructor |
|
MSession(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
MSession(Ctx ctx,
String trxName)
New (local) Constructor |
|
MSession(Ctx 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,
Object keyInfo,
int AD_Client_ID,
int AD_Org_ID,
Object OldValue,
Object NewValue,
String tableName,
String type)
Create Change Log only if table is logged |
static MSession |
get(Ctx ctx,
boolean createNew)
Get existing or create local session |
static MSession |
get(Ctx 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 |
MQueryLog |
queryLog(int AD_Client_ID,
int AD_Org_ID,
int AD_Table_ID,
String whereClause,
int recordCount)
Create Query Log |
MQueryLog |
queryLog(int AD_Client_ID,
int AD_Org_ID,
int AD_Table_ID,
String whereClause,
int recordCount,
Object parameter)
Create Query Log |
MQueryLog |
queryLog(int AD_Client_ID,
int AD_Org_ID,
int AD_Table_ID,
String whereClause,
int recordCount,
Object[] parameters)
Create Query Log |
MQueryLog |
queryLog(int AD_Client_ID,
int AD_Org_ID,
int AD_Table_ID,
String whereClause,
int recordCount,
String parameter)
Create Query Log |
void |
setWebStoreSession(boolean webStoreSession)
Set Web Store Session |
String |
toString()
String Representation |
MWindowLog |
windowLog(int AD_Client_ID,
int AD_Org_ID,
int AD_Window_ID,
int AD_Form_ID)
Create Window Log |
| Methods inherited from class org.compiere.model.X_AD_Session |
|---|
get_AccessLevel, getAD_Role_ID, getAD_Session_ID, getDescription, getKeyNamePair, getRemote_Addr, getRemote_Host, getWebSession, initPO, isProcessed, setAD_Role_ID, setAD_Session_ID, setDescription, setProcessed, setRemote_Addr, setRemote_Host, setWebSession |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MSession(Ctx ctx,
int AD_Session_ID,
String trxName)
ctx - contextAD_Session_ID - idtrxName - transaction
public MSession(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction
public MSession(Ctx ctx,
String Remote_Addr,
String Remote_Host,
String WebSession,
String trxName)
ctx - contextRemote_Addr - remote addressRemote_Host - remote hostWebSession - web sessiontrxName - transaction
public MSession(Ctx ctx,
String trxName)
ctx - contexttrxName - transaction| Method Detail |
|---|
public static MSession get(Ctx ctx,
boolean createNew)
ctx - contextcreateNew - create if not found
public static MSession get(Ctx 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,
Object keyInfo,
int AD_Client_ID,
int AD_Org_ID,
Object OldValue,
Object NewValue,
String tableName,
String type)
TrxName - transaction nameAD_ChangeLog_ID - 0 for new change logAD_Table_ID - tableAD_Column_ID - columnkeyInfo - key value(s)AD_Client_ID - clientAD_Org_ID - orgOldValue - oldNewValue - new
public MQueryLog queryLog(int AD_Client_ID,
int AD_Org_ID,
int AD_Table_ID,
String whereClause,
int recordCount,
String parameter)
AD_Client_ID - login clientAD_Org_ID - login orgAD_Table_ID - tablewhereClause - whererecordCount - recordsparameter - parameter
public MQueryLog queryLog(int AD_Client_ID,
int AD_Org_ID,
int AD_Table_ID,
String whereClause,
int recordCount)
AD_Client_ID - login clientAD_Org_ID - login orgAD_Table_ID - tablewhereClause - whererecordCount - records
public MQueryLog queryLog(int AD_Client_ID,
int AD_Org_ID,
int AD_Table_ID,
String whereClause,
int recordCount,
Object parameter)
AD_Client_ID - login clientAD_Org_ID - login orgAD_Table_ID - tablewhereClause - whererecordCount - recordsparameter - parameter
public MQueryLog queryLog(int AD_Client_ID,
int AD_Org_ID,
int AD_Table_ID,
String whereClause,
int recordCount,
Object[] parameters)
AD_Client_ID - login clientAD_Org_ID - login orgAD_Table_ID - tablewhereClause - whererecordCount - recordsparameters - parameter
public MWindowLog windowLog(int AD_Client_ID,
int AD_Org_ID,
int AD_Window_ID,
int AD_Form_ID)
AD_Client_ID - clientAD_Org_ID - orgAD_Window_ID - windowAD_Form_ID - form
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||