package com.jasamedika.medifirst2000.service; import com.jasamedika.medifirst2000.entities.LoginUser; import com.jasamedika.medifirst2000.entities.Ruangan; import com.jasamedika.medifirst2000.exception.ServiceVOException; import com.jasamedika.medifirst2000.vo.LoginUserVO; import com.jasamedika.medifirst2000.vo.custom.AuthVO; import org.springframework.orm.jpa.JpaSystemException; import java.util.List; import java.util.Map; public interface LoginUserService extends BaseVoService { LoginUserVO signIn(AuthVO authVO) throws Exception; LoginUserVO add(LoginUserVO vo) throws JpaSystemException, ServiceVOException; LoginUserVO findById(Integer key) throws JpaSystemException; LoginUserVO update(LoginUserVO vo) throws JpaSystemException, ServiceVOException; List findAll() throws JpaSystemException; Map findAllWithPageAndLimitAndSortByAndDirectionParameter(Integer page, Integer limit, String sort, String dir); Boolean delete(Integer key) throws JpaSystemException; LoginUser getLoginUser(); Map getAllUser(); // ------------------------------------------------------------------------------------------------------------------------------- public Map getLoadData(); public List> getListSideMenu(); public Map saveLoginUser(LoginUserVO vo); public Map getListRuangan(Integer loginUserId); public Map getListModulAplikasi(Integer modulAplikasiId); public List> getListObjectModulAplikasi(Integer modulAplikasiId); // Alter Syamsu List findByNamaUser(String namaUser); Ruangan getCurrentRuangan(); Integer getCurrentRuanganId(); Map saveUpdateLoginUser(LoginUserVO vo); public LoginUser setLoginUser(LoginUserVO vo); boolean accessGranted(LoginUser loginUser, List listIdPegawai); }