move branch adempire311 to trunk

This commit is contained in:
vpj-cd 2006-11-17 03:09:43 +00:00
parent 22560c3a06
commit 314c468aa0
13 changed files with 648 additions and 0 deletions

11
interfaces/.classpath Normal file
View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="/tools"/>
<classpathentry kind="src" path="/jboss"/>
<classpathentry kind="src" path="/base"/>
<classpathentry kind="src" path="/dbPort"/>
<classpathentry kind="src" path="/serverRoot"/>
<classpathentry kind="output" path="classes"/>
</classpath>

2
interfaces/.myumldata Normal file
View File

@ -0,0 +1,2 @@
#Fri Apr 21 16:18:03 PDT 2006
CodeGenContainer=java.util.Vector

16
interfaces/.project Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>interfaces</name>
<comment></comment>
<projects>
<project>base</project>
<project>dbPort</project>
<project>jboss</project>
<project>tools</project>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,37 @@
#Mon Feb 07 14:57:05 EST 2005
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
org.eclipse.jdt.core.compiler.problem.unsafeTypeOperation=warning
org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
org.eclipse.jdt.core.compiler.problem.unusedImport=ignore
org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
org.eclipse.jdt.core.compiler.problem.unusedLocal=ignore
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
org.eclipse.jdt.core.compiler.problem.deprecation=warning
org.eclipse.jdt.core.compiler.problem.finalParameterBound=ignore
org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=ignore
org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled

View File

@ -0,0 +1,25 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>JBuilder Project Interfaces.jpx</title>
</head>
<body>
<h1>Project Interfaces Notes</h1>
<hr><table border="0">
<tr><th align="left" valign="top">Title:</th><td align="left" valign="top">
<!-- Type Title below -->
Interfaces
</td></tr>
<tr><th align="left" valign="top">Description:</th><td align="left" valign="top">
<!-- Type Description below -->
Server Interfaces
</td></tr>
</table><hr>
<h2>Things to do... </h2>
<ol>
<!-- Edit this section to keep track of your to do items -->
<li>First
<li>Second
</ol>
</body>
</html>

View File

