public class RelationshipMigrationService extends AbstractMigrationService<org.exoplatform.social.core.relationship.model.Relationship>
| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_LISTENER_KEY |
entityManagerService, eventManager, forkStop, identityStorage, lastPercent, LIMIT_THRESHOLD, LIMIT_THRESHOLD_KEY, LOG, numberFailed, numberSpaceIdentities, numberUserIdentities, process| Constructor and Description |
|---|
RelationshipMigrationService(org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.social.core.storage.impl.IdentityStorageImpl identityStorage,
ConnectionDAO connectionDAO,
IdentityDAO identityDAO,
org.exoplatform.commons.api.event.EventManager<org.exoplatform.social.core.relationship.model.Relationship,String> eventManager,
org.exoplatform.commons.persistence.impl.EntityManagerService entityManagerService) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterMigration() |
protected void |
beforeMigration() |
void |
doMigration() |
void |
doRemove() |
protected String |
getListenerKey() |
void |
stop() |
addMigrationListener, broadcastListener, endTx, getAllIdentityEntity, getIdentityIds, getIdentityNodes, getIdentityNodes, getInteger, getNumberSpaceIdentities, getNumberUserIdentities, getSpaceIdentityNodes, getSpaceIdentityNodes, getString, processLog, removeMigrationListener, start, startTx_findById, _findByPath, _getMixin, _hasMixin, _removeById, _removeMixin, _skip, getProviderRoot, getSession, getSpaceRoot, getStatus, isJcrProperty, lifecycleLookup, node, nodes, nodes, startSynchronization, stopSynchronizationpublic static final String EVENT_LISTENER_KEY
public RelationshipMigrationService(org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.social.core.storage.impl.IdentityStorageImpl identityStorage,
ConnectionDAO connectionDAO,
IdentityDAO identityDAO,
org.exoplatform.commons.api.event.EventManager<org.exoplatform.social.core.relationship.model.Relationship,String> eventManager,
org.exoplatform.commons.persistence.impl.EntityManagerService entityManagerService)
protected void beforeMigration()
throws Exception
beforeMigration in class AbstractMigrationService<org.exoplatform.social.core.relationship.model.Relationship>Exceptionpublic void doMigration()
throws Exception
doMigration in class AbstractMigrationService<org.exoplatform.social.core.relationship.model.Relationship>Exceptionprotected void afterMigration()
throws Exception
afterMigration in class AbstractMigrationService<org.exoplatform.social.core.relationship.model.Relationship>Exceptionpublic void doRemove()
throws Exception
doRemove in class AbstractMigrationService<org.exoplatform.social.core.relationship.model.Relationship>Exceptionpublic void stop()
stop in class AbstractMigrationService<org.exoplatform.social.core.relationship.model.Relationship>protected String getListenerKey()
getListenerKey in class AbstractMigrationService<org.exoplatform.social.core.relationship.model.Relationship>Copyright © 2003–2016 eXo Platform SAS. All rights reserved.