![]() |
![]() |
![]() |
Lasso Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
LassoIdWsf2DataService; LassoIdWsf2DataService* lasso_idwsf2_data_service_new (LassoServer *server); gint lasso_idwsf2_data_service_init_query (LassoIdWsf2DataService *service); gint lasso_idwsf2_data_service_add_query_item (LassoIdWsf2DataService *service, const gchar *item_query, const gchar *item_id); gint lasso_idwsf2_data_service_init_modify (LassoIdWsf2DataService *service); gint lasso_idwsf2_data_service_add_modify_item (LassoIdWsf2DataService *service, const gchar *item_query, xmlNode *new_data, gboolean overrideAllowed, const gchar *item_id);
LassoIdWsf2DataService* lasso_idwsf2_data_service_new (LassoServer *server);
Create a new LassoIdWsf2DataService.
|
a LassoServer object, for resolving ProviderIDs |
Returns : |
a newly created LassoIdWsf2DataService object |
gint lasso_idwsf2_data_service_init_query (LassoIdWsf2DataService *service);
Initialise an ID-WSF 2.0 DataService query request.
|
a LassoIdWsf2DataService |
Returns : |
0 on success; or a negative value otherwise. |
gint lasso_idwsf2_data_service_add_query_item (LassoIdWsf2DataService *service, const gchar *item_query, const gchar *item_id);
Add an item in the query request.
|
a LassoIdWsf2DataService |
|
a query string |
|
identifier of the queried item, which will allow to retrieve it in the response |
Returns : |
0 on success; or a negative value otherwise. |
gint lasso_idwsf2_data_service_init_modify (LassoIdWsf2DataService *service);
Initialise an ID-WSF 2.0 DataService modify request.
|
a LassoIdWsf2DataService |
Returns : |
0 on success; or a negative value otherwise. |
gint lasso_idwsf2_data_service_add_modify_item (LassoIdWsf2DataService *service, const gchar *item_query, xmlNode *new_data, gboolean overrideAllowed, const gchar *item_id);
Add an item in the modification request.
|
a LassoIdWsf2DataService |
|
XPATH of the item to modify |
|
new value for the selected item |
|
allow-none)(default FALSE. allow-none. default FALSE. |
|
identifier of the item to modify |
Returns : |
0 on success; or a negative value otherwise. |