@ -0,0 +1,162 @@
/*
* Generated by XDoclet - Do not edit!
*/
package org.compiere.interfaces;
/**
* Remote interface for adempiere/Server.
*/
public interface Server
extends javax.ejb.EJBObject
{
/**
* Get and create Window Model Value Object
* @param ctx Environment Properties
* @param WindowNo number of this window
* @param AD_Window_ID the internal number of the window, if not 0, AD_Menu_ID is ignored
* @param AD_Menu_ID ine internal menu number, used when AD_Window_ID is 0
* @return initialized Window Model */
public org.compiere.model.GridWindowVO getWindowVO( java.util.Properties ctx,int WindowNo,int AD_Window_ID,int AD_Menu_ID )
throws java.rmi.RemoteException;
/**
* Post Immediate
* @param ctx Client Context
* @param AD_Client_ID Client ID of Document
* @param AD_Table_ID Table ID of Document
* @param Record_ID Record ID of this document
* @param force force posting
* @param trxName transaction
* @return null, if success or error message */
public java.lang.String postImmediate( java.util.Properties ctx,int AD_Client_ID,int AD_Table_ID,int Record_ID,boolean force,java.lang.String trxName )
throws java.rmi.RemoteException;
/**
* Get Prepared Statement ResultSet
* @param info Result info
* @return RowSet
* @throws NotSerializableException */
public javax.sql.RowSet pstmt_getRowSet( org.compiere.util.CStatementVO info )
throws java.io.NotSerializableException, java.rmi.RemoteException;
/**
* Get Statement ResultSet
* @param info Result info
* @return RowSet */
public javax.sql.RowSet stmt_getRowSet( org.compiere.util.CStatementVO info )
throws java.rmi.RemoteException;
/**
* Execute Update
* @param info Result info
* @return row count */
public int stmt_executeUpdate( org.compiere.util.CStatementVO info )
throws java.rmi.RemoteException;
/**
* Get next number for Key column = 0 is Error.
* @param AD_Client_ID client
* @param TableName table name
* @param trxName optional Transaction Name
* @return next no */
public int getNextID( int AD_Client_ID,java.lang.String TableName,java.lang.String trxName )
throws java.rmi.RemoteException;
/**
* Get Document No from table
* @param AD_Client_ID client
* @param TableName table name
* @param trxName optional Transaction Name
* @return document no or null */
public java.lang.String getDocumentNo( int AD_Client_ID,java.lang.String TableName,java.lang.String trxName )
throws java.rmi.RemoteException;
/**
* Get Document No based on Document Type
* @param C_DocType_ID document type
* @param trxName optional Transaction Name
* @return document no or null */
public java.lang.String getDocumentNo( int C_DocType_ID,java.lang.String trxName )
throws java.rmi.RemoteException;
/**
* Process Remote
* @param ctx Context
* @param pi Process Info
* @return resulting Process Info */
public org.compiere.process.ProcessInfo process( java.util.Properties ctx,org.compiere.process.ProcessInfo pi )
throws java.rmi.RemoteException;
/**
* Run Workflow (and wait) on Server
* @param ctx Context
* @param pi Process Info
* @param AD_Workflow_ID id
* @return process info */
public org.compiere.process.ProcessInfo workflow( java.util.Properties ctx,org.compiere.process.ProcessInfo pi,int AD_Workflow_ID )
throws java.rmi.RemoteException;
/**
* Online Payment from Server
* @param ctx Context
* @param C_Payment_ID payment
* @param C_PaymentProcessor_ID processor
* @param trxName transaction
* @return true if approved */
public boolean paymentOnline( java.util.Properties ctx,int C_Payment_ID,int C_PaymentProcessor_ID,java.lang.String trxName )
throws java.rmi.RemoteException;
/**
* Create EMail from Server (Request User)
* @param ctx Context
* @param AD_Client_ID client
* @param to recipient email address
* @param subject subject
* @param message message
* @return EMail */
public org.compiere.util.EMail createEMail( java.util.Properties ctx,int AD_Client_ID,java.lang.String to,java.lang.String subject,java.lang.String message )
throws java.rmi.RemoteException;
/**
* Create EMail from Server (Request User)
* @param ctx Context
* @param AD_Client_ID client
* @param AD_User_ID user to send email from
* @param to recipient email address
* @param subject subject
* @param message message
* @return EMail */
public org.compiere.util.EMail createEMail( java.util.Properties ctx,int AD_Client_ID,int AD_User_ID,java.lang.String to,java.lang.String subject,java.lang.String message )
throws java.rmi.RemoteException;
/**
* Create EMail from Server (Request User)
* @param AD_Task_ID task
* @return execution trace */
public java.lang.String executeTask( int AD_Task_ID )
throws java.rmi.RemoteException;
/**
* Cash Reset
* @param tableName table name
* @param Record_ID record or 0 for all
* @return number of records reset */
public int cacheReset( java.lang.String tableName,int Record_ID )
throws java.rmi.RemoteException;
/**
* LOB update
* @param sql table name
* @param displayType display type (i.e. BLOB/CLOB)
* @param value the data
* @return true if updated */
public boolean updateLOB( java.lang.String sql,int displayType,java.lang.Object value )
throws java.rmi.RemoteException;
/**
* Describes the instance and its content for debugging purpose
* @return Debugging information about the instance and its content */
public java.lang.String getStatus( )
throws java.rmi.RemoteException;
}

View File

@ -0,0 +1,18 @@
/*
* Generated by XDoclet - Do not edit!
*/
package org.compiere.interfaces;
/**
* Home interface for adempiere/Server.
*/
public interface ServerHome
extends javax.ejb.EJBHome
{
public static final String COMP_NAME="java:comp/env/ejb/adempiere/Server";
public static final String JNDI_NAME="adempiere/Server";
public org.compiere.interfaces.Server create()
throws javax.ejb.CreateException,java.rmi.RemoteException;
}

View File

