Functions | |
| alp_status_t | alp_catmgr_dml_category_statement_begin (AlpDmlH dmlH, AlpLuid categoryLuid, AlpDmlStatementH *stmtH, int32_t *numResults) |
| alp_status_t | alp_catmgr_dml_membership_statement_begin (AlpDmlH dmlH, AlpLuid entityLuid, AlpLuid categoryLuid, AlpDmlStatementH *stmtH, int32_t *numResults) |
| alp_status_t | alp_catmgr_dml_statement_end (AlpDmlStatementH dmlStmtH) |
| alp_status_t | alp_catmgr_dml_statement_get_int32 (AlpDmlStatementH dmlStmtH, AlpCatMgrDmlColumnType column, int32_t *value) |
| alp_status_t | alp_catmgr_dml_statement_get_string (AlpDmlStatementH dmlStmtH, AlpCatMgrDmlColumnType column, char **value) |
| alp_status_t | alp_catmgr_dml_statement_next (AlpDmlStatementH dmlStmtH) |
|
||||||||||||||||||||
|
Creates and initializes a new AlpDmlStatementH that can be used to iterate over a set of CategoryItem's in the CatMgr data model. After calling this routine, you must call alp_catmgr_dml_statement_next() to advance the statement to the first object in the result set before you can call any of the alp_catmgr_dml_statement_get_* API to retrieve information from an object. It is important to keep track of which alp_catmgr_dml_*_statement_init function you use to initialize which AlpDmlStatementH, because that will dictate which objects are included in the statement's result set, and what AlpCatMgrDmlColumnType's you can use to fetch values from items in the statement. If there are no records found that match the search critereon, numResults, if it was supplied will be set to 0, ALP_STATUS_CATMGR_DML_NO_RECORDS will be returned, and the stmtH parameter will not be initialized (so the caller should not call alp_catmgr_dml_statement_next (or end) on it.
|
|
||||||||||||||||||||||||
|
Creates and initializes a new AlpDmlStatementH that can be used to iterate over a set of MembershipItem's in the CatMgr data model. After calling this routine, you must call alp_catmgr_dml_statement_next() to advance the statement to the first object in the result set before you can call any of the alp_catmgr_dml_statement_get_* API to retrieve information from an object. It is important to keep track of which alp_catmgr_dml_*_statement_init function you use to initialize which AlpDmlStatementH, because that will dictate which objects are included in the statement's result set, and what AlpCatMgrDmlColumnType's you can use to fetch values from items in the statement. If there are no records found that match the search critereon, numResults, if it was supplied will be set to 0, ALP_STATUS_CATMGR_DML_NO_RECORDS will be returned, and the stmtH parameter will not be initialized (so the caller should not call alp_catmgr_dml_statement_next (or end) on it.
|
|
|
Disposes of the statement handle
|
|
||||||||||||||||
|
Given a statement handle that has been initialized and stepped using alp_catmgr_dml_statement_next() where an item has been found, this function can be used to retrieve any integer field from the item located at the current statement position.
|
|
||||||||||||||||
|
Given a statement handle that has been initialized and stepped using alp_catmgr_dml_statement_next() where an item has been found, this function can be used to retrieve any string field from the item located at the current statement position.
|
|
|
Given a statement handle initialized with an alp_catmgr_dml_*_statement_init() API, this routine will step the statement forward to point to the next item in the sequence. Note that you must call this API in order to get to the first element in the list.
|
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.