]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms/src/org/argeo/cms/DataMigration.java
5 import javax
.jcr
.Session
;
7 public interface DataMigration
{
8 /** Migrate data between two workspaces, at JCR level. */
9 Boolean
migrate(Session source
, Session target
);
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.
16 Map
<String
, String
> workspacesToMigrate();