edu.uoc.tfc.service
Class PartServiceBase

java.lang.Object
  extended by edu.uoc.tfc.service.PartServiceBase
All Implemented Interfaces:
PartService
Direct Known Subclasses:
PartServiceImpl

public abstract class PartServiceBase
extends java.lang.Object
implements PartService

Spring Service base class for edu.uoc.tfc.service.PartService, provides access to all services and entities referenced by this service.

See Also:
PartService

Constructor Summary
PartServiceBase()
           
 
Method Summary
 void altaPart(PartVO part, java.lang.String asseguradoraId, java.lang.String tipusSinistreId, java.lang.String clientId)
           
 AsseguradoraVO[] carregaAsseguradores()
           
 ClientVO[] carregaClients()
           
 TipusSinistreVO[] carregaTipusSinistre()
           
 ResultatCercaPartVO cercaParts(CriteriaPartVO criteriaPart)
           
 FacturaVO getFactura(java.lang.String facturaId)
           
 PartVO getPart(java.lang.String partId)
           
 DownloadWrapperVO imprimirFactura(java.lang.String partId)
           
 DownloadWrapperVO imprimirPart(java.lang.String partId)
           
 void modificaPart(PartVO part, java.lang.String asseguradoraId, java.lang.String tipusSinistreId, java.lang.String clientId)
           
 void setAsseguradoraDao(AsseguradoraDao asseguradoraDao)
          Sets the reference to asseguradora's DAO.
 void setClientDao(ClientDao clientDao)
          Sets the reference to client's DAO.
 void setFacturaDao(FacturaDao facturaDao)
          Sets the reference to factura's DAO.
 void setPartDao(PartDao partDao)
          Sets the reference to part's DAO.
 void setTipusSiniestreDao(TipusSiniestreDao tipusSiniestreDao)
          Sets the reference to tipusSiniestre's DAO.
 void tancarPart(PartVO part)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartServiceBase

public PartServiceBase()
Method Detail

setPartDao

public void setPartDao(PartDao partDao)
Sets the reference to part's DAO.


setAsseguradoraDao

public void setAsseguradoraDao(AsseguradoraDao asseguradoraDao)
Sets the reference to asseguradora's DAO.


setClientDao

public void setClientDao(ClientDao clientDao)
Sets the reference to client's DAO.


setTipusSiniestreDao

public void setTipusSiniestreDao(TipusSiniestreDao tipusSiniestreDao)
Sets the reference to tipusSiniestre's DAO.


setFacturaDao

public void setFacturaDao(FacturaDao facturaDao)
Sets the reference to factura's DAO.


getPart

public PartVO getPart(java.lang.String partId)
Specified by:
getPart in interface PartService
See Also:
PartService.getPart(java.lang.String)

cercaParts

public ResultatCercaPartVO cercaParts(CriteriaPartVO criteriaPart)
Specified by:
cercaParts in interface PartService
See Also:
PartService.cercaParts(edu.uoc.tfc.dto.CriteriaPartVO)

altaPart

public void altaPart(PartVO part,
                     java.lang.String asseguradoraId,
                     java.lang.String tipusSinistreId,
                     java.lang.String clientId)
Specified by:
altaPart in interface PartService
See Also:
PartService.altaPart(edu.uoc.tfc.dto.PartVO, java.lang.String, java.lang.String, java.lang.String)

modificaPart

public void modificaPart(PartVO part,
                         java.lang.String asseguradoraId,
                         java.lang.String tipusSinistreId,
                         java.lang.String clientId)
Specified by:
modificaPart in interface PartService
See Also:
PartService.modificaPart(edu.uoc.tfc.dto.PartVO, java.lang.String, java.lang.String, java.lang.String)

tancarPart

public void tancarPart(PartVO part)
Specified by:
tancarPart in interface PartService
See Also:
PartService.tancarPart(edu.uoc.tfc.dto.PartVO)

imprimirPart

public DownloadWrapperVO imprimirPart(java.lang.String partId)
Specified by:
imprimirPart in interface PartService
See Also:
PartService.imprimirPart(java.lang.String)

carregaTipusSinistre

public TipusSinistreVO[] carregaTipusSinistre()
Specified by:
carregaTipusSinistre in interface PartService
See Also:
PartService.carregaTipusSinistre()

carregaAsseguradores

public AsseguradoraVO[] carregaAsseguradores()
Specified by:
carregaAsseguradores in interface PartService
See Also:
PartService.carregaAsseguradores()

carregaClients

public ClientVO[] carregaClients()
Specified by:
carregaClients in interface PartService
See Also:
PartService.carregaClients()

getFactura

public FacturaVO getFactura(java.lang.String facturaId)
Specified by:
getFactura in interface PartService
See Also:
PartService.getFactura(java.lang.String)

imprimirFactura

public DownloadWrapperVO imprimirFactura(java.lang.String partId)
Specified by:
imprimirFactura in interface PartService
See Also:
PartService.imprimirFactura(java.lang.String)