public class ActivityMigrationService extends AbstractMigrationService<org.exoplatform.social.core.activity.model.ExoSocialActivity>
| Modifier and Type | Field and Description |
|---|---|
static String |
COMMENT_PREFIX |
static String |
EVENT_LISTENER_KEY |
protected RDBMSIdentityStorageImpl |
identityJPAStorage |
static Pattern |
USER_NAME_VALIDATOR_REGEX |
entityManagerService, eventManager, forkStop, identityStorage, lastPercent, LIMIT_THRESHOLD, LIMIT_THRESHOLD_KEY, LOG, numberFailed, numberSpaceIdentities, numberUserIdentities, process| Constructor and Description |
|---|
ActivityMigrationService(org.exoplatform.container.xml.InitParams initParams,
ActivityDAO activityDAO,
RDBMSActivityStorageImpl activityStorage,
org.exoplatform.social.core.storage.impl.ActivityStorageImpl activityJCRStorage,
org.exoplatform.social.core.storage.impl.IdentityStorageImpl identityStorage,
RDBMSIdentityStorageImpl rdbmsIdentityStorage,
org.exoplatform.commons.api.event.EventManager<org.exoplatform.social.core.activity.model.ExoSocialActivity,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 static final Pattern USER_NAME_VALIDATOR_REGEX
public static final String COMMENT_PREFIX
protected final RDBMSIdentityStorageImpl identityJPAStorage
public ActivityMigrationService(org.exoplatform.container.xml.InitParams initParams,
ActivityDAO activityDAO,
RDBMSActivityStorageImpl activityStorage,
org.exoplatform.social.core.storage.impl.ActivityStorageImpl activityJCRStorage,
org.exoplatform.social.core.storage.impl.IdentityStorageImpl identityStorage,
RDBMSIdentityStorageImpl rdbmsIdentityStorage,
org.exoplatform.commons.api.event.EventManager<org.exoplatform.social.core.activity.model.ExoSocialActivity,String> eventManager,
org.exoplatform.commons.persistence.impl.EntityManagerService entityManagerService)
public void doMigration()
throws Exception
doMigration in class AbstractMigrationService<org.exoplatform.social.core.activity.model.ExoSocialActivity>Exceptionpublic void stop()
stop in class AbstractMigrationService<org.exoplatform.social.core.activity.model.ExoSocialActivity>protected void beforeMigration()
throws Exception
beforeMigration in class AbstractMigrationService<org.exoplatform.social.core.activity.model.ExoSocialActivity>Exceptionprotected void afterMigration()
throws Exception
afterMigration in class AbstractMigrationService<org.exoplatform.social.core.activity.model.ExoSocialActivity>Exceptionpublic void doRemove()
throws Exception
doRemove in class AbstractMigrationService<org.exoplatform.social.core.activity.model.ExoSocialActivity>Exceptionprotected String getListenerKey()
getListenerKey in class AbstractMigrationService<org.exoplatform.social.core.activity.model.ExoSocialActivity>Copyright © 2003–2016 eXo Platform SAS. All rights reserved.