Package es.caib.seycon.ng.servei
Class ServeiServiceBaseProxy
- java.lang.Object
-
- es.caib.seycon.ng.servei.ServeiServiceBaseProxy
-
- All Implemented Interfaces:
es.caib.seycon.ng.servei.ServeiService
public class ServeiServiceBaseProxy extends Object implements es.caib.seycon.ng.servei.ServeiService
Spring Service base class for
see es.caib.seycon.ng.servei.ServeiServicees.caib.seycon.ng.servei.ServeiService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description ServeiServiceBaseProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description es.caib.seycon.ng.comu.Serveicreate(es.caib.seycon.ng.comu.Servei servei)voiddelete(es.caib.seycon.ng.comu.Servei servei)es.caib.seycon.ng.comu.ServeifindServeiByCodi(String codi)Collection<es.caib.seycon.ng.comu.Servei>findServeisByCriteri(String codi, String descripcio)protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.Collection<es.caib.seycon.ng.comu.Servei>getServeis()com.soffid.iam.service.ServiceServicegetServiceService()Gets reference toserviceService.voidsetServiceService(com.soffid.iam.service.ServiceService serviceService)Sets reference toserviceService.es.caib.seycon.ng.comu.Serveiupdate(es.caib.seycon.ng.comu.Servei servei)
-
-
-
Method Detail
-
setServiceService
public void setServiceService(com.soffid.iam.service.ServiceService serviceService)
Sets reference toserviceService.
-
getServiceService
public com.soffid.iam.service.ServiceService getServiceService()
Gets reference toserviceService.
-
create
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Servei create(es.caib.seycon.ng.comu.Servei servei) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createin interfacees.caib.seycon.ng.servei.ServeiService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findServeiByCodi
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Servei findServeiByCodi(String codi) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findServeiByCodiin interfacees.caib.seycon.ng.servei.ServeiService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Servei update(es.caib.seycon.ng.comu.Servei servei) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updatein interfacees.caib.seycon.ng.servei.ServeiService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findServeisByCriteri
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.Servei> findServeisByCriteri(String codi, String descripcio) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findServeisByCriteriin interfacees.caib.seycon.ng.servei.ServeiService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getServeis
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.Servei> getServeis() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getServeisin interfacees.caib.seycon.ng.servei.ServeiService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void delete(es.caib.seycon.ng.comu.Servei servei) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
deletein interfacees.caib.seycon.ng.servei.ServeiService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-