bug 10526: added state

This commit is contained in:
Abhinandan Prateek 2011-06-30 21:07:22 +05:30 committed by root
parent 6cfc59b454
commit 6c17fd3c7d
1 changed files with 3 additions and 0 deletions

View File

@ -363,6 +363,9 @@ public class UserVmDaoImpl extends GenericDaoBase<UserVmVO, Long> implements Use
userVmResponse.setCreated(userVm.getCreated());
userVmResponse.setGuestOsId(userVm.getGuestOSId());
userVmResponse.setHaEnable(userVm.isHaEnabled());
if (userVm.getState() != null) {
userVmResponse.setState(userVm.getState().toString());
}
if (userVm.getDisplayName() != null) {
userVmResponse.setDisplayName(userVm.getDisplayName());
} else {