Public Member Functions | Protected Member Functions

genIdService Class Reference

Public Member Functions

 __construct ()
 getNewID ($idGeneration, $conn, $dbType, $table=null, $column=null)

Protected Member Functions

 getNewSYSID ($conn, $tableName, $includePrefix=false, $base=-1)
 getNewIdentity ($conn, $dbType, $table=null, $column=null)
 getNewSequence ($conn, $dbtype, $sequenceName)
 getNewGUID ($conn, $dbType, $table=null, $column=null)
 getNewUUID ()

Detailed Description

Definition at line 25 of file genIdService.php.


Constructor & Destructor Documentation

__construct (  )

Initialize excelService with xml array metadata

Parameters:
array$xmlArr
Returns:
void

Definition at line 34 of file genIdService.php.


Member Function Documentation

getNewGUID ( conn,
dbType,
table = null,
column = null 
) [protected]

Get new GUID ID is generated before executing insert sql

Parameters:
Zend_Db_Adapter_Abstract$conndatabase connection
string$dbTypedatabase type
string$tabletable name
string$columncolumn name
Returns:
mixed new Id

Definition at line 226 of file genIdService.php.

Here is the caller graph for this function:

getNewID ( idGeneration,
conn,
dbType,
table = null,
column = null 
)

Get new Id

Parameters:
string$idGeneration
Zend_Db_Adapter_Abstract$conndatabase connection
string$dbTypedatabase type
string$tabletable name
string$columncolumn name
Returns:
mixed

Definition at line 48 of file genIdService.php.

Here is the call graph for this function:

getNewIdentity ( conn,
dbType,
table = null,
column = null 
) [protected]

Get new Identity * NOTE: ID is generated after insert sql is executed

Parameters:
Zend_Db_Adapter_Abstract$conndatabase connection
string$dbTypedatabase type
string$tabletable name
string$columncolumn name
Returns:
mixed new Id

Definition at line 162 of file genIdService.php.

getNewSequence ( conn,
dbtype,
sequenceName 
) [protected]

Get new sequence NOTE: // ID is generated before executing insert sql

Parameters:
Zend_Db_Adapter_Abstract$conndatabase connection
string$dbTypedatabase type
string$sequenceName
Returns:
mixed

Definition at line 196 of file genIdService.php.

getNewSYSID ( conn,
tableName,
includePrefix = false,
base = -1 
) [protected]

Get a new SYSID from the id_table. You can get SYSID for a table with prefix and base converting

Parameters:
Zend_Db_Adapter_Abstract$conndatabase connection
string$tableNametable name
boolean$includePrefix
integer$baseto encode
Returns:
string

Definition at line 96 of file genIdService.php.

Here is the caller graph for this function:

getNewUUID (  ) [protected]

Get new UUID ID is generated before executing insert sql

Returns:
string the unique identifier, as a string.

Definition at line 250 of file genIdService.php.

Here is the caller graph for this function:


The documentation for this class was generated from the following file: