@Override public CredentialListResult newListResult() { return new CredentialListResultImpl(); }
@Override public CredentialListResult newListResult() { return new CredentialListResultImpl(); }
/** * Return the credential list matching the provided query * * @param em * @param credentialQuery * @return * @throws KapuaException */ public static CredentialListResult query(EntityManager em, KapuaQuery<Credential> credentialQuery) throws KapuaException { return ServiceDAO.query(em, Credential.class, CredentialImpl.class, new CredentialListResultImpl(), credentialQuery); }
/** * Return the credential list matching the provided query * * @param em * @param credentialQuery * @return * @throws KapuaException */ public static CredentialListResult query(EntityManager em, KapuaQuery<Credential> credentialQuery) throws KapuaException { return ServiceDAO.query(em, Credential.class, CredentialImpl.class, new CredentialListResultImpl(), credentialQuery); }