edu.uoc.tfc.dbmodel.crud
Class PartManageableServiceBase

java.lang.Object
  extended by edu.uoc.tfc.dbmodel.crud.PartManageableServiceBase
All Implemented Interfaces:
PartManageableService

public final class PartManageableServiceBase
extends java.lang.Object
implements PartManageableService


Constructor Summary
PartManageableServiceBase()
           
 
Method Summary
 PartValueObject create(java.lang.String codiPart, java.lang.String polissa, java.lang.String dataSinistre, java.lang.Double baseImposable, java.lang.Double percentatgeIva, java.lang.String observacions, java.lang.Boolean obert, java.lang.Long id, java.lang.Long tipusSinistre, java.lang.Long[] facturaDelPart, java.lang.Long client, java.lang.Long asseguradora)
           
 void delete(java.lang.Long[] ids)
           
 java.util.List read(java.lang.String codiPart, java.lang.String polissa, java.lang.String dataSinistre, java.lang.Double baseImposable, java.lang.Double percentatgeIva, java.lang.String observacions, java.lang.Boolean obert, java.lang.Long id, java.lang.Long tipusSinistre, java.lang.Long[] facturaDelPart, java.lang.Long client, java.lang.Long asseguradora)
           
 java.util.List readAll()
           
 java.util.Map readBackingLists()
           
 PartValueObject readById(java.lang.Long id)
           
 void setDao(PartManageableDao dao)
           
 PartValueObject update(java.lang.String codiPart, java.lang.String polissa, java.lang.String dataSinistre, java.lang.Double baseImposable, java.lang.Double percentatgeIva, java.lang.String observacions, java.lang.Boolean obert, java.lang.Long id, java.lang.Long tipusSinistre, java.lang.Long[] facturaDelPart, java.lang.Long client, java.lang.Long asseguradora)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartManageableServiceBase

public PartManageableServiceBase()
Method Detail

setDao

public void setDao(PartManageableDao dao)

create

public PartValueObject create(java.lang.String codiPart,
                              java.lang.String polissa,
                              java.lang.String dataSinistre,
                              java.lang.Double baseImposable,
                              java.lang.Double percentatgeIva,
                              java.lang.String observacions,
                              java.lang.Boolean obert,
                              java.lang.Long id,
                              java.lang.Long tipusSinistre,
                              java.lang.Long[] facturaDelPart,
                              java.lang.Long client,
                              java.lang.Long asseguradora)
                       throws java.lang.Exception
Specified by:
create in interface PartManageableService
Throws:
java.lang.Exception

readById

public PartValueObject readById(java.lang.Long id)
                         throws java.lang.Exception
Specified by:
readById in interface PartManageableService
Throws:
java.lang.Exception

read

public java.util.List read(java.lang.String codiPart,
                           java.lang.String polissa,
                           java.lang.String dataSinistre,
                           java.lang.Double baseImposable,
                           java.lang.Double percentatgeIva,
                           java.lang.String observacions,
                           java.lang.Boolean obert,
                           java.lang.Long id,
                           java.lang.Long tipusSinistre,
                           java.lang.Long[] facturaDelPart,
                           java.lang.Long client,
                           java.lang.Long asseguradora)
                    throws java.lang.Exception
Specified by:
read in interface PartManageableService
Throws:
java.lang.Exception

readAll

public java.util.List readAll()
                       throws java.lang.Exception
Specified by:
readAll in interface PartManageableService
Throws:
java.lang.Exception

readBackingLists

public java.util.Map readBackingLists()
                               throws java.lang.Exception
Specified by:
readBackingLists in interface PartManageableService
Throws:
java.lang.Exception

update

public PartValueObject update(java.lang.String codiPart,
                              java.lang.String polissa,
                              java.lang.String dataSinistre,
                              java.lang.Double baseImposable,
                              java.lang.Double percentatgeIva,
                              java.lang.String observacions,
                              java.lang.Boolean obert,
                              java.lang.Long id,
                              java.lang.Long tipusSinistre,
                              java.lang.Long[] facturaDelPart,
                              java.lang.Long client,
                              java.lang.Long asseguradora)
                       throws java.lang.Exception
Specified by:
update in interface PartManageableService
Throws:
java.lang.Exception

delete

public void delete(java.lang.Long[] ids)
            throws java.lang.Exception
Specified by:
delete in interface PartManageableService
Throws:
java.lang.Exception