summaryrefslogtreecommitdiff
path: root/cpp/demo/Database/Oracle/proc/DeptI.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Database/Oracle/proc/DeptI.h')
-rw-r--r--cpp/demo/Database/Oracle/proc/DeptI.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/cpp/demo/Database/Oracle/proc/DeptI.h b/cpp/demo/Database/Oracle/proc/DeptI.h
new file mode 100644
index 00000000000..57ab29e932b
--- /dev/null
+++ b/cpp/demo/Database/Oracle/proc/DeptI.h
@@ -0,0 +1,38 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#ifndef DEPTI_H
+#define DEPTI_H
+
+#include <HR.h>
+#include <CurrentSqlContext.h>
+
+class DeptI : public HR::Dept
+{
+public:
+
+ DeptI(const CurrentSqlContext&, const std::string&);
+
+ virtual void ice_ping(const Ice::Current&);
+
+ virtual HR::EmpPrx createEmp(int, const HR::EmpDesc&, const Ice::Current&);
+
+ virtual HR::DeptDesc getDesc(const Ice::Current&);
+ virtual void updateDesc(const HR::DeptDesc& newDesc, const Ice::Current&);
+ virtual void remove(const Ice::Current&);
+
+ virtual HR::EmpPrxSeq findAll(const Ice::Current&);
+ virtual HR::EmpPrxSeq findByName(const std::string&, const Ice::Current&);
+
+private:
+ const CurrentSqlContext _currentCtx;
+ const std::string _empCategory;
+};
+
+#endif