io.rocketbase.commons.service.AppUserPersistenceService Maven / Gradle / Ivy
package io.rocketbase.commons.service;
import io.rocketbase.commons.model.AppUser;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import java.util.Optional;
public interface AppUserPersistenceService {
Optional findByUsername(String username);
Optional findByEmail(String email);
Page findAll(Pageable pageable);
S save(S entity);
Optional findById(String id);
long count();
void delete(S entity);
void deleteAll();
S initNewInstance();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy