Change in ovirt-engine[master]: core: ImportVm cleanup: DAO accessors

amureini at redhat.com amureini at redhat.com
Sun Dec 9 17:38:27 UTC 2012


Allon Mureinik has submitted this change and it was merged.

Change subject: core: ImportVm cleanup: DAO accessors
......................................................................


core: ImportVm cleanup: DAO accessors

Cleaned up DAO access in ImportVmCommand.

Replaced all instances of DbFacade.getInstance().getXXXDao() with
protected getXXXDao() methods, and moved available methods to their
correct place in the hierarchy.

Change-Id: I331be144f94df2b7527e9b36289347109d4b266d
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/StorageDomainCommandBase.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogableBase.java
3 files changed, 37 insertions(+), 31 deletions(-)

Approvals:
  Allon Mureinik: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/9614
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I331be144f94df2b7527e9b36289347109d4b266d
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Alissa Bonas <abonas at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Vered Volansky <vvolansk at redhat.com>



More information about the Engine-commits mailing list