1    package com.instantbank.collections.security.ejb;
2    
3    import java.rmi.RemoteException;
4    import javax.ejb.EJBObject;
5    import com.instantbank.collections.util.InstantbankException;
6    
7    public interface SecurityProfilesServices extends EJBObject {
8      public Long getCompanyProfile(Long companyId) throws RemoteException, InstantbankException;
9    
10   
11     public String getGroupProfileId(String groupId) throws RemoteException, InstantbankException;
12   
13   
14     public String getProfiles(Long profileId, String Type) throws RemoteException, InstantbankException;
15   
16   
17     public String getQueues(Long companyId) throws RemoteException, InstantbankException;
18   
19   
20     public String newProfiles(Long companyId) throws RemoteException, InstantbankException;
21   
22   
23     public void refreshChildren(Long loggedUserId, Long groupId, int level) throws RemoteException, InstantbankException;
24   
25   
26     public void saveDefaultProfile(String profiles, Long companyId) throws RemoteException, InstantbankException;
27   
28   
29     public long saveProfiles(String profiles, boolean superuser) throws RemoteException, InstantbankException;
30   }
31