sandesha2_next_msg_mgr.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef SANDESHA2_NEXT_MSG_MGR_H
00018 #define SANDESHA2_NEXT_MSG_MGR_H
00019
00025 #include <axutil_allocator.h>
00026 #include <axutil_env.h>
00027 #include <axutil_error.h>
00028 #include <axutil_string.h>
00029 #include <axutil_utils.h>
00030 #include <axis2_ctx.h>
00031 #include <axutil_array_list.h>
00032 #include <sandesha2_next_msg_bean.h>
00033
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038
00039 typedef struct sandesha2_next_msg_mgr sandesha2_next_msg_mgr_t;
00040 typedef struct sandesha2_next_msg_mgr_ops sandesha2_next_msg_mgr_ops_t;
00041
00047 AXIS2_DECLARE_DATA struct sandesha2_next_msg_mgr_ops
00048 {
00053 void (AXIS2_CALL *
00054 free)(
00055 sandesha2_next_msg_mgr_t *next_msg_mgr,
00056 const axutil_env_t *env);
00057
00058 axis2_bool_t (AXIS2_CALL *
00059 insert)(
00060 sandesha2_next_msg_mgr_t *next_msg_mgr,
00061 const axutil_env_t *env,
00062 sandesha2_next_msg_bean_t *bean);
00063
00064 axis2_bool_t (AXIS2_CALL *
00065 remove)(
00066 sandesha2_next_msg_mgr_t *next_msg_mgr,
00067 const axutil_env_t *env,
00068 axis2_char_t *seq_id);
00069
00070 sandesha2_next_msg_bean_t *(AXIS2_CALL *
00071 retrieve)(
00072 sandesha2_next_msg_mgr_t *next_msg_mgr,
00073 const axutil_env_t *env,
00074 axis2_char_t *seq_id);
00075
00076 axis2_bool_t (AXIS2_CALL *
00077 update)(
00078 sandesha2_next_msg_mgr_t *next_msg_mgr,
00079 const axutil_env_t *env,
00080 sandesha2_next_msg_bean_t *bean);
00081
00082 axutil_array_list_t *(AXIS2_CALL *
00083 find)(
00084 sandesha2_next_msg_mgr_t *next_msg_mgr,
00085 const axutil_env_t *env,
00086 sandesha2_next_msg_bean_t *bean);
00087
00088 sandesha2_next_msg_bean_t *(AXIS2_CALL *
00089 find_unique)(
00090 sandesha2_next_msg_mgr_t *next_msg_mgr,
00091 const axutil_env_t *env,
00092 sandesha2_next_msg_bean_t *bean);
00093
00094 axutil_array_list_t *(AXIS2_CALL *
00095 retrieve_all)(
00096 sandesha2_next_msg_mgr_t *next_msg_mgr,
00097 const axutil_env_t *env);
00098 };
00099
00100 AXIS2_DECLARE_DATA struct sandesha2_next_msg_mgr
00101 {
00102 sandesha2_next_msg_mgr_ops_t ops;
00103 };
00104
00105 AXIS2_EXTERN sandesha2_next_msg_mgr_t * AXIS2_CALL
00106 sandesha2_next_msg_mgr_create(
00107 const axutil_env_t *env,
00108 axis2_char_t *dbname);
00109
00110 void AXIS2_CALL
00111 sandesha2_next_msg_mgr_free(
00112 sandesha2_next_msg_mgr_t *next_msg_mgr,
00113 const axutil_env_t *env);
00114
00115 axis2_bool_t AXIS2_CALL
00116 sandesha2_next_msg_mgr_insert(
00117 sandesha2_next_msg_mgr_t *next_msg_mgr,
00118 const axutil_env_t *env,
00119 sandesha2_next_msg_bean_t *bean);
00120
00121 axis2_bool_t AXIS2_CALL
00122 sandesha2_next_msg_mgr_remove(
00123 sandesha2_next_msg_mgr_t *next_msg_mgr,
00124 const axutil_env_t *env,
00125 axis2_char_t *seq_id);
00126
00127 sandesha2_next_msg_bean_t *AXIS2_CALL
00128 sandesha2_next_msg_mgr_retrieve(
00129 sandesha2_next_msg_mgr_t *next_msg_mgr,
00130 const axutil_env_t *env,
00131 axis2_char_t *seq_id);
00132
00133 axis2_bool_t AXIS2_CALL
00134 sandesha2_next_msg_mgr_update(
00135 sandesha2_next_msg_mgr_t *next_msg_mgr,
00136 const axutil_env_t *env,
00137 sandesha2_next_msg_bean_t *bean);
00138
00139 axutil_array_list_t *AXIS2_CALL
00140 sandesha2_next_msg_mgr_find(
00141 sandesha2_next_msg_mgr_t *next_msg_mgr,
00142 const axutil_env_t *env,
00143 sandesha2_next_msg_bean_t *bean);
00144
00145 sandesha2_next_msg_bean_t *AXIS2_CALL
00146 sandesha2_next_msg_mgr_find_unique(
00147 sandesha2_next_msg_mgr_t *next_msg_mgr,
00148 const axutil_env_t *env,
00149 sandesha2_next_msg_bean_t *bean);
00150
00151 axutil_array_list_t *AXIS2_CALL
00152 sandesha2_next_msg_mgr_retrieve_all(
00153 sandesha2_next_msg_mgr_t *next_msg_mgr,
00154 const axutil_env_t *env);
00155
00156
00158 #ifdef __cplusplus
00159 }
00160 #endif
00161 #endif