Package es.caib.seycon.ng.servei.ejb
Interface AutoritzacioService
-
public interface AutoritzacioServiceEJB AutoritzacioService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutoritzacioRolcreate(AutoritzacioRol autoritzacio)voiddelete(AutoritzacioRol autoritzacio)CollectionfindAuthorizations(String ambit, String descripcio, String codi)SoffidPrincipalgetCurrentPrincipal()Collection<AutoritzacioRol>getDescriptionUserAuthorizations()Collection<AutoritzacioRol>getDescriptionUserAuthorizations(String codiUsuari)Collection<AutoritzacioRol>getRolsAutoritzacio(String autoritzacio)ListgetScopeList()Collection<AutoritzacioRol>getUserAuthorization(String codiAutoritzacio)Collection<AutoritzacioRol>getUserAuthorization(String codiAutoritzacio, String codiUsuari)
-
-
-
Method Detail
-
getCurrentPrincipal
SoffidPrincipal getCurrentPrincipal() throws InternalErrorException
- Throws:
InternalErrorException
-
create
AutoritzacioRol create(AutoritzacioRol autoritzacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findAuthorizations
Collection findAuthorizations(String ambit, String descripcio, String codi) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getDescriptionUserAuthorizations
Collection<AutoritzacioRol> getDescriptionUserAuthorizations() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getDescriptionUserAuthorizations
Collection<AutoritzacioRol> getDescriptionUserAuthorizations(String codiUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getRolsAutoritzacio
Collection<AutoritzacioRol> getRolsAutoritzacio(String autoritzacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getUserAuthorization
Collection<AutoritzacioRol> getUserAuthorization(String codiAutoritzacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getUserAuthorization
Collection<AutoritzacioRol> getUserAuthorization(String codiAutoritzacio, String codiUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getScopeList
List getScopeList() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(AutoritzacioRol autoritzacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
-