Package org.onebusaway.users.impl
Class UserPropertiesMigrationImpl
- java.lang.Object
-
- org.onebusaway.users.impl.UserPropertiesMigrationImpl
-
- All Implemented Interfaces:
UserPropertiesMigration
@Component public class UserPropertiesMigrationImpl extends Object implements UserPropertiesMigration
-
-
Constructor Summary
Constructors Constructor Description UserPropertiesMigrationImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserPropertiesMigrationStatusgetUserPropertiesBulkMigrationStatus()<T extends UserProperties>
Tmigrate(UserProperties properties, Class<T> target)booleanneedsMigration(UserProperties properties, Class<?> target)voidsetUserDao(UserDao userDao)<T extends UserProperties>
voidstartUserPropertiesBulkMigration(Class<T> target)voidstop()
-
-
-
Method Detail
-
setUserDao
@Autowired public void setUserDao(UserDao userDao)
-
stop
@PreDestroy public void stop()
-
needsMigration
public boolean needsMigration(UserProperties properties, Class<?> target)
- Specified by:
needsMigrationin interfaceUserPropertiesMigration
-
migrate
public <T extends UserProperties> T migrate(UserProperties properties, Class<T> target)
- Specified by:
migratein interfaceUserPropertiesMigration
-
startUserPropertiesBulkMigration
public <T extends UserProperties> void startUserPropertiesBulkMigration(Class<T> target)
- Specified by:
startUserPropertiesBulkMigrationin interfaceUserPropertiesMigration
-
getUserPropertiesBulkMigrationStatus
public UserPropertiesMigrationStatus getUserPropertiesBulkMigrationStatus()
- Specified by:
getUserPropertiesBulkMigrationStatusin interfaceUserPropertiesMigration
-
-