public EDAttendanceControlsConfigVoCollection getEDAttendanceControlsConfig(EDAttendenceControlType controlType) { DomainFactory factory = getDomainFactory(); String hql = "select edAttConfig from EDAttendenceControlsConfig as edAttConfig left join edAttConfig.controlType as controlType where (controlType.id = :ControlTypeId)"; List <?>list = factory.find(hql.toString(), new String[] { "ControlTypeId" }, new Object[] { getDomLookup(controlType).getId()}); return EDAttendanceControlsConfigVoAssembler.createEDAttendanceControlsConfigVoCollectionFromEDAttendenceControlsConfig(list); }