]> err.no Git - scalable-opengroupware.org/commitdiff
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1136 d1b88da0-ebda-0310...
authorwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 6 Aug 2007 19:43:46 +0000 (19:43 +0000)
committerwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 6 Aug 2007 19:43:46 +0000 (19:43 +0000)
OGoContentStore/appointment-oracle.ocs [new file with mode: 0644]
OGoContentStore/contact-oracle.ocs [new file with mode: 0644]

diff --git a/OGoContentStore/appointment-oracle.ocs b/OGoContentStore/appointment-oracle.ocs
new file mode 100644 (file)
index 0000000..96769c6
--- /dev/null
@@ -0,0 +1,108 @@
+{
+  blobTablePattern = "SOGo_$folderId$_blob";
+  quickTablePattern = "SOGo_$folderId$_quick";
+  extractorClassName = "OCSiCalFieldExtractor";
+
+  fields = (
+    {
+      columnName = c_name;
+      sqlType    = "VARCHAR2(256)";
+      allowsNull = NO;
+    },
+    {
+      columnName = c_uid;
+      sqlType    = "VARCHAR2(256)";
+      allowsNull = NO;
+    },
+    {
+      columnName = c_startdate;
+      sqlType    = "INTEGER";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_enddate;
+      sqlType    = "INTEGER";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_cycleenddate;
+      sqlType    = "INTEGER";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_title;
+      sqlType    = "VARCHAR2(1000)";
+      allowsNull = NO;
+    },
+    {
+      columnName = c_participants;
+      sqlType    = "CLOB";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_isallday;
+      sqlType    = "INTEGER";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_iscycle;
+      sqlType    = "INTEGER";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_cycleinfo;
+      sqlType    = "VARCHAR2(1000)";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_classification;
+      sqlType    = "INTEGER";
+      allowsNull = NO;
+    },
+    {
+      columnName = c_isopaque;
+      sqlType    = "INTEGER";
+      allowsNull = NO;
+    },
+    {
+      columnName = c_status;
+      sqlType    = "INTEGER";
+      allowsNull = NO;
+    },
+    {
+      columnName = c_priority;
+      sqlType    = "INTEGER";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_location;
+      sqlType    = "VARCHAR2(256)";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_orgmail;
+      sqlType    = "VARCHAR2(256)";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_partmails;
+      sqlType    = "CLOB";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_partstates;
+      sqlType    = "VARCHAR2(256)";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_sequence;
+      sqlType    = "INTEGER";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_component;
+      sqlType    = "VARCHAR2(10)";
+      allowsNull = NO;
+    },
+  );
+}
diff --git a/OGoContentStore/contact-oracle.ocs b/OGoContentStore/contact-oracle.ocs
new file mode 100644 (file)
index 0000000..1174d64
--- /dev/null
@@ -0,0 +1,58 @@
+{
+  blobTablePattern  = "SOGo_$folderId$_blob";
+  quickTablePattern = "SOGo_$folderId$_quick";
+  extractorClassName= "OCSContactFieldExtractor";
+
+  fields = (
+    {
+      columnName = c_name;
+      sqlType    = "VARCHAR2(256)";
+      allowsNull = NO;
+    },
+    {
+      columnName = c_givenname;
+      sqlType    = "VARCHAR2(256)";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_cn;
+      sqlType    = "VARCHAR2(256)";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_sn;
+      sqlType    = "VARCHAR2(256)";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_screenname;
+      sqlType    = "VARCHAR2(256)";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_l;
+      sqlType    = "VARCHAR2(256)";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_mail;
+      sqlType    = "VARCHAR2(256)";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_o;
+      sqlType    = "VARCHAR2(256)";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_ou;
+      sqlType    = "VARCHAR2(256)";
+      allowsNull = YES;
+    },
+    {
+      columnName = c_telephoneNumber;
+      sqlType    = "VARCHAR2(256)";
+      allowsNull = YES;
+    },
+  );
+}