[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>
|
||||
<schema directory="ccm-cms-types-address"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.AddressLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.AddressUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-article"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.ArticleLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.ArticleUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-bookmark"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.BookmarkLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.BookmarkUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-contact"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.ContactLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.ContactUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-decisiontree"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.DecisionTreeLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.DecisionTreeUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-faqitem"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.FAQItemLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.FAQItemUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-filestorageitem"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.FileStorageItemLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.FileStorageItemUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-formitem"/>
|
||||
<data class="com.arsdigita.cms.formbuilder.FormItemLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.formbuilder.FormItemUnloader"/>
|
||||
</scripts>
|
||||
</load>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
<schema directory="ccm-cms-types-formsectionitem"/>
|
||||
<data class="com.arsdigita.cms.formbuilder.FormSectionItemLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.formbuilder.FormSectionItemUnloader"/>
|
||||
</scripts>
|
||||
</load>
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ public class FormSectionItemLoader extends AbstractContentTypeLoader {
|
|||
loadInfo();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getTypes() {
|
||||
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>
|
||||
<schema directory="ccm-cms-types-glossaryitem"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.GlossaryItemLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.GlossaryItemUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-healthCareFacility"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.HealthCareFacilityLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.HealthCareFacilityUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-historicdate"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.HistoricDateLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.HistoricDateUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-image"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.ImageLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.ImageUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-member"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.MemberLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.MemberUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-motditem"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.MOTDItemLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.MOTDItemUnloader"/>
|
||||
</scripts>
|
||||
</load>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
<schema directory="ccm-cms-types-mparticle"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.MultiPartArticleLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.MultiPartArticleUnloader"/>
|
||||
</scripts>
|
||||
</load>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
<schema directory="ccm-cms-types-newsitem"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.NewsItemLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.NewsItemUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-organization"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.OrganizationLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.OrganizationUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-person"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.PersonLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.PersonUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-pressrelease"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.PressReleaseLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.PressReleaseUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-researchnetwork" />
|
||||
<data class="com.arsdigita.cms.contenttypes.ResearchNetworkLoader" />
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.ResearchNetworkUnloader" />
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-simpleaddress"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.SimpleAddressLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.SimpleAddressUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-siteproxy"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.SiteProxyLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.SiteProxyUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-survey"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.SurveyLoader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.SurveyUnloader"/>
|
||||
</scripts>
|
||||
</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>
|
||||
<schema directory="ccm-cms-types-xmlfeed"/>
|
||||
<data class="com.arsdigita.cms.contenttypes.xmlfeed.Loader"/>
|
||||
<data-unload class="com.arsdigita.cms.contenttypes.xmlfeed.Unloader"/>
|
||||
</scripts>
|
||||
</load>
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue