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.Servei
create(es.caib.seycon.ng.comu.Servei servei)
void
delete(es.caib.seycon.ng.comu.Servei servei)
es.caib.seycon.ng.comu.Servei
findServeiByCodi(String codi)
Collection<es.caib.seycon.ng.comu.Servei>
findServeisByCriteri(String codi, String descripcio)
protected Principal
getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.Collection<es.caib.seycon.ng.comu.Servei>
getServeis()
com.soffid.iam.service.ServiceService
getServiceService()
Gets reference toserviceService
.void
setServiceService(com.soffid.iam.service.ServiceService serviceService)
Sets reference toserviceService
.es.caib.seycon.ng.comu.Servei
update(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:
create
in 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:
findServeiByCodi
in 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:
update
in 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:
findServeisByCriteri
in 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:
getServeis
in 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:
delete
in interfacees.caib.seycon.ng.servei.ServeiService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.- Returns:
- the current principal
-
-