Weitere Ergänzungen Upgrade (fehlt nur in Trunk)
git-svn-id: https://svn.libreccm.org/ccm/trunk@1758 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
705d942725
commit
c321d8d89c
|
|
@ -5,7 +5,6 @@
|
||||||
</version>
|
</version>
|
||||||
<!-- Applicable for UHB only! -->
|
<!-- Applicable for UHB only! -->
|
||||||
<version from="6.6.2" to="6.6.3">
|
<version from="6.6.2" to="6.6.3">
|
||||||
<script class="com.arsdigita.cms.contenttypes.upgrades.PublicPersonalProfileBundleCreate"/>
|
<script class="com.arsdigita.cms.contenttypes.upgrades.PublicPersonalProfileUpgrade662to563"/>
|
||||||
<script class="com.arsdigita.cms.contenttypes.upgrades.PublicPersonalProfileOwnerAssocUpgrade"/>
|
|
||||||
</version>
|
</version>
|
||||||
</upgrade>
|
</upgrade>
|
||||||
|
|
@ -9,14 +9,6 @@ import com.arsdigita.cms.contenttypes.PublicPersonalProfileBundle;
|
||||||
*/
|
*/
|
||||||
public class PublicPersonalProfileBundleCreate extends AbstractBundleUpgrade {
|
public class PublicPersonalProfileBundleCreate extends AbstractBundleUpgrade {
|
||||||
|
|
||||||
public PublicPersonalProfileBundleCreate() {
|
|
||||||
super("PublicPersonalProfileBundleCreate", "1.0.0", "");
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void main(final String[] args) {
|
|
||||||
new PublicPersonalProfileBundleCreate().run(args);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String getBundleTableName() {
|
protected String getBundleTableName() {
|
||||||
return "ct_public_personal_profile_bundles";
|
return "ct_public_personal_profile_bundles";
|
||||||
|
|
|
||||||
|
|
@ -10,14 +10,6 @@ import java.util.Map;
|
||||||
*/
|
*/
|
||||||
public class PublicPersonalProfileOwnerAssocUpgrade extends AbstractAssocUpgrade {
|
public class PublicPersonalProfileOwnerAssocUpgrade extends AbstractAssocUpgrade {
|
||||||
|
|
||||||
public PublicPersonalProfileOwnerAssocUpgrade() {
|
|
||||||
super("PublicPersonalProfileOwnerAssocUpgrade", "1.0.0", "");
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void main(final String[] args) {
|
|
||||||
new PublicPersonalProfileOwnerAssocUpgrade().run(args);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String getTableName() {
|
protected String getTableName() {
|
||||||
return "ct_public_personal_profile_owner_map";
|
return "ct_public_personal_profile_owner_map";
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,32 @@
|
||||||
|
package com.arsdigita.cms.contenttypes.upgrades;
|
||||||
|
|
||||||
|
import com.arsdigita.cms.contenttypes.XMLContentTypeHandler;
|
||||||
|
import com.arsdigita.util.cmd.Program;
|
||||||
|
import com.arsdigita.xml.XML;
|
||||||
|
import org.apache.commons.cli.CommandLine;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author Jens Pelzetter <jens@jp-digital.de>
|
||||||
|
* @version $Id$
|
||||||
|
*/
|
||||||
|
public class PublicPersonalProfileUpgrade662to663 extends Program {
|
||||||
|
|
||||||
|
public PublicPersonalProfileUpgrade662to663() {
|
||||||
|
super("PublicPersonalProfileBundleUpgrade662to663", "1.0.0", "", true, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void doRun(final CommandLine cmdLine) {
|
||||||
|
new PublicPersonalProfileBundleCreate().doUpgrade();
|
||||||
|
new PublicPersonalProfileOwnerAssocUpgrade().doUpgrade();
|
||||||
|
|
||||||
|
XMLContentTypeHandler handler = new XMLContentTypeHandler();
|
||||||
|
XML.parseResource("/WEB-INF/content-types/com/arsdigita/cms/contenttypes/PublicPersonalProfile.xml", handler);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void main(final String[] args) {
|
||||||
|
new PublicPersonalProfileUpgrade662to663().run(args);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue