diff --git a/ccm-cms-types-address/sql/ccm-cms-types-address/oracle-se-drop.sql b/ccm-cms-types-address/sql/ccm-cms-types-address/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-address/sql/ccm-cms-types-address/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-address/sql/ccm-cms-types-address/postgres-drop.sql b/ccm-cms-types-address/sql/ccm-cms-types-address/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-address/sql/ccm-cms-types-address/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-address/src/ccm-cms-types-address.load b/ccm-cms-types-address/src/ccm-cms-types-address.load
index 95c7208a3..3fe5e51df 100755
--- a/ccm-cms-types-address/src/ccm-cms-types-address.load
+++ b/ccm-cms-types-address/src/ccm-cms-types-address.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-article/sql/ccm-cms-types-article/oracle-se-drop.sql b/ccm-cms-types-article/sql/ccm-cms-types-article/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-article/sql/ccm-cms-types-article/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-article/sql/ccm-cms-types-article/postgres-drop.sql b/ccm-cms-types-article/sql/ccm-cms-types-article/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-article/sql/ccm-cms-types-article/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-article/src/ccm-cms-types-article.load b/ccm-cms-types-article/src/ccm-cms-types-article.load
index d3ec833bb..549d0a8f9 100755
--- a/ccm-cms-types-article/src/ccm-cms-types-article.load
+++ b/ccm-cms-types-article/src/ccm-cms-types-article.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-bookmark/sql/ccm-cms-types-bookmark/oracle-se-drop.sql b/ccm-cms-types-bookmark/sql/ccm-cms-types-bookmark/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-bookmark/sql/ccm-cms-types-bookmark/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-bookmark/sql/ccm-cms-types-bookmark/postgres-drop.sql b/ccm-cms-types-bookmark/sql/ccm-cms-types-bookmark/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-bookmark/sql/ccm-cms-types-bookmark/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-bookmark/src/ccm-cms-types-bookmark.load b/ccm-cms-types-bookmark/src/ccm-cms-types-bookmark.load
index b47eb8cb6..fb2f84ec5 100755
--- a/ccm-cms-types-bookmark/src/ccm-cms-types-bookmark.load
+++ b/ccm-cms-types-bookmark/src/ccm-cms-types-bookmark.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-contact/sql/ccm-cms-types-contact/oracle-se-drop.sql b/ccm-cms-types-contact/sql/ccm-cms-types-contact/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-contact/sql/ccm-cms-types-contact/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-contact/sql/ccm-cms-types-contact/postgres-drop.sql b/ccm-cms-types-contact/sql/ccm-cms-types-contact/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-contact/sql/ccm-cms-types-contact/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-contact/src/ccm-cms-types-contact.load b/ccm-cms-types-contact/src/ccm-cms-types-contact.load
index dbce608bb..095d44866 100755
--- a/ccm-cms-types-contact/src/ccm-cms-types-contact.load
+++ b/ccm-cms-types-contact/src/ccm-cms-types-contact.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-decisiontree/sql/ccm-cms-types-decisiontree/oracle-se-drop.sql b/ccm-cms-types-decisiontree/sql/ccm-cms-types-decisiontree/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-decisiontree/sql/ccm-cms-types-decisiontree/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-decisiontree/sql/ccm-cms-types-decisiontree/postgres-drop.sql b/ccm-cms-types-decisiontree/sql/ccm-cms-types-decisiontree/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-decisiontree/sql/ccm-cms-types-decisiontree/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-decisiontree/src/ccm-cms-types-decisiontree.load b/ccm-cms-types-decisiontree/src/ccm-cms-types-decisiontree.load
index 79aee3119..ab0aa16d8 100644
--- a/ccm-cms-types-decisiontree/src/ccm-cms-types-decisiontree.load
+++ b/ccm-cms-types-decisiontree/src/ccm-cms-types-decisiontree.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-faqitem/sql/ccm-cms-types-faqitem/oracle-se-drop.sql b/ccm-cms-types-faqitem/sql/ccm-cms-types-faqitem/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-faqitem/sql/ccm-cms-types-faqitem/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-faqitem/sql/ccm-cms-types-faqitem/postgres-drop.sql b/ccm-cms-types-faqitem/sql/ccm-cms-types-faqitem/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-faqitem/sql/ccm-cms-types-faqitem/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-faqitem/src/ccm-cms-types-faqitem.load b/ccm-cms-types-faqitem/src/ccm-cms-types-faqitem.load
index ce4e02075..5bd598f51 100755
--- a/ccm-cms-types-faqitem/src/ccm-cms-types-faqitem.load
+++ b/ccm-cms-types-faqitem/src/ccm-cms-types-faqitem.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-filestorageitem/sql/ccm-cms-types-filestorageitem/oracle-se-drop.sql b/ccm-cms-types-filestorageitem/sql/ccm-cms-types-filestorageitem/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-filestorageitem/sql/ccm-cms-types-filestorageitem/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-filestorageitem/sql/ccm-cms-types-filestorageitem/postgres-drop.sql b/ccm-cms-types-filestorageitem/sql/ccm-cms-types-filestorageitem/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-filestorageitem/sql/ccm-cms-types-filestorageitem/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-filestorageitem/src/ccm-cms-types-filestorageitem.load b/ccm-cms-types-filestorageitem/src/ccm-cms-types-filestorageitem.load
index b44e4e02a..4fbcefecb 100755
--- a/ccm-cms-types-filestorageitem/src/ccm-cms-types-filestorageitem.load
+++ b/ccm-cms-types-filestorageitem/src/ccm-cms-types-filestorageitem.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-formitem/sql/ccm-cms-types-formitem/oracle-se-drop.sql b/ccm-cms-types-formitem/sql/ccm-cms-types-formitem/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-formitem/sql/ccm-cms-types-formitem/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-formitem/sql/ccm-cms-types-formitem/postgres-drop.sql b/ccm-cms-types-formitem/sql/ccm-cms-types-formitem/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-formitem/sql/ccm-cms-types-formitem/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-formitem/src/ccm-cms-types-formitem.load b/ccm-cms-types-formitem/src/ccm-cms-types-formitem.load
index 15e285dab..2c9f374a0 100755
--- a/ccm-cms-types-formitem/src/ccm-cms-types-formitem.load
+++ b/ccm-cms-types-formitem/src/ccm-cms-types-formitem.load
@@ -14,5 +14,6 @@
+
diff --git a/ccm-cms-types-formitem/src/com/arsdigita/cms/formbuilder/FormItemLoader.java b/ccm-cms-types-formitem/src/com/arsdigita/cms/formbuilder/FormItemLoader.java
index 4f939fb20..767a6cd56 100755
--- a/ccm-cms-types-formitem/src/com/arsdigita/cms/formbuilder/FormItemLoader.java
+++ b/ccm-cms-types-formitem/src/com/arsdigita/cms/formbuilder/FormItemLoader.java
@@ -50,6 +50,7 @@ public class FormItemLoader extends AbstractContentTypeLoader {
"/WEB-INF/content-types/com/arsdigita/cms/formbuilder/FormItem.xml"
};
+ @Override
public String[] getTypes() {
return TYPES;
}
diff --git a/ccm-cms-types-formsectionitem/sql/ccm-cms-types-formsectionitem/oracle-se-drop.sql b/ccm-cms-types-formsectionitem/sql/ccm-cms-types-formsectionitem/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-formsectionitem/sql/ccm-cms-types-formsectionitem/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-formsectionitem/sql/ccm-cms-types-formsectionitem/postgres-drop.sql b/ccm-cms-types-formsectionitem/sql/ccm-cms-types-formsectionitem/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-formsectionitem/sql/ccm-cms-types-formsectionitem/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-formsectionitem/src/ccm-cms-types-formsectionitem.load b/ccm-cms-types-formsectionitem/src/ccm-cms-types-formsectionitem.load
index c6f18c5bf..61ee4846e 100755
--- a/ccm-cms-types-formsectionitem/src/ccm-cms-types-formsectionitem.load
+++ b/ccm-cms-types-formsectionitem/src/ccm-cms-types-formsectionitem.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-formsectionitem/src/com/arsdigita/cms/formbuilder/FormSectionItemLoader.java b/ccm-cms-types-formsectionitem/src/com/arsdigita/cms/formbuilder/FormSectionItemLoader.java
index 24538d7f9..e59842e25 100755
--- a/ccm-cms-types-formsectionitem/src/com/arsdigita/cms/formbuilder/FormSectionItemLoader.java
+++ b/ccm-cms-types-formsectionitem/src/com/arsdigita/cms/formbuilder/FormSectionItemLoader.java
@@ -51,6 +51,7 @@ public class FormSectionItemLoader extends AbstractContentTypeLoader {
loadInfo();
}
+ @Override
public String[] getTypes() {
return TYPES;
}
diff --git a/ccm-cms-types-glossaryitem/sql/ccm-cms-types-glossaryitem/oracle-se-drop.sql b/ccm-cms-types-glossaryitem/sql/ccm-cms-types-glossaryitem/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-glossaryitem/sql/ccm-cms-types-glossaryitem/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-glossaryitem/sql/ccm-cms-types-glossaryitem/postgres-drop.sql b/ccm-cms-types-glossaryitem/sql/ccm-cms-types-glossaryitem/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-glossaryitem/sql/ccm-cms-types-glossaryitem/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-glossaryitem/src/ccm-cms-types-glossaryitem.load b/ccm-cms-types-glossaryitem/src/ccm-cms-types-glossaryitem.load
index e085f77cb..89a6ab786 100755
--- a/ccm-cms-types-glossaryitem/src/ccm-cms-types-glossaryitem.load
+++ b/ccm-cms-types-glossaryitem/src/ccm-cms-types-glossaryitem.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-healthCareFacility/sql/ccm-cms-types-healthCareFacility/oracle-se-drop.sql b/ccm-cms-types-healthCareFacility/sql/ccm-cms-types-healthCareFacility/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-healthCareFacility/sql/ccm-cms-types-healthCareFacility/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-healthCareFacility/sql/ccm-cms-types-healthCareFacility/postgres-drop.sql b/ccm-cms-types-healthCareFacility/sql/ccm-cms-types-healthCareFacility/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-healthCareFacility/sql/ccm-cms-types-healthCareFacility/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-healthCareFacility/src/ccm-cms-types-healthCareFacility.load b/ccm-cms-types-healthCareFacility/src/ccm-cms-types-healthCareFacility.load
index 256bd4cce..8b160b989 100644
--- a/ccm-cms-types-healthCareFacility/src/ccm-cms-types-healthCareFacility.load
+++ b/ccm-cms-types-healthCareFacility/src/ccm-cms-types-healthCareFacility.load
@@ -13,5 +13,6 @@
+
diff --git a/ccm-cms-types-historicdate/sql/ccm-cms-types-historicdate/oracle-se-drop.sql b/ccm-cms-types-historicdate/sql/ccm-cms-types-historicdate/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-historicdate/sql/ccm-cms-types-historicdate/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-historicdate/sql/ccm-cms-types-historicdate/postgres-drop.sql b/ccm-cms-types-historicdate/sql/ccm-cms-types-historicdate/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-historicdate/sql/ccm-cms-types-historicdate/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-historicdate/src/ccm-cms-types-historicdate.load b/ccm-cms-types-historicdate/src/ccm-cms-types-historicdate.load
index ba6e16620..e61af8ddd 100644
--- a/ccm-cms-types-historicdate/src/ccm-cms-types-historicdate.load
+++ b/ccm-cms-types-historicdate/src/ccm-cms-types-historicdate.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-image/sql/ccm-cms-types-image/oracle-se-drop.sql b/ccm-cms-types-image/sql/ccm-cms-types-image/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-image/sql/ccm-cms-types-image/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-image/sql/ccm-cms-types-image/postgres-drop.sql b/ccm-cms-types-image/sql/ccm-cms-types-image/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-image/sql/ccm-cms-types-image/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-image/src/ccm-cms-types-image.load b/ccm-cms-types-image/src/ccm-cms-types-image.load
index 595aaf2fe..33198c21d 100755
--- a/ccm-cms-types-image/src/ccm-cms-types-image.load
+++ b/ccm-cms-types-image/src/ccm-cms-types-image.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-member/sql/ccm-cms-types-member/oracle-se-drop.sql b/ccm-cms-types-member/sql/ccm-cms-types-member/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-member/sql/ccm-cms-types-member/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-member/sql/ccm-cms-types-member/postgres-drop.sql b/ccm-cms-types-member/sql/ccm-cms-types-member/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-member/sql/ccm-cms-types-member/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-member/src/ccm-cms-types-member.load b/ccm-cms-types-member/src/ccm-cms-types-member.load
index ec0a81bd8..45ceab391 100644
--- a/ccm-cms-types-member/src/ccm-cms-types-member.load
+++ b/ccm-cms-types-member/src/ccm-cms-types-member.load
@@ -12,5 +12,6 @@
+
\ No newline at end of file
diff --git a/ccm-cms-types-motditem/sql/ccm-cms-types-motditem/oracle-se-drop.sql b/ccm-cms-types-motditem/sql/ccm-cms-types-motditem/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-motditem/sql/ccm-cms-types-motditem/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-motditem/sql/ccm-cms-types-motditem/postgres-drop.sql b/ccm-cms-types-motditem/sql/ccm-cms-types-motditem/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-motditem/sql/ccm-cms-types-motditem/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-motditem/src/ccm-cms-types-motditem.load b/ccm-cms-types-motditem/src/ccm-cms-types-motditem.load
index dd49b57c5..9735e9309 100755
--- a/ccm-cms-types-motditem/src/ccm-cms-types-motditem.load
+++ b/ccm-cms-types-motditem/src/ccm-cms-types-motditem.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-motditem/src/com/arsdigita/cms/contenttypes/MOTDItemLoader.java b/ccm-cms-types-motditem/src/com/arsdigita/cms/contenttypes/MOTDItemLoader.java
index 863ab6242..aeeb13df7 100755
--- a/ccm-cms-types-motditem/src/com/arsdigita/cms/contenttypes/MOTDItemLoader.java
+++ b/ccm-cms-types-motditem/src/com/arsdigita/cms/contenttypes/MOTDItemLoader.java
@@ -29,6 +29,7 @@ import com.arsdigita.loader.PackageLoader;
*/
public class MOTDItemLoader extends PackageLoader {
+ @Override
public void run(final ScriptContext ctx) {
// XXX content type definition
// nada
diff --git a/ccm-cms-types-mparticle/sql/ccm-cms-types-mparticle/oracle-se-drop.sql b/ccm-cms-types-mparticle/sql/ccm-cms-types-mparticle/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-mparticle/sql/ccm-cms-types-mparticle/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-mparticle/sql/ccm-cms-types-mparticle/postgres-drop.sql b/ccm-cms-types-mparticle/sql/ccm-cms-types-mparticle/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-mparticle/sql/ccm-cms-types-mparticle/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-mparticle/src/ccm-cms-types-mparticle.load b/ccm-cms-types-mparticle/src/ccm-cms-types-mparticle.load
index c9f3ccffc..c331e75b5 100755
--- a/ccm-cms-types-mparticle/src/ccm-cms-types-mparticle.load
+++ b/ccm-cms-types-mparticle/src/ccm-cms-types-mparticle.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-mparticle/src/com/arsdigita/cms/contenttypes/MultiPartArticleLoader.java b/ccm-cms-types-mparticle/src/com/arsdigita/cms/contenttypes/MultiPartArticleLoader.java
index 21609e79c..5fe675d45 100755
--- a/ccm-cms-types-mparticle/src/com/arsdigita/cms/contenttypes/MultiPartArticleLoader.java
+++ b/ccm-cms-types-mparticle/src/com/arsdigita/cms/contenttypes/MultiPartArticleLoader.java
@@ -18,15 +18,6 @@
*/
package com.arsdigita.cms.contenttypes;
-import com.arsdigita.cms.ContentSection;
-import com.arsdigita.cms.ContentType;
-import com.arsdigita.cms.lifecycle.LifecycleDefinition;
-import com.arsdigita.util.parameter.Parameter;
-import com.arsdigita.util.parameter.ResourceParameter;
-import com.arsdigita.workflow.simple.WorkflowTemplate;
-
-import java.io.InputStream;
-
import org.apache.log4j.Logger;
/**
diff --git a/ccm-cms-types-newsitem/sql/ccm-cms-types-newsitem/oracle-se-drop.sql b/ccm-cms-types-newsitem/sql/ccm-cms-types-newsitem/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-newsitem/sql/ccm-cms-types-newsitem/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-newsitem/sql/ccm-cms-types-newsitem/postgres-drop.sql b/ccm-cms-types-newsitem/sql/ccm-cms-types-newsitem/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-newsitem/sql/ccm-cms-types-newsitem/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-newsitem/src/ccm-cms-types-newsitem.load b/ccm-cms-types-newsitem/src/ccm-cms-types-newsitem.load
index 40ece9fea..8abbe52aa 100755
--- a/ccm-cms-types-newsitem/src/ccm-cms-types-newsitem.load
+++ b/ccm-cms-types-newsitem/src/ccm-cms-types-newsitem.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-organization/sql/ccm-cms-types-organization/oracle-se-drop.sql b/ccm-cms-types-organization/sql/ccm-cms-types-organization/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-organization/sql/ccm-cms-types-organization/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-organization/sql/ccm-cms-types-organization/postgres-drop.sql b/ccm-cms-types-organization/sql/ccm-cms-types-organization/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-organization/sql/ccm-cms-types-organization/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-organization/src/ccm-cms-types-organization.load b/ccm-cms-types-organization/src/ccm-cms-types-organization.load
index a4d29ceb0..1040caf3f 100644
--- a/ccm-cms-types-organization/src/ccm-cms-types-organization.load
+++ b/ccm-cms-types-organization/src/ccm-cms-types-organization.load
@@ -12,5 +12,6 @@
+
\ No newline at end of file
diff --git a/ccm-cms-types-person/sql/ccm-cms-types-person/oracle-se-drop.sql b/ccm-cms-types-person/sql/ccm-cms-types-person/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-person/sql/ccm-cms-types-person/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-person/sql/ccm-cms-types-person/postgres-drop.sql b/ccm-cms-types-person/sql/ccm-cms-types-person/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-person/sql/ccm-cms-types-person/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-person/src/ccm-cms-types-person.load b/ccm-cms-types-person/src/ccm-cms-types-person.load
index 23e2bfa60..c0b970d36 100644
--- a/ccm-cms-types-person/src/ccm-cms-types-person.load
+++ b/ccm-cms-types-person/src/ccm-cms-types-person.load
@@ -12,5 +12,6 @@
+
\ No newline at end of file
diff --git a/ccm-cms-types-pressrelease/sql/ccm-cms-types-pressrelease/oracle-se-drop.sql b/ccm-cms-types-pressrelease/sql/ccm-cms-types-pressrelease/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-pressrelease/sql/ccm-cms-types-pressrelease/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-pressrelease/sql/ccm-cms-types-pressrelease/postgres-drop.sql b/ccm-cms-types-pressrelease/sql/ccm-cms-types-pressrelease/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-pressrelease/sql/ccm-cms-types-pressrelease/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-pressrelease/src/ccm-cms-types-pressrelease.load b/ccm-cms-types-pressrelease/src/ccm-cms-types-pressrelease.load
index aa6d51d46..88febb6f7 100755
--- a/ccm-cms-types-pressrelease/src/ccm-cms-types-pressrelease.load
+++ b/ccm-cms-types-pressrelease/src/ccm-cms-types-pressrelease.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-researchnetwork/sql/ccm-cms-types-researchnetwork/oracle-se-drop.sql b/ccm-cms-types-researchnetwork/sql/ccm-cms-types-researchnetwork/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-researchnetwork/sql/ccm-cms-types-researchnetwork/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-researchnetwork/sql/ccm-cms-types-researchnetwork/postgres-drop.sql b/ccm-cms-types-researchnetwork/sql/ccm-cms-types-researchnetwork/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-researchnetwork/sql/ccm-cms-types-researchnetwork/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-researchnetwork/src/ccm-cms-types-researchnetwork.load b/ccm-cms-types-researchnetwork/src/ccm-cms-types-researchnetwork.load
index 543dde2e8..5d303adb7 100644
--- a/ccm-cms-types-researchnetwork/src/ccm-cms-types-researchnetwork.load
+++ b/ccm-cms-types-researchnetwork/src/ccm-cms-types-researchnetwork.load
@@ -14,5 +14,6 @@
+
\ No newline at end of file
diff --git a/ccm-cms-types-simpleaddress/sql/ccm-cms-types-simpleaddress/oracle-se-drop.sql b/ccm-cms-types-simpleaddress/sql/ccm-cms-types-simpleaddress/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-simpleaddress/sql/ccm-cms-types-simpleaddress/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-simpleaddress/sql/ccm-cms-types-simpleaddress/postgres-drop.sql b/ccm-cms-types-simpleaddress/sql/ccm-cms-types-simpleaddress/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-simpleaddress/sql/ccm-cms-types-simpleaddress/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-simpleaddress/src/ccm-cms-types-simpleaddress.load b/ccm-cms-types-simpleaddress/src/ccm-cms-types-simpleaddress.load
index 1c3f0604b..f7f646e97 100755
--- a/ccm-cms-types-simpleaddress/src/ccm-cms-types-simpleaddress.load
+++ b/ccm-cms-types-simpleaddress/src/ccm-cms-types-simpleaddress.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-siteproxy/sql/ccm-cms-types-siteproxy/oracle-se-drop.sql b/ccm-cms-types-siteproxy/sql/ccm-cms-types-siteproxy/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-siteproxy/sql/ccm-cms-types-siteproxy/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-siteproxy/sql/ccm-cms-types-siteproxy/postgres-drop.sql b/ccm-cms-types-siteproxy/sql/ccm-cms-types-siteproxy/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-siteproxy/sql/ccm-cms-types-siteproxy/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-siteproxy/src/ccm-cms-types-siteproxy.load b/ccm-cms-types-siteproxy/src/ccm-cms-types-siteproxy.load
index 97274f193..c9304ab45 100755
--- a/ccm-cms-types-siteproxy/src/ccm-cms-types-siteproxy.load
+++ b/ccm-cms-types-siteproxy/src/ccm-cms-types-siteproxy.load
@@ -12,5 +12,6 @@
+
diff --git a/ccm-cms-types-survey/sql/ccm-cms-types-survey/oracle-se-drop.sql b/ccm-cms-types-survey/sql/ccm-cms-types-survey/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-survey/sql/ccm-cms-types-survey/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-survey/sql/ccm-cms-types-survey/postgres-drop.sql b/ccm-cms-types-survey/sql/ccm-cms-types-survey/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-survey/sql/ccm-cms-types-survey/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-survey/src/ccm-cms-types-survey.load b/ccm-cms-types-survey/src/ccm-cms-types-survey.load
index dbfe8cf32..11c833bc2 100755
--- a/ccm-cms-types-survey/src/ccm-cms-types-survey.load
+++ b/ccm-cms-types-survey/src/ccm-cms-types-survey.load
@@ -16,5 +16,6 @@
+
diff --git a/ccm-cms-types-xmlfeed/sql/ccm-cms-types-xmlfeed/oracle-se-drop.sql b/ccm-cms-types-xmlfeed/sql/ccm-cms-types-xmlfeed/oracle-se-drop.sql
new file mode 100644
index 000000000..cdb23b3a5
--- /dev/null
+++ b/ccm-cms-types-xmlfeed/sql/ccm-cms-types-xmlfeed/oracle-se-drop.sql
@@ -0,0 +1,20 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: oracle-se-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+@ ddl/oracle-se/drop-constraints.sql
+@ ddl/oracle-se/drop-tables.sql
\ No newline at end of file
diff --git a/ccm-cms-types-xmlfeed/sql/ccm-cms-types-xmlfeed/postgres-drop.sql b/ccm-cms-types-xmlfeed/sql/ccm-cms-types-xmlfeed/postgres-drop.sql
new file mode 100644
index 000000000..2a0d6023f
--- /dev/null
+++ b/ccm-cms-types-xmlfeed/sql/ccm-cms-types-xmlfeed/postgres-drop.sql
@@ -0,0 +1,22 @@
+--
+-- Copyright (C) 2005 Red Hat Inc. All Rights Reserved.
+--
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public License
+-- as published by the Free Software Foundation; either version 2.1 of
+-- the License, or (at your option) any later version.
+--
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
+--
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+--
+-- $Id: postgres-drop.sql 1 2015-04-15 13:47:30Z tosmers $
+begin;
+\i ddl/postgres/drop-constraints.sql
+\i ddl/postgres/drop-tables.sql
+end;
\ No newline at end of file
diff --git a/ccm-cms-types-xmlfeed/src/ccm-cms-types-xmlfeed.load b/ccm-cms-types-xmlfeed/src/ccm-cms-types-xmlfeed.load
index 6dc3953ab..65e041916 100755
--- a/ccm-cms-types-xmlfeed/src/ccm-cms-types-xmlfeed.load
+++ b/ccm-cms-types-xmlfeed/src/ccm-cms-types-xmlfeed.load
@@ -17,5 +17,6 @@
+
diff --git a/ccm-cms/src/com/arsdigita/cms/contenttypes/XMLContentTypeHandler.java b/ccm-cms/src/com/arsdigita/cms/contenttypes/XMLContentTypeHandler.java
index 583054afb..f59b69153 100755
--- a/ccm-cms/src/com/arsdigita/cms/contenttypes/XMLContentTypeHandler.java
+++ b/ccm-cms/src/com/arsdigita/cms/contenttypes/XMLContentTypeHandler.java
@@ -64,6 +64,7 @@ public class XMLContentTypeHandler extends DefaultHandler {
@Override
public void startElement(String uri, String name,
String qName, Attributes atts) {
+ boolean deletableType = false;
if (name.equals("content-types")) {
s_log.debug("matched content-types");
} else if (name.equals("content-type")) {
@@ -102,6 +103,9 @@ public class XMLContentTypeHandler extends DefaultHandler {
m_contentType = m_type.createType();
m_types.add(m_contentType);
+
+ // m_type has been initialized
+ deletableType = true;
} else if (name.equals("authoring-kit")) {
if (!m_including) {
s_log.debug("matched authoring-kit");
@@ -110,6 +114,9 @@ public class XMLContentTypeHandler extends DefaultHandler {
}
m_authoringKit = m_type.createAuthoringKit();
m_nextOrder = 1;
+
+ // only true if it has been initialized
+ deletableType &= true;
}
} else if (name.equals("authoring-step")) {
String label = atts.getValue("label");
@@ -137,6 +144,10 @@ public class XMLContentTypeHandler extends DefaultHandler {
s_log.error("None of the elements match! name: " + name
+ " qName: " + qName + " URI: " + uri);
}
+
+ if (!create && deletableType) {
+ //m_type.deleteType();
+ }
}
}