|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ferri.service.commons.GenericBaseServiceImpl
com.ferri.service.impl.FacturaServiceImpl
public class FacturaServiceImpl
Field Summary | |
---|---|
private ConstantsDAO |
constantsDAO
|
private ContadorDAO |
contadorDAO
|
private EstatDAO |
estatDAO
|
private FacturaDAO |
facturaDAO
|
private PressupostDAO |
pressupostDAO
|
Fields inherited from class com.ferri.service.commons.GenericBaseServiceImpl |
---|
logger |
Constructor Summary | |
---|---|
FacturaServiceImpl()
|
Method Summary | |
---|---|
String |
createFactura(FacturaSrvInDTO facturaSrvInDTO)
Crea una instancia Factura |
String |
createPressupost(PressupostSrvInDTO pressupostSrvInDTO)
Crea una instancia Pressupost |
Boolean |
deleteFactura(FacturaSrvInDTO facturaSrvInDTO)
Elimina una instancia Factura |
Boolean |
deletePressupost(PressupostSrvInDTO pressupostSrvInDTO)
Elimina una instancia Pressupost |
FacturaSrvOutDTO |
getAllFactura()
Carrega totes les Factures |
PressupostSrvOutDTO |
getAllPressupost()
Carrega tots els Pressupostos |
ConstantsSrvOutDTO |
getConstants(ConstantsSrvInDTO constantsSrvInDTO)
Busca sobre Constants amb els criteris informats |
ConstantsDAO |
getConstantsDAO()
|
ContadorDAO |
getContadorDAO()
|
EstatSrvOutDTO |
getEstat(EstatSrvInDTO estatSrvInDTO)
Busca sobre Estats amb els criteris informats |
EstatDAO |
getEstatDAO()
|
private EstatSrvOutDTO |
getEstatsByPrefix(String prefix)
Cerca un llista de entitats Estat depenent del prefix. |
EstatSrvOutDTO |
getEstatsContracte()
Carrega tots els Estats de Contracte |
EstatSrvOutDTO |
getEstatsFactura()
Carrega tots els Estats de Factura |
EstatSrvOutDTO |
getEstatsIntervencio()
Carrega tots els Estats de Intervencio |
EstatSrvOutDTO |
getEstatsPressupost()
Carrega tots els Estats de Pressupost |
FacturaSrvOutDTO |
getFactura(FacturaSrvInDTO facturaSrvInDTO)
Busca sobre Factures amb els criteris informats |
FacturaDAO |
getFacturaDAO()
|
FacturaSrvOutDTO |
getFacturasByCriteria(FacturaSrvInDTO facturaSrvInDTO)
Busca sobre Factures amb els criteris informats |
PressupostSrvOutDTO |
getPressupost(PressupostSrvInDTO pressupostSrvInDTO)
Busca sobre Pressupostos amb els criteris informats |
PressupostDAO |
getPressupostDAO()
|
PressupostSrvOutDTO |
getPressupostsByCriteria(PressupostSrvInDTO pressupostSrvInDTO)
Busca sobre Pressupostos amb els criteris informats |
String |
nextNumeroFactura()
Crida el següent numero de Factura |
String |
nextNumeroPressupost()
Crida el següent numero de Pressupost |
void |
setConstantsDAO(ConstantsDAO constantsDAO)
|
void |
setContadorDAO(ContadorDAO contadorDAO)
|
void |
setEstatDAO(EstatDAO estatDAO)
|
void |
setFacturaDAO(FacturaDAO facturaDAO)
|
void |
setPressupostDAO(PressupostDAO pressupostDAO)
|
Boolean |
updateFactura(FacturaSrvInDTO facturaSrvInDTO)
Actualitza una instancia Factura |
Boolean |
updatePressupost(PressupostSrvInDTO pressupostSrvInDTO)
Actualitza una instancia Pressupost |
Methods inherited from class com.ferri.service.commons.GenericBaseServiceImpl |
---|
getBeansConverter, setBeansConverter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private FacturaDAO facturaDAO
private PressupostDAO pressupostDAO
private EstatDAO estatDAO
private ContadorDAO contadorDAO
private ConstantsDAO constantsDAO
Constructor Detail |
---|
public FacturaServiceImpl()
Method Detail |
---|
public Boolean updateFactura(FacturaSrvInDTO facturaSrvInDTO) throws CommonServiceException
FacturaService
updateFactura
in interface FacturaService
CommonServiceException
public String createFactura(FacturaSrvInDTO facturaSrvInDTO) throws CommonServiceException
FacturaService
createFactura
in interface FacturaService
CommonServiceException
public Boolean deleteFactura(FacturaSrvInDTO facturaSrvInDTO) throws CommonServiceException
FacturaService
deleteFactura
in interface FacturaService
CommonServiceException
public FacturaSrvOutDTO getFactura(FacturaSrvInDTO facturaSrvInDTO) throws CommonServiceException
FacturaService
getFactura
in interface FacturaService
CommonServiceException
public FacturaSrvOutDTO getFacturasByCriteria(FacturaSrvInDTO facturaSrvInDTO) throws CommonServiceException
FacturaService
getFacturasByCriteria
in interface FacturaService
CommonServiceException
public FacturaSrvOutDTO getAllFactura() throws CommonServiceException
FacturaService
getAllFactura
in interface FacturaService
CommonServiceException
public Boolean updatePressupost(PressupostSrvInDTO pressupostSrvInDTO) throws CommonServiceException
FacturaService
updatePressupost
in interface FacturaService
CommonServiceException
public String createPressupost(PressupostSrvInDTO pressupostSrvInDTO) throws CommonServiceException
FacturaService
createPressupost
in interface FacturaService
CommonServiceException
public Boolean deletePressupost(PressupostSrvInDTO pressupostSrvInDTO) throws CommonServiceException
FacturaService
deletePressupost
in interface FacturaService
CommonServiceException
public PressupostSrvOutDTO getPressupost(PressupostSrvInDTO pressupostSrvInDTO) throws CommonServiceException
FacturaService
getPressupost
in interface FacturaService
CommonServiceException
public PressupostSrvOutDTO getPressupostsByCriteria(PressupostSrvInDTO pressupostSrvInDTO) throws CommonServiceException
FacturaService
getPressupostsByCriteria
in interface FacturaService
CommonServiceException
public PressupostSrvOutDTO getAllPressupost() throws CommonServiceException
FacturaService
getAllPressupost
in interface FacturaService
CommonServiceException
public EstatSrvOutDTO getEstat(EstatSrvInDTO estatSrvInDTO) throws CommonServiceException
FacturaService
getEstat
in interface FacturaService
CommonServiceException
public EstatSrvOutDTO getEstatsFactura() throws CommonServiceException
FacturaService
getEstatsFactura
in interface FacturaService
CommonServiceException
public EstatSrvOutDTO getEstatsPressupost() throws CommonServiceException
FacturaService
getEstatsPressupost
in interface FacturaService
CommonServiceException
public EstatSrvOutDTO getEstatsContracte() throws CommonServiceException
FacturaService
getEstatsContracte
in interface FacturaService
CommonServiceException
public EstatSrvOutDTO getEstatsIntervencio() throws CommonServiceException
FacturaService
getEstatsIntervencio
in interface FacturaService
CommonServiceException
private EstatSrvOutDTO getEstatsByPrefix(String prefix) throws CommonServiceException
prefix
-
CommonServiceException
public String nextNumeroFactura() throws CommonServiceException
FacturaService
nextNumeroFactura
in interface FacturaService
CommonServiceException
public String nextNumeroPressupost() throws CommonServiceException
FacturaService
nextNumeroPressupost
in interface FacturaService
CommonServiceException
public ConstantsSrvOutDTO getConstants(ConstantsSrvInDTO constantsSrvInDTO) throws CommonServiceException
FacturaService
getConstants
in interface FacturaService
CommonServiceException
public FacturaDAO getFacturaDAO()
public void setFacturaDAO(FacturaDAO facturaDAO)
facturaDAO
- the facturaDAO to setpublic PressupostDAO getPressupostDAO()
public void setPressupostDAO(PressupostDAO pressupostDAO)
pressupostDAO
- the pressupostDAO to setpublic EstatDAO getEstatDAO()
public void setEstatDAO(EstatDAO estatDAO)
estatDAO
- the estatDAO to setpublic ContadorDAO getContadorDAO()
public void setContadorDAO(ContadorDAO contadorDAO)
contadorDAO
- the contadorDAO to setpublic ConstantsDAO getConstantsDAO()
public void setConstantsDAO(ConstantsDAO constantsDAO)
constantsDAO
- the constantsDAO to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |