Package es.caib.seycon.ng.servei
Interface ServeiService
-
public interface ServeiService
Service ServeiService
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Servei
create(Servei servei)
Operation createvoid
delete(Servei servei)
Operation deleteServei
findServeiByCodi(String codi)
Operation findServeiByCodiCollection<Servei>
findServeisByCriteri(String codi, String descripcio)
Operation findServeisByCriteriCollection<Servei>
getServeis()
Operation getServeisServei
update(Servei servei)
Operation update
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
Servei create(Servei servei) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
servei
-- Returns:
- Throws:
InternalErrorException
-
findServeiByCodi
Servei findServeiByCodi(String codi) throws InternalErrorException, InternalErrorException
Operation findServeiByCodi- Parameters:
codi
-- Returns:
- Throws:
InternalErrorException
-
update
Servei update(Servei servei) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
servei
-- Returns:
- Throws:
InternalErrorException
-
findServeisByCriteri
Collection<Servei> findServeisByCriteri(String codi, String descripcio) throws InternalErrorException, InternalErrorException
Operation findServeisByCriteri- Parameters:
codi
-descripcio
-- Returns:
- Throws:
InternalErrorException
-
getServeis
Collection<Servei> getServeis() throws InternalErrorException, InternalErrorException
Operation getServeis- Returns:
- Throws:
InternalErrorException
-
delete
void delete(Servei servei) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
servei
-- Throws:
InternalErrorException
-
-