|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.session.ServerBean
public class ServerBean
Compiere Server Bean.
| Constructor Summary | |
|---|---|
ServerBean()
|
|
| Method Summary | |
|---|---|
int |
cacheReset(String tableName,
int Record_ID)
Cash Reset |
EMail |
createEMail(Ctx ctx,
int AD_Client_ID,
int AD_User_ID,
String toEMail,
String toName,
String subject,
String message)
Create EMail from Server (Request User) |
EMail |
createEMail(Ctx ctx,
int AD_Client_ID,
String toEMail,
String toName,
String subject,
String message)
Create EMail from Server (Request User) |
protected static void |
dumpSVUID(Class clazz)
Dump SerialVersionUID of class |
void |
ejbActivate()
Method ejbActivate |
void |
ejbCreate()
Create the Session Bean |
void |
ejbPassivate()
Method ejbPassivate |
void |
ejbRemove()
Method ejbRemove |
String |
executeTask(int AD_Task_ID)
Create EMail from Server (Request User) |
String |
getDocumentNo(int C_DocType_ID,
String trxName)
Get Document No based on Document Type |
String |
getDocumentNo(int AD_Client_ID,
String TableName,
String trxName)
Get Document No from table |
int |
getNextID(int AD_Client_ID,
String TableName,
String trxName)
Get next number for Key column = 0 is Error. |
String |
getStatus()
Describes the instance and its content for debugging purpose |
GridWindowVO |
getWindowVO(Ctx ctx,
int WindowNo,
int AD_Window_ID,
int AD_Menu_ID)
Get and create Window Model Value Object |
static void |
main(String[] args)
Print UID of used classes. |
boolean |
paymentOnline(Ctx ctx,
int C_Payment_ID,
int C_PaymentProcessor_ID,
String trxName)
Online Payment from Server |
String |
postImmediate(Ctx ctx,
int AD_Client_ID,
int AD_Table_ID,
int Record_ID,
boolean force,
String trxName)
Post Immediate |
ProcessInfo |
process(Ctx ctx,
ProcessInfo pi)
Process Remote |
RowSet |
pstmt_getRowSet(CStatementVO info)
Get Prepared Statement ResultSet |
void |
setSessionContext(SessionContext aContext)
Method setSessionContext |
int |
stmt_executeUpdate(CStatementVO info)
Execute Update |
RowSet |
stmt_getRowSet(CStatementVO info)
Get Statement ResultSet |
String |
toString()
String Representation |
boolean |
updateLOB(String sql,
int displayType,
Object value)
LOB update |
ProcessInfo |
workflow(Ctx ctx,
ProcessInfo pi,
int AD_Workflow_ID)
Run Workflow (and wait) on Server |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServerBean()
| Method Detail |
|---|
public GridWindowVO getWindowVO(Ctx ctx,
int WindowNo,
int AD_Window_ID,
int AD_Menu_ID)
ctx - Environment PropertiesWindowNo - number of this windowAD_Window_ID - the internal number of the window, if not 0, AD_Menu_ID is ignoredAD_Menu_ID - ine internal menu number, used when AD_Window_ID is 0
public String postImmediate(Ctx ctx,
int AD_Client_ID,
int AD_Table_ID,
int Record_ID,
boolean force,
String trxName)
ctx - Client ContextAD_Client_ID - Client ID of DocumentAD_Table_ID - Table ID of DocumentRecord_ID - Record ID of this documentforce - force postingtrxName - transaction
public RowSet pstmt_getRowSet(CStatementVO info)
throws NotSerializableException
info - Result info
NotSerializableExceptionpublic RowSet stmt_getRowSet(CStatementVO info)
info - Result info
public int stmt_executeUpdate(CStatementVO info)
info - Result info
public int getNextID(int AD_Client_ID,
String TableName,
String trxName)
AD_Client_ID - clientTableName - table nametrxName - optional Transaction Name
public String getDocumentNo(int AD_Client_ID,
String TableName,
String trxName)
AD_Client_ID - clientTableName - table nametrxName - optional Transaction Name
public String getDocumentNo(int C_DocType_ID,
String trxName)
C_DocType_ID - document typetrxName - optional Transaction Name
public ProcessInfo process(Ctx ctx,
ProcessInfo pi)
ctx - Contextpi - Process Info
public ProcessInfo workflow(Ctx ctx,
ProcessInfo pi,
int AD_Workflow_ID)
ctx - Contextpi - Process InfoAD_Workflow_ID - id
public boolean paymentOnline(Ctx ctx,
int C_Payment_ID,
int C_PaymentProcessor_ID,
String trxName)
ctx - ContextC_Payment_ID - paymentC_PaymentProcessor_ID - processortrxName - transaction
public EMail createEMail(Ctx ctx,
int AD_Client_ID,
String toEMail,
String toName,
String subject,
String message)
ctx - ContextAD_Client_ID - clienttoEMail - recipient email addresssubject - subjectmessage - message
public EMail createEMail(Ctx ctx,
int AD_Client_ID,
int AD_User_ID,
String toEMail,
String toName,
String subject,
String message)
ctx - ContextAD_Client_ID - clientAD_User_ID - user to send email fromtoEMail - recipient email addresssubject - subjectmessage - message
public String executeTask(int AD_Task_ID)
AD_Task_ID - task
public int cacheReset(String tableName,
int Record_ID)
tableName - table nameRecord_ID - record or 0 for all
public boolean updateLOB(String sql,
int displayType,
Object value)
sql - table namedisplayType - display type (i.e. BLOB/CLOB)value - the data
public String getStatus()
public String toString()
toString in class Object
public void ejbCreate()
throws EJBException,
CreateException
EJBException
CreateException
public void setSessionContext(SessionContext aContext)
throws EJBException
setSessionContext in interface SessionBeanaContext - SessionContext
EJBExceptionSessionBean.setSessionContext(SessionContext)
public void ejbActivate()
throws EJBException
ejbActivate in interface SessionBeanEJBExceptionSessionBean.ejbActivate()
public void ejbPassivate()
throws EJBException
ejbPassivate in interface SessionBeanEJBExceptionSessionBean.ejbPassivate()
public void ejbRemove()
throws EJBException
ejbRemove in interface SessionBeanEJBExceptionSessionBean.ejbRemove()protected static void dumpSVUID(Class clazz)
clazz - classpublic static void main(String[] args)
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||