public class Tool4DbDatabase
extends java.lang.Object
Tool4DbDatabase
class ...Constructor and Description |
---|
Tool4DbDatabase(n4e.core.list.List4SysUser pUser)
The constructor
Tool4DbDatabase creates a new instance(object) of the class. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKeyWordNameByUid(java.lang.String uid)
The method
Tool4KeyWord_getKeyWordNameByUid fetchs the key word name from database. |
java.util.ArrayList |
getKeyWordNameList(java.lang.String keyset,
java.lang.String dontshowaskey)
The method
Tool4KeyWord_getKeyWordNameList fetchs the list of key word names from database. |
java.util.ArrayList |
getKeyWordParameterByUid(java.lang.String idkeyword)
The method
Tool4KeyWord_getKeyWordParameterByUid fetchs the parameter of a key word from database. |
java.util.ArrayList |
Tool4DatabaseImportExport_AllRows(java.lang.String dbpackage,
java.lang.String tablename,
java.lang.String databasename)
The method
Tool4DatabaseImportExport_AllRows gets all rows from table. |
public Tool4DbDatabase(n4e.core.list.List4SysUser pUser)
Tool4DbDatabase
creates a new instance(object) of the class.pUser
- the system userpublic java.lang.String getKeyWordNameByUid(java.lang.String uid) throws java.lang.Exception
Tool4KeyWord_getKeyWordNameByUid
fetchs the key word name from database.uid
- the uniqueid of current kew word.java.lang.Exception
- if error.public java.util.ArrayList getKeyWordNameList(java.lang.String keyset, java.lang.String dontshowaskey) throws java.lang.Exception
Tool4KeyWord_getKeyWordNameList
fetchs the list of key word names from database.
Be aware of that this function is redundant to the web system.keyset
- the current keyset name.dontshowaskey
- key word uniqueids without showing separated by semicolon.java.lang.Exception
- if error.public java.util.ArrayList getKeyWordParameterByUid(java.lang.String idkeyword) throws java.lang.Exception
Tool4KeyWord_getKeyWordParameterByUid
fetchs the parameter of a key word from database.idkeyword
- the uniqueid of a key word..java.lang.Exception
- if error.public java.util.ArrayList Tool4DatabaseImportExport_AllRows(java.lang.String dbpackage, java.lang.String tablename, java.lang.String databasename) throws java.lang.Exception
Tool4DatabaseImportExport_AllRows
gets all rows from table.dbpackage
- the package of the access module.tablename
- the table name.databasename
- the name of the client database.java.lang.Exception
- if error