]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms/src/org/argeo/cms/maintenance/DataMigration.java
Reset to argeo.cnd, in order to avoid surprises at this stage
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / maintenance / DataMigration.java
1 package org.argeo.cms.maintenance;
2
3 import java.util.Map;
4
5 import javax.jcr.Session;
6
7 public interface DataMigration {
8 /** Migrate data between two workspaces, at JCR level. */
9 Boolean migrate(Session source, Session target);
10
11 /**
12 * Keys are the source workspaces and values the target workspaces. If null
13 * is returned, only the default workspace will be migrated, to the default
14 * workspace of the target repository.
15 */
16 Map<String, String> workspacesToMigrate();
17
18 }