[FEATURE]
Alle Content-Typen (ccm-cms-types-...) haben jetzt die Unload-Unterstützung. git-svn-id: https://svn.libreccm.org/ccm/trunk@3500 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
fac695044f
commit
a4a9ae414a
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-address"/>
|
<schema directory="ccm-cms-types-address"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.AddressLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.AddressLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.AddressUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-article"/>
|
<schema directory="ccm-cms-types-article"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.ArticleLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.ArticleLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.ArticleUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-bookmark"/>
|
<schema directory="ccm-cms-types-bookmark"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.BookmarkLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.BookmarkLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.BookmarkUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-contact"/>
|
<schema directory="ccm-cms-types-contact"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.ContactLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.ContactLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.ContactUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-decisiontree"/>
|
<schema directory="ccm-cms-types-decisiontree"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.DecisionTreeLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.DecisionTreeLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.DecisionTreeUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-faqitem"/>
|
<schema directory="ccm-cms-types-faqitem"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.FAQItemLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.FAQItemLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.FAQItemUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-filestorageitem"/>
|
<schema directory="ccm-cms-types-filestorageitem"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.FileStorageItemLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.FileStorageItemLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.FileStorageItemUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -14,5 +14,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-formitem"/>
|
<schema directory="ccm-cms-types-formitem"/>
|
||||||
<data class="com.arsdigita.cms.formbuilder.FormItemLoader"/>
|
<data class="com.arsdigita.cms.formbuilder.FormItemLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.formbuilder.FormItemUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@ public class FormItemLoader extends AbstractContentTypeLoader {
|
||||||
"/WEB-INF/content-types/com/arsdigita/cms/formbuilder/FormItem.xml"
|
"/WEB-INF/content-types/com/arsdigita/cms/formbuilder/FormItem.xml"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@Override
|
||||||
public String[] getTypes() {
|
public String[] getTypes() {
|
||||||
return TYPES;
|
return TYPES;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-formsectionitem"/>
|
<schema directory="ccm-cms-types-formsectionitem"/>
|
||||||
<data class="com.arsdigita.cms.formbuilder.FormSectionItemLoader"/>
|
<data class="com.arsdigita.cms.formbuilder.FormSectionItemLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.formbuilder.FormSectionItemUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,7 @@ public class FormSectionItemLoader extends AbstractContentTypeLoader {
|
||||||
loadInfo();
|
loadInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String[] getTypes() {
|
public String[] getTypes() {
|
||||||
return TYPES;
|
return TYPES;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-glossaryitem"/>
|
<schema directory="ccm-cms-types-glossaryitem"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.GlossaryItemLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.GlossaryItemLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.GlossaryItemUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -13,5 +13,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-healthCareFacility"/>
|
<schema directory="ccm-cms-types-healthCareFacility"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.HealthCareFacilityLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.HealthCareFacilityLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.HealthCareFacilityUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-historicdate"/>
|
<schema directory="ccm-cms-types-historicdate"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.HistoricDateLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.HistoricDateLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.HistoricDateUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-image"/>
|
<schema directory="ccm-cms-types-image"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.ImageLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.ImageLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.ImageUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-member"/>
|
<schema directory="ccm-cms-types-member"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.MemberLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.MemberLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.MemberUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-motditem"/>
|
<schema directory="ccm-cms-types-motditem"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.MOTDItemLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.MOTDItemLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.MOTDItemUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,7 @@ import com.arsdigita.loader.PackageLoader;
|
||||||
*/
|
*/
|
||||||
public class MOTDItemLoader extends PackageLoader {
|
public class MOTDItemLoader extends PackageLoader {
|
||||||
|
|
||||||
|
@Override
|
||||||
public void run(final ScriptContext ctx) {
|
public void run(final ScriptContext ctx) {
|
||||||
// XXX content type definition
|
// XXX content type definition
|
||||||
// nada
|
// nada
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-mparticle"/>
|
<schema directory="ccm-cms-types-mparticle"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.MultiPartArticleLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.MultiPartArticleLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.MultiPartArticleUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -18,15 +18,6 @@
|
||||||
*/
|
*/
|
||||||
package com.arsdigita.cms.contenttypes;
|
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;
|
import org.apache.log4j.Logger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-newsitem"/>
|
<schema directory="ccm-cms-types-newsitem"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.NewsItemLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.NewsItemLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.NewsItemUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-organization"/>
|
<schema directory="ccm-cms-types-organization"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.OrganizationLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.OrganizationLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.OrganizationUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-person"/>
|
<schema directory="ccm-cms-types-person"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.PersonLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.PersonLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.PersonUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-pressrelease"/>
|
<schema directory="ccm-cms-types-pressrelease"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.PressReleaseLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.PressReleaseLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.PressReleaseUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -14,5 +14,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-researchnetwork" />
|
<schema directory="ccm-cms-types-researchnetwork" />
|
||||||
<data class="com.arsdigita.cms.contenttypes.ResearchNetworkLoader" />
|
<data class="com.arsdigita.cms.contenttypes.ResearchNetworkLoader" />
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.ResearchNetworkUnloader" />
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-simpleaddress"/>
|
<schema directory="ccm-cms-types-simpleaddress"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.SimpleAddressLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.SimpleAddressLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.SimpleAddressUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -12,5 +12,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-siteproxy"/>
|
<schema directory="ccm-cms-types-siteproxy"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.SiteProxyLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.SiteProxyLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.SiteProxyUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -16,5 +16,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-survey"/>
|
<schema directory="ccm-cms-types-survey"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.SurveyLoader"/>
|
<data class="com.arsdigita.cms.contenttypes.SurveyLoader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.SurveyUnloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -17,5 +17,6 @@
|
||||||
<scripts>
|
<scripts>
|
||||||
<schema directory="ccm-cms-types-xmlfeed"/>
|
<schema directory="ccm-cms-types-xmlfeed"/>
|
||||||
<data class="com.arsdigita.cms.contenttypes.xmlfeed.Loader"/>
|
<data class="com.arsdigita.cms.contenttypes.xmlfeed.Loader"/>
|
||||||
|
<data-unload class="com.arsdigita.cms.contenttypes.xmlfeed.Unloader"/>
|
||||||
</scripts>
|
</scripts>
|
||||||
</load>
|
</load>
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,7 @@ public class XMLContentTypeHandler extends DefaultHandler {
|
||||||
@Override
|
@Override
|
||||||
public void startElement(String uri, String name,
|
public void startElement(String uri, String name,
|
||||||
String qName, Attributes atts) {
|
String qName, Attributes atts) {
|
||||||
|
boolean deletableType = false;
|
||||||
if (name.equals("content-types")) {
|
if (name.equals("content-types")) {
|
||||||
s_log.debug("matched content-types");
|
s_log.debug("matched content-types");
|
||||||
} else if (name.equals("content-type")) {
|
} else if (name.equals("content-type")) {
|
||||||
|
|
@ -102,6 +103,9 @@ public class XMLContentTypeHandler extends DefaultHandler {
|
||||||
|
|
||||||
m_contentType = m_type.createType();
|
m_contentType = m_type.createType();
|
||||||
m_types.add(m_contentType);
|
m_types.add(m_contentType);
|
||||||
|
|
||||||
|
// m_type has been initialized
|
||||||
|
deletableType = true;
|
||||||
} else if (name.equals("authoring-kit")) {
|
} else if (name.equals("authoring-kit")) {
|
||||||
if (!m_including) {
|
if (!m_including) {
|
||||||
s_log.debug("matched authoring-kit");
|
s_log.debug("matched authoring-kit");
|
||||||
|
|
@ -110,6 +114,9 @@ public class XMLContentTypeHandler extends DefaultHandler {
|
||||||
}
|
}
|
||||||
m_authoringKit = m_type.createAuthoringKit();
|
m_authoringKit = m_type.createAuthoringKit();
|
||||||
m_nextOrder = 1;
|
m_nextOrder = 1;
|
||||||
|
|
||||||
|
// only true if it has been initialized
|
||||||
|
deletableType &= true;
|
||||||
}
|
}
|
||||||
} else if (name.equals("authoring-step")) {
|
} else if (name.equals("authoring-step")) {
|
||||||
String label = atts.getValue("label");
|
String label = atts.getValue("label");
|
||||||
|
|
@ -137,6 +144,10 @@ public class XMLContentTypeHandler extends DefaultHandler {
|
||||||
s_log.error("None of the elements match! name: " + name
|
s_log.error("None of the elements match! name: " + name
|
||||||
+ " qName: " + qName + " URI: " + uri);
|
+ " qName: " + qName + " URI: " + uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!create && deletableType) {
|
||||||
|
//m_type.deleteType();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue