public interface MigrateUserEntriesCmd extends TaskCommand
This task command is used to migrate resources owned by one user to another user. The mandatory resources that are migrated are: Addresses, Current Orders, Interest Items, Order Items, Orders, and Order Templates.
Before executing this task command, the methods listed below must be invoked.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The copyright field.
|
static java.lang.String | defaultCommandClassName
The default command implementation class.
|
static java.lang.String | NAME
The command name.
|
Modifier and Type | Method and Description |
---|---|
void | migrateAddresses(UserAccessBean abOldUser, UserAccessBean abNewUser)
This method migrates addresses from one user to another user.
|
void | migrateCurrentOrders(UserAccessBean abOldUser, UserAccessBean abNewUser)
This method migrates current orders from one user to another user.
|
void | migrateInterestItems(UserAccessBean abOldUser, UserAccessBean abNewUser)
This method migrates interest items from one user to another user.
|
void | migrateOrders(UserAccessBean abOldUser, UserAccessBean abNewUser)
This method migrates orders from one user to another user.
|
void | migrateOrderTemplates(UserAccessBean abOldUser, UserAccessBean abNewUser)
This method migrates order templates from one user to another user.
|
void | setNewUser(UserAccessBean abNewUser)
This method sets the new user who is the recipient of the migrated resources from the old user.
|
void | setOldUser(UserAccessBean abOldUser)
This method sets the old user whose resources are to be migrated to the new user.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
void migrateAddresses(UserAccessBean abOldUser, UserAccessBean abNewUser) throws ECException
void migrateCurrentOrders(UserAccessBean abOldUser, UserAccessBean abNewUser) throws ECException
void migrateInterestItems(UserAccessBean abOldUser, UserAccessBean abNewUser) throws ECException
void migrateOrders(UserAccessBean abOldUser, UserAccessBean abNewUser) throws ECException
void migrateOrderTemplates(UserAccessBean abOldUser, UserAccessBean abNewUser) throws ECException
void setNewUser(UserAccessBean abNewUser)
void setOldUser(UserAccessBean abOldUser)