Omer Frenkel has posted comments on this change.

Change subject: core: add get*Type to template DAO
......................................................................


Patch Set 10: (1 inline comment)

....................................................
File 
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmTemplateDAODbFacadeImpl.java
Line 46:         if (result != null && result.getTemplateType() != 
TemplateType.IMAGE_TYPE) {
Line 47:             result = null;
Line 48:         }
Line 49:         return result;
Line 50:     }
my first thought was to have different DAO, but the overhead was too big as all 
i needed was these two, if you have specific suggestion please share as im not 
sure i understand what you suggest
Line 51: 
Line 52:     @Override
Line 53:     public VmTemplate get(Guid id, Guid userID, boolean isFiltered) {
Line 54:         return getCallsHandler().executeRead("GetVmTemplateByVmtGuid",


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ic9f0eef1e61b51cc941b8dd9403f5733a69f9dfc
Gerrit-PatchSet: 10
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Tomas Jelinek <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to