Subversion Repository Public Repository

ConnectionOdbcSdk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
´╗┐using System;
using System.Collections.Generic;
using System.Data;
using Cisco.UnityConnection.OdbcSdk;

namespace ConnectionServer
{
    class ConnectionPostgresDatabaseFunctions : IConnectionDatabaseFunctions 
    {
        public string GreetingsAdministratorRoleObjectId { get; private set; }
        public string PrimaryLocationObjectId { get; private set; }
        public bool DebugMode { get; set; }
        public ConnectionState DatabaseConnectionStatus { get; private set; }

        public DbFetchResult AttachToDatabase(string pServerName, string pLoginName, string pPassword,
                                              string pDatabaseName = "UnityDirDb")
        {
            throw new NotImplementedException();
        }

        public void Disconnect()
        {
            throw new NotImplementedException();
        }

        public DbFetchResult UpdateStatisticsForMailstore(string pMailstoreName, string pServerName, string pLoginName,
                                                          string pPassword)
        {
            throw new NotImplementedException();
        }

        public string GetConfigurationString(string pFullConfigurationItemName)
        {
            throw new NotImplementedException();
        }

        public string GetRemoteFileName()
        {
            throw new NotImplementedException();
        }

        public bool IsStreamFileMarkedDeleted(string pStreamFileName)
        {
            throw new NotImplementedException();
        }

        public string GetActionDescription(string pConversationName, int pAction, string pDestinationObjectId,
                                           string pMenuEntryObjectId)
        {
            throw new NotImplementedException();
        }

        public bool ConnectionConversationNameExists(string pConversationName)
        {
            throw new NotImplementedException();
        }

        public bool ExtensionExists(string pDtmfAccessId, string pPartitionObjectId, out string pMatchDescription)
        {
            throw new NotImplementedException();
        }

        public string GetObjectDescription(string pObjectId, ObjectsTypesWithExtensions pObjectType)
        {
            throw new NotImplementedException();
        }

        public bool StartNewCommand(string pProcedureName, bool pIncludeAuditInfo = true)
        {
            throw new NotImplementedException();
        }

        public void AddCommandParam(string pParamName, DbParamType pType, string pValue, bool pAddOnlyIfNonZero = false)
        {
            throw new NotImplementedException();
        }

        public void AddCommandParam(string pParamName, DbParamType pIfxType, int pValue, bool pAddOnlyIfNonZero = false)
        {
            throw new NotImplementedException();
        }

        public void AddCommandParam(string pParamName, DbParamType pIfxType, long pValue, int pAddOnlyIfGreaterThanOrEqualTo)
        {
            throw new NotImplementedException();
        }

        public void AddCommandParam(string pParamName, DbParamType pIfxType, bool pValue)
        {
            throw new NotImplementedException();
        }

        public void AddCommandParam(string pParamName, DbParamType pIfxType, long pValue, bool pAddOnlyIfNonZero = false)
        {
            throw new NotImplementedException();
        }

        public void AddCommandParam(string pParamName, DbParamType pIfxType, DateTime pValue)
        {
            throw new NotImplementedException();
        }

        public DbFetchResult ExecuteProc()
        {
            throw new NotImplementedException();
        }

        public DbFetchResult ExecuteProc(out string pObjectIdReturn, string pObjectIdColumnName = "", bool pIgnoreReturnValue = false)
        {
            throw new NotImplementedException();
        }

        public void ClearProcMonitor()
        {
            throw new NotImplementedException();
        }

        public string GetProcString()
        {
            throw new NotImplementedException();
        }

        public string GetSingleValueFromQuery(string pQueryString, bool pSuppressErrorOnNoData = false, string pNoDataReturnString = "",
                                              params object[] pParams)
        {
            throw new NotImplementedException();
        }

        public List<string> GetMailstoresList()
        {
            throw new NotImplementedException();
        }

        public string GetPrimaryDtmfAccessId(string pParentObjectId)
        {
            throw new NotImplementedException();
        }

        public string GetAliasOfObject(string pObjectId)
        {
            throw new NotImplementedException();
        }

        public int GetCount(string pCountQueryString, params object[] pParams)
        {
            throw new NotImplementedException();
        }

        public int ExecuteNonQuery(string pQueryString, params object[] pParams)
        {
            throw new NotImplementedException();
        }

        public bool FindUserByAliasOrExtension(string pAlias, string pExtension, bool pRestrictSearchToLocalOnly,
                                               out int pMatchCountReturn, out string pObjectIdReturn,
                                               out string pMatchDescriptionReturn)
        {
            throw new NotImplementedException();
        }

        public bool FindHandlerByNameOrExtension(string pDisplayName, string pExtension, out int pMatchCountReturn,
                                                 out string pObjectIdReturn, out string pMatchDescriptionReturn)
        {
            throw new NotImplementedException();
        }

        public bool FindInterviewHandlerByNameOrExtension(string pDisplayName, string pExtension, out int pMatchCountReturn,
                                                          out string pObjectIdReturn, out string pMatchDescriptionReturn)
        {
            throw new NotImplementedException();
        }

        public bool FindNameLookupHandlerByNameOrExtension(string pDisplayName, string pExtension, out int pMatchCountReturn,
                                                           out string pObjectIdReturn, out string pMatchDescriptionReturn)
        {
            throw new NotImplementedException();
        }

        public bool FindDistributionListByAliasNameOrExtension(string pAlias, string pName, string pExtension,
                                                               out int pMatchCountReturn, out string pObjectIdReturn,
                                                               out string pMatchDescriptionReturn,
                                                               bool pSearchLocalPartitionOnly = false)
        {
            throw new NotImplementedException();
        }

        public DbFetchResult FillDataSetBlocking(string pQueryString, out DataSet pDataSet, bool pFailIfNoData = false,
                                                 params object[] pParams)
        {
            throw new NotImplementedException();
        }

        public DbFetchResult FillDataTableBlocking(string pQueryString, out DataTable pDataTable, bool pFailIfNoData = false,
                                                   params object[] pParams)
        {
            throw new NotImplementedException();
        }
    }
}

Commits for ConnectionOdbcSdk/trunk/ConnectionServer/ConnectionPostgresDatabaseFunctions.cs

Diff revisions: vs.
Revision Author Commited Message
5 jlindborg picture jlindborg Sat 01 Jun, 2013 03:10:24 +0000

adding stubs for PostgreSql functions (dreaming big)
Putting working copy of older style ODBC functions class in