|
Adempiere 3.4.0s | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.sqlj.Adempiere
public class Adempiere
SQLJ Adempiere Control and Utility Class
| Field Summary | |
|---|---|
static BigDecimal |
HUNDRED
Hundred 100 |
static BigDecimal |
ONE
One 1 |
protected static String |
s_pwd
Connection Password |
static String |
s_type
Server Type |
protected static String |
s_uid
Connection User |
protected static String |
s_url
Connection URL |
static String |
TYPE_ORACLE
Oracle Server |
static String |
TYPE_POSTGRESQL
PostgreSQL |
static BigDecimal |
ZERO
Zero 0 |
| Constructor Summary | |
|---|---|
Adempiere()
|
|
| Method Summary | |
|---|---|
static Timestamp |
addDays(Timestamp day,
int offset)
Deprecated. |
static String |
charAt(String source,
int posIndex)
Deprecated. |
static Timestamp |
firstOf(Timestamp p_dateTime,
String XX)
Deprecated. |
static String |
getChars(BigDecimal d)
Deprecated. |
static Timestamp |
getDate()
Deprecated. |
static int |
getDaysBetween(Timestamp start,
Timestamp end)
Deprecated. |
static String |
getProperties()
Get Environment Info |
static String |
getProperty(String key)
Get Environment Info |
static String |
getServerType()
Get Server Type |
static String |
getVersion()
Get Version |
static Timestamp |
nextBusinessDay(Timestamp day)
Next Business Day. |
static int |
nextID(int AD_Sequence_ID,
String System)
Mext ID |
static Timestamp |
trunc(Timestamp p_dateTime)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_ORACLE
public static final String TYPE_POSTGRESQL
public static String s_type
protected static String s_url
protected static String s_uid
protected static String s_pwd
public static final BigDecimal ZERO
public static final BigDecimal ONE
public static final BigDecimal HUNDRED
| Constructor Detail |
|---|
public Adempiere()
| Method Detail |
|---|
public static String getVersion()
public static String getProperties()
public static String getProperty(String key)
throws SQLException
key - key
SQLExceptionpublic static String getServerType()
public static Timestamp trunc(Timestamp p_dateTime)
p_dateTime - date
public static Timestamp firstOf(Timestamp p_dateTime,
String XX)
p_dateTime - dateXX - date part - Supported: DD(default),DY,MM,Q
public static int getDaysBetween(Timestamp start,
Timestamp end)
start - start dateend - end date
public static Timestamp addDays(Timestamp day,
int offset)
day - Dayoffset - day offset
public static Timestamp nextBusinessDay(Timestamp day)
throws SQLException
day - day
SQLException
public static String charAt(String source,
int posIndex)
source - sourceposIndex - position 1 = first
public static int nextID(int AD_Sequence_ID,
String System)
throws SQLException
AD_Sequence_ID - sequenceSystem - system
SQLExceptionpublic static Timestamp getDate()
public static String getChars(BigDecimal d)
d - double
|
Adempiere 3.4.0s | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||