@ -0,0 +1,145 @@
/*
* Generated by XDoclet - Do not edit!
*/
package org.compiere.interfaces;
/**
* Local interface for adempiere/Server.
*/
public interface ServerLocal
extends javax.ejb.EJBLocalObject
{
/**
* Get and create Window Model Value Object
* @param ctx Environment Properties
* @param WindowNo number of this window
* @param AD_Window_ID the internal number of the window, if not 0, AD_Menu_ID is ignored
* @param AD_Menu_ID ine internal menu number, used when AD_Window_ID is 0
* @return initialized Window Model */
public org.compiere.model.GridWindowVO getWindowVO( java.util.Properties ctx,int WindowNo,int AD_Window_ID,int AD_Menu_ID ) ;
/**
* Post Immediate
* @param ctx Client Context
* @param AD_Client_ID Client ID of Document
* @param AD_Table_ID Table ID of Document
* @param Record_ID Record ID of this document
* @param force force posting
* @param trxName transaction
* @return null, if success or error message */
public java.lang.String postImmediate( java.util.Properties ctx,int AD_Client_ID,int AD_Table_ID,int Record_ID,boolean force,java.lang.String trxName ) ;
/**
* Get Prepared Statement ResultSet
* @param info Result info
* @return RowSet
* @throws NotSerializableException */
public javax.sql.RowSet pstmt_getRowSet( org.compiere.util.CStatementVO info ) throws java.io.NotSerializableException;
/**
* Get Statement ResultSet
* @param info Result info
* @return RowSet */
public javax.sql.RowSet stmt_getRowSet( org.compiere.util.CStatementVO info ) ;
/**
* Execute Update
* @param info Result info
* @return row count */
public int stmt_executeUpdate( org.compiere.util.CStatementVO info ) ;
/**
* Get next number for Key column = 0 is Error.
* @param AD_Client_ID client
* @param TableName table name
* @param trxName optional Transaction Name
* @return next no */
public int getNextID( int AD_Client_ID,java.lang.String TableName,java.lang.String trxName ) ;
/**
* Get Document No from table
* @param AD_Client_ID client
* @param TableName table name
* @param trxName optional Transaction Name
* @return document no or null */
public java.lang.String getDocumentNo( int AD_Client_ID,java.lang.String TableName,java.lang.String trxName ) ;
/**
* Get Document No based on Document Type
* @param C_DocType_ID document type
* @param trxName optional Transaction Name
* @return document no or null */
public java.lang.String getDocumentNo( int C_DocType_ID,java.lang.String trxName ) ;
/**
* Process Remote
* @param ctx Context
* @param pi Process Info
* @return resulting Process Info */
public org.compiere.process.ProcessInfo process( java.util.Properties ctx,org.compiere.process.ProcessInfo pi ) ;
/**
* Run Workflow (and wait) on Server
* @param ctx Context
* @param pi Process Info
* @param AD_Workflow_ID id
* @return process info */
public org.compiere.process.ProcessInfo workflow( java.util.Properties ctx,org.compiere.process.ProcessInfo pi,int AD_Workflow_ID ) ;
/**
* Online Payment from Server
* @param ctx Context
* @param C_Payment_ID payment
* @param C_PaymentProcessor_ID processor
* @param trxName transaction
* @return true if approved */
public boolean paymentOnline( java.util.Properties ctx,int C_Payment_ID,int C_PaymentProcessor_ID,java.lang.String trxName ) ;
/**
* Create EMail from Server (Request User)
* @param ctx Context
* @param AD_Client_ID client
* @param to recipient email address
* @param subject subject
* @param message message
* @return EMail */
public org.compiere.util.EMail createEMail( java.util.Properties ctx,int AD_Client_ID,java.lang.String to,java.lang.String subject,java.lang.String message ) ;
/**
* Create EMail from Server (Request User)
* @param ctx Context
* @param AD_Client_ID client
* @param AD_User_ID user to send email from
* @param to recipient email address
* @param subject subject
* @param message message
* @return EMail */
public org.compiere.util.EMail createEMail( java.util.Properties ctx,int AD_Client_ID,int AD_User_ID,java.lang.String to,java.lang.String subject,java.lang.String message ) ;
/**
* Create EMail from Server (Request User)
* @param AD_Task_ID task
* @return execution trace */
public java.lang.String executeTask( int AD_Task_ID ) ;
/**
* Cash Reset
* @param tableName table name
* @param Record_ID record or 0 for all
* @return number of records reset */
public int cacheReset( java.lang.String tableName,int Record_ID ) ;
/**
* LOB update
* @param sql table name
* @param displayType display type (i.e. BLOB/CLOB)
* @param value the data
* @return true if updated */
public boolean updateLOB( java.lang.String sql,int displayType,java.lang.Object value ) ;
/**
* Describes the instance and its content for debugging purpose
* @return Debugging information about the instance and its content */
public java.lang.String getStatus( ) ;
}

View File

@ -0,0 +1,18 @@
/*
* Generated by XDoclet - Do not edit!
*/
package org.compiere.interfaces;
/**
* Local home interface for adempiere/Server.
*/
public interface ServerLocalHome
extends javax.ejb.EJBLocalHome
{
public static final String COMP_NAME="java:comp/env/ejb/adempiere/ServerLocal";
public static final String JNDI_NAME="adempiere/ServerLocal";
public org.compiere.interfaces.ServerLocal create()
throws javax.ejb.CreateException;
}

View File

@ -0,0 +1,96 @@
/*
* Generated by XDoclet - Do not edit!
*/
package org.compiere.interfaces;
/**
* Remote interface for adempiere/Status.
*/
public interface Status
extends javax.ejb.EJBObject
{
/**
* Get Version (Date)
* @return version e.g. 2002-09-02 */
public java.lang.String getDateVersion( )
throws java.rmi.RemoteException;
/**
* Get Main Version
* @return main version - e.g. Version 2.4.3b */
public java.lang.String getMainVersion( )
throws java.rmi.RemoteException;
/**
* Get Database Type
* @return Database Type */
public java.lang.String getDbType( )
throws java.rmi.RemoteException;
/**
* Get Database Host
* @return Database Host Name */
public java.lang.String getDbHost( )
throws java.rmi.RemoteException;
/**
* Get Database Port
* @return Database Port */
public int getDbPort( )
throws java.rmi.RemoteException;
/**
* Get Database SID
* @return Database SID */
public java.lang.String getDbName( )
throws java.rmi.RemoteException;
/**
* Get Database URL
* @return Database URL */
public java.lang.String getConnectionURL( )
throws java.rmi.RemoteException;
/**
* Get Database UID
* @return Database User Name */
public java.lang.String getDbUid( )
throws java.rmi.RemoteException;
/**
* Get Database PWD
* @return Database User Password */
public java.lang.String getDbPwd( )
throws java.rmi.RemoteException;
/**
* Get Connection Manager Host
* @return Connection Manager Host */
public java.lang.String getFwHost( )
throws java.rmi.RemoteException;
/**
* Get Connection Manager Port
* @return Connection Manager Port */
public int getFwPort( )
throws java.rmi.RemoteException;
/**
* Get Version Count
* @return number of version inquiries */
public int getVersionCount( )
throws java.rmi.RemoteException;
/**
* Get Database Count
* @return number of database inquiries */
public int getDatabaseCount( )
throws java.rmi.RemoteException;
/**
* Describes the instance and its content for debugging purpose
* @return Debugging information about the instance and its content */
public java.lang.String getStatus( )
throws java.rmi.RemoteException;
}

View File

@ -0,0 +1,18 @@
/*
* Generated by XDoclet - Do not edit!
*/
package org.compiere.interfaces;
/**
* Home interface for adempiere/Status.
*/
public interface StatusHome
extends javax.ejb.EJBHome
{
public static final String COMP_NAME="java:comp/env/ejb/adempiere/Status";
public static final String JNDI_NAME="adempiere/Status";
public org.compiere.interfaces.Status create()
throws javax.ejb.CreateException,java.rmi.RemoteException;
}

View File

@ -0,0 +1,82 @@
/*
* Generated by XDoclet - Do not edit!
*/
package org.compiere.interfaces;
/**
* Local interface for adempiere/Status.
*/
public interface StatusLocal
extends javax.ejb.EJBLocalObject
{
/**
* Get Version (Date)
* @return version e.g. 2002-09-02 */
public java.lang.String getDateVersion( ) ;
/**
* Get Main Version
* @return main version - e.g. Version 2.4.3b */
public java.lang.String getMainVersion( ) ;
/**
* Get Database Type
* @return Database Type */
public java.lang.String getDbType( ) ;
/**
* Get Database Host
* @return Database Host Name */
public java.lang.String getDbHost( ) ;
/**
* Get Database Port
* @return Database Port */
public int getDbPort( ) ;
/**
* Get Database SID
* @return Database SID */
public java.lang.String getDbName( ) ;
/**
* Get Database URL
* @return Database URL */
public java.lang.String getConnectionURL( ) ;
/**
* Get Database UID
* @return Database User Name */
public java.lang.String getDbUid( ) ;
/**
* Get Database PWD
* @return Database User Password */
public java.lang.String getDbPwd( ) ;
/**
* Get Connection Manager Host
* @return Connection Manager Host */
public java.lang.String getFwHost( ) ;
/**
* Get Connection Manager Port
* @return Connection Manager Port */
public int getFwPort( ) ;
/**
* Get Version Count
* @return number of version inquiries */
public int getVersionCount( ) ;
/**
* Get Database Count
* @return number of database inquiries */
public int getDatabaseCount( ) ;
/**
* Describes the instance and its content for debugging purpose
* @return Debugging information about the instance and its content */
public java.lang.String getStatus( ) ;
}

View File

@ -0,0 +1,18 @@
/*
* Generated by XDoclet - Do not edit!
*/
package org.compiere.interfaces;
/**
* Local home interface for adempiere/Status.
*/
public interface StatusLocalHome
extends javax.ejb.EJBLocalHome
{
public static final String COMP_NAME="java:comp/env/ejb/adempiere/StatusLocal";
public static final String JNDI_NAME="adempiere/StatusLocal";
public org.compiere.interfaces.StatusLocal create()
throws javax.ejb.CreateException;
}