public com.xedb.data.Rol getRolById(String id, PagingOptions pagingOptions) { List<com.xedb.data.Rol> rtn = ((List<com.xedb.data.Rol>) dsMgr.invoke( taskMgr.getQueryTask(), (XeDBConstants.getRolByIdQueryName), id, pagingOptions)); if (rtn.isEmpty()) { return null; } else { return rtn.get(0); } }
public com.testdb.data.SiCliModulo getSiCliModuloById(Integer id, PagingOptions pagingOptions) { List<com.testdb.data.SiCliModulo> rtn = ((List<com.testdb.data.SiCliModulo>) dsMgr.invoke( taskMgr.getQueryTask(), (TestDBConstants.getSiCliModuloByIdQueryName), id, pagingOptions)); if (rtn.isEmpty()) { return null; } else { return rtn.get(0); } }
public com.hrdb.data.Department getDepartmentById(Integer id, PagingOptions pagingOptions) { List<com.hrdb.data.Department> rtn = ((List<com.hrdb.data.Department>) dsMgr.invoke( taskMgr.getQueryTask(), (HrdbConstants.getDepartmentByIdQueryName), id, pagingOptions)); if (rtn.isEmpty()) { return null; } else { return rtn.get(0); } }