|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This task command is used to migrate resources owned by one user to another. The manadatory 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.
setOldUser setNewUser
Field Summary | |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
defaultCommandClassName
|
static java.lang.String |
NAME
|
Method Summary | |
void |
migrateAddresses(UserAccessBean abOldUser,
UserAccessBean abNewUser)
Migrates addresses from one user to another user. |
void |
migrateCurrentOrders(UserAccessBean abOldUser,
UserAccessBean abNewUser)
Migrates current orders from one user to another user. |
void |
migrateInterestItems(UserAccessBean abOldUser,
UserAccessBean abNewUser)
Migrates interest items from one user to another user. |
void |
migrateOrders(UserAccessBean abOldUser,
UserAccessBean abNewUser)
Migrates orders from one user to another user. |
void |
migrateOrderTemplates(UserAccessBean abOldUser,
UserAccessBean abNewUser)
Migrates order templates from one user to another user. |
void |
setNewUser(UserAccessBean abNewUser)
Sets the new user which would be recipient of migrated addresses from the old user. |
void |
setOldUser(UserAccessBean abOldUser)
Sets the old user whose addresses are to be migrated to the new user. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String NAME
Method Detail |
public void migrateAddresses(UserAccessBean abOldUser, UserAccessBean abNewUser) throws ECException
abOldUser
- The Old User, whose addresses are to be migrated.abNewUser
- The New User, who will get the new addresses.public void migrateCurrentOrders(UserAccessBean abOldUser, UserAccessBean abNewUser) throws ECException
abOldUser
- The Old User, whose current orders are to be migrated.abNewUser
- The New User, who will get the new current orders.public void migrateInterestItems(UserAccessBean abOldUser, UserAccessBean abNewUser) throws ECException
abOldUser
- The Old User, whose interest items are to be migrated.abNewUser
- The New User, who will get the new interest items.public void migrateOrders(UserAccessBean abOldUser, UserAccessBean abNewUser) throws ECException
abOldUser
- The Old User, whose orders are to be migrated.abNewUser
- The New User, who will get the new orders.public void migrateOrderTemplates(UserAccessBean abOldUser, UserAccessBean abNewUser) throws ECException
abOldUser
- The Old User, whose order templates are to be migrated.abNewUser
- The New User, who will get the new order templates.public void setNewUser(UserAccessBean abNewUser)
abNewUser
- The new user accessbean.public void setOldUser(UserAccessBean abOldUser)
abNewUser
- The old user access bean.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |