Memo Database Category Membership API
[Data Model API's]


Functions

alp_status_t alp_memo_dml_add_memberships (AlpDmlH dmlH, AlpLuid memoLuid, const AlpLuid *categoryLuidsP, AlpLuid membershipLuid, uint32_t numCategoryLuids)
alp_status_t alp_memo_dml_remove_memberships (AlpDmlH dmlH, AlpLuid memoLuid, const AlpLuid *categoryLuids, AlpLuid membershipLuid, uint32_t numCategoryLuids)
 Deprecated. Use alp_memo_dml_add_memberships instead.


Function Documentation

alp_status_t alp_memo_dml_add_memberships AlpDmlH  dmlH,
AlpLuid  memoLuid,
const AlpLuid categoryLuidsP,
AlpLuid  membershipLuid,
uint32_t  numCategoryLuids
 

Adds a category membership for a given memo record. It updates the _CATEGORY_MEMBERSHIP table in the MEMO database. This must be called everytime a new memo has been inserted to the MEMO table.

If the AlpDmlH parameter is invalid, an ALP_STATUS_MEMO_DML_INVALID_PARAMETER is returned.

If the AlpLuid parameters are invalid, an ALP_STATUS_MEMO_DML_INVALID_LUID is returned.

Parameters:
[in] dmlH Memo data model handle for category tables AlpDmlH
[in] memoLuid AlpLuid of memo whose category is to be added
[in] categoryLuidsP AlpLuid list of category LUIDs
[in] membershipLuid AlpLuid of membership to be added (optional)
[in] numCategoryLuids uint32_t number of category luids
Returns:
alp_status_t
See also:
alp_memo_dml_remove_memberships

alp_status_t alp_memo_dml_remove_memberships AlpDmlH  dmlH,
AlpLuid  memoLuid,
const AlpLuid categoryLuids,
AlpLuid  membershipLuid,
uint32_t  numCategoryLuids
 

Deprecated. Use alp_memo_dml_add_memberships instead.

Removes a category membership for a given memo record. It updates the _CATEGORY_MEMBERSHIP table in the MEMO database. This must be called everytime a memo has been deleted from the MEMO table.

If the AlpDmlH parameter is invalid, an ALP_STATUS_MEMO_DML_INVALID_PARAMETER is returned.

If the AlpLuid parameters are invalid, an ALP_STATUS_MEMO_DML_INVALID_LUID is returned.

Parameters:
[in] dmlH Memo data model handle for category tables AlpDmlH
[in] memoLuid AlpLuid of memo whose category is to be added
[in] categoryLuids AlpLuid list of category LUIDs
[in] membershipLuid AlpLUID of membership to be added (optional)
[in] numCategoryLuids uint32_t number of category LUIDs
Returns:
alp_status_t
See also:
alp_memo_dml_add_memberships


Generated on Wed Jul 30 07:06:41 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.