package com.csc.library.security; import java.rmi.RemoteException; import java.util.HashMap; import com.csc.library.utilities.UProfile; /** * @author Developer * * To change this generated comment edit the template variable "typecomment": * Window>Preferences>Java>Templates. * To enable and disable the creation of type comments go to * Window>Preferences>Java>Code Generation. */ public interface Authorizable { public boolean checkAuthorize() throws RemoteException; public boolean checkAuthorize(String dblog) throws RemoteException; public boolean checkAuthorize(String dblog,String complog) throws RemoteException; public boolean checkAuthorize(String dblog,String complog,String lang) throws RemoteException; public boolean checkmenu(UProfile user, HashMap h) throws RemoteException; public UProfile getUProfile() throws RemoteException; public String getMenu() throws RemoteException; public void setUser(String user) throws RemoteException; public void setUser(String user, String passw) throws RemoteException; public void setUser(String user, String passw,String dbname)throws RemoteException; public void setAgency(String agency)throws RemoteException; public String getAgency() throws RemoteException; public void setAgencyID(String agencyid)throws RemoteException; public String getAgencyID() throws RemoteException; public void setRemoteIP(String rip) ; public void setSessionID(String sid); }