Class Index | File Index

Classes


Class nnjl.licurgo.AbstractRDBMS


Defined in: nnjl.licurgo.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a new nnjl.licurgo.AbstractRDBMS
Method Summary
Method Attributes Method Name and Description
 
createTable(type, table)
SQL CREATE TABLE
 
dropTable(type, table)
SQL DROP TABLE
 
getPrimitiveType(type, size, nullable)
Get a Primitive type
 
hasTable(type, tableName)
Return true if the tableName exists or not
 
insert(dao, table)
SQL INSERT INTO TABLE (Fields) VALUES (values)
 
load(type, condition, table)
SQL SELECT * FROM TABLE WHERE nnjl.licurgo.PrimaryKeyQuery
 
remove(type, condition, table)
SQL DELETE FROM TABLE WHERE nnjl.licurgo.PrimaryKeyQuery
 
update(dao, table)
SQL UPDATE TABLE SET (Fields) = (values)
Class Detail
nnjl.licurgo.AbstractRDBMS()
Creates a new nnjl.licurgo.AbstractRDBMS
Method Detail
{String} createTable(type, table)
SQL CREATE TABLE
Parameters:
{Type} type
{String} table
Returns:
{String}

{String} dropTable(type, table)
SQL DROP TABLE
Parameters:
{Type} type
{String} table
Returns:
{String}

{PrimitiveType} getPrimitiveType(type, size, nullable)
Get a Primitive type
Parameters:
{String} type
RDBMS Type definition, you have to take care what are the types defined by the RDBMS and what are supported by licurgo
{int} size
{Boolean} nullable
Returns:
{PrimitiveType}

{Boolean} hasTable(type, tableName)
Return true if the tableName exists or not
Parameters:
{Type} type
{String} tableName
Returns:
{Boolean}

{String} insert(dao, table)
SQL INSERT INTO TABLE (Fields) VALUES (values)
Parameters:
{DataObject} dao
{String} table
Returns:
{String}

{String} load(type, condition, table)
SQL SELECT * FROM TABLE WHERE nnjl.licurgo.PrimaryKeyQuery
Parameters:
{Type} type
{nnjl.licurgo.PrimaryKeyQuery} condition
{String} table
Returns:
{String}

{String} remove(type, condition, table)
SQL DELETE FROM TABLE WHERE nnjl.licurgo.PrimaryKeyQuery
Parameters:
{Type} type
{nnjl.licurgo.PrimaryKeyQuery} condition
{String} table
Returns:
{String}

{String} update(dao, table)
SQL UPDATE TABLE SET (Fields) = (values)
Parameters:
{DataObject} dao
{String} table
Returns:
{String}

Documentation generated by JsDoc Toolkit 2.3.2 on Wed Sep 29 2010 11:46:25 GMT+0200 (CEST)