sandesha2_create_seq_mgr.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 #ifndef SANDESHA2_CREATE_SEQ_MGR_H
00018 #define SANDESHA2_CREATE_SEQ_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_create_seq_bean.h>
00033 
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038 
00039 typedef struct sandesha2_create_seq_mgr sandesha2_create_seq_mgr_t;
00040 typedef struct sandesha2_create_seq_mgr_ops sandesha2_create_seq_mgr_ops_t;
00041 
00047 AXIS2_DECLARE_DATA struct sandesha2_create_seq_mgr_ops
00048 {
00053     void (AXIS2_CALL *
00054         free) (
00055                 sandesha2_create_seq_mgr_t *seq_mgr,
00056                 const axutil_env_t *env);
00057      
00058     axis2_bool_t (AXIS2_CALL *
00059         insert) (
00060                 sandesha2_create_seq_mgr_t *seq_mgr,
00061                 const axutil_env_t *env,
00062                 sandesha2_create_seq_bean_t *bean);
00063 
00064     axis2_bool_t (AXIS2_CALL *
00065         remove) (
00066                 sandesha2_create_seq_mgr_t *seq_mgr,
00067                 const axutil_env_t *env,
00068                 axis2_char_t *msg_id);
00069 
00070     sandesha2_create_seq_bean_t *(AXIS2_CALL *
00071         retrieve) (
00072                 sandesha2_create_seq_mgr_t *seq_mgr,
00073                 const axutil_env_t *env,
00074                 axis2_char_t *msg_id);
00075 
00076     axis2_bool_t (AXIS2_CALL *
00077         update) (
00078                 sandesha2_create_seq_mgr_t *seq_mgr,
00079                 const axutil_env_t *env,
00080                 sandesha2_create_seq_bean_t *bean);
00081 
00082     axutil_array_list_t *(AXIS2_CALL *
00083         find) (
00084                 sandesha2_create_seq_mgr_t *seq_mgr,
00085                 const axutil_env_t *env,
00086                 sandesha2_create_seq_bean_t *bean);
00087 
00088     sandesha2_create_seq_bean_t *(AXIS2_CALL *
00089         find_unique) (
00090                 sandesha2_create_seq_mgr_t *seq_mgr,
00091                 const axutil_env_t *env,
00092                 sandesha2_create_seq_bean_t *bean);
00093 };
00094 
00095 AXIS2_DECLARE_DATA struct sandesha2_create_seq_mgr
00096 {
00097     sandesha2_create_seq_mgr_ops_t ops;
00098 };
00099 
00100 AXIS2_EXTERN sandesha2_create_seq_mgr_t * AXIS2_CALL
00101 sandesha2_create_seq_mgr_create(
00102     const axutil_env_t *env,
00103     axis2_char_t *dbname);
00104 
00105 void AXIS2_CALL 
00106 sandesha2_create_seq_mgr_free(
00107     sandesha2_create_seq_mgr_t *seq_mgr,
00108     const axutil_env_t *env);
00109 
00110 axis2_bool_t AXIS2_CALL
00111 sandesha2_create_seq_mgr_insert(
00112     sandesha2_create_seq_mgr_t *seq_mgr,
00113     const axutil_env_t *env,
00114     sandesha2_create_seq_bean_t *bean);
00115 
00116 axis2_bool_t AXIS2_CALL
00117 sandesha2_create_seq_mgr_remove(
00118     sandesha2_create_seq_mgr_t *seq_mgr,
00119     const axutil_env_t *env,
00120     axis2_char_t *msg_id);
00121 
00122 sandesha2_create_seq_bean_t *AXIS2_CALL
00123 sandesha2_create_seq_mgr_retrieve(
00124     sandesha2_create_seq_mgr_t *seq_mgr,
00125     const axutil_env_t *env,
00126     axis2_char_t *msg_id);
00127 
00128 axis2_bool_t AXIS2_CALL
00129 sandesha2_create_seq_mgr_update(
00130     sandesha2_create_seq_mgr_t *seq_mgr,
00131     const axutil_env_t *env,
00132     sandesha2_create_seq_bean_t *bean);
00133 
00134 axutil_array_list_t *AXIS2_CALL
00135 sandesha2_create_seq_mgr_find(
00136     sandesha2_create_seq_mgr_t *seq_mgr,
00137     const axutil_env_t *env,
00138     sandesha2_create_seq_bean_t *bean);
00139 
00140 sandesha2_create_seq_bean_t *AXIS2_CALL
00141 sandesha2_create_seq_mgr_find_unique(
00142     sandesha2_create_seq_mgr_t *seq_mgr,
00143     const axutil_env_t *env,
00144     sandesha2_create_seq_bean_t *bean);
00145 
00147 #ifdef __cplusplus
00148 }
00149 #endif
00150 #endif /* SANDESHA2_CREATE_SEQ_MGR_H */

Generated on Wed Oct 14 01:02:17 2009 for Sandesha2/C by  doxygen 1.5.7.1