|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ferri.portlet.intervencio.action.ViewIntervencioAction
public class ViewIntervencioAction
Controlador de les pantalles de llistat.jsp de la entitat Intervencio
Field Summary | |
---|---|
private ContracteService |
contracteService
|
private FacturaService |
facturaService
|
private static org.apache.commons.logging.Log |
log
|
private static String |
PAGE_LIST
|
Constructor Summary | |
---|---|
ViewIntervencioAction()
|
Method Summary | |
---|---|
private void |
buscar(javax.portlet.PortletRequest request)
Cerca un llistat d'entitats Intervencio que compleixin els criteris i ordenació passats per formulari request. |
private void |
defecte(javax.portlet.PortletRequest request)
Carrega el llistat amb tots els elements Intervencio i l'afegeix a la request. |
ContracteService |
getContracteService()
|
FacturaService |
getFacturaService()
|
private Boolean |
guardar(javax.portlet.PortletRequest request)
Actualitza una entitat Intervencio a estat Realitzada. |
void |
handleActionRequest(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
|
org.springframework.web.portlet.ModelAndView |
handleRenderRequest(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
void |
setContracteService(ContracteService contracteService)
|
void |
setFacturaService(FacturaService facturaService)
|
private void |
subElements(javax.portlet.PortletRequest request)
Carrega els llistats d'elements secundaris: Estat, i l'afegeix a la request. |
private boolean |
validaBusqueda(IntervencioDTO dto,
javax.portlet.PortletRequest request)
Valida els camps del formulari de cerca en format mes/any o import per entitats Intervencio. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.apache.commons.logging.Log log
private ContracteService contracteService
private FacturaService facturaService
private static final String PAGE_LIST
Constructor Detail |
---|
public ViewIntervencioAction()
Method Detail |
---|
public void handleActionRequest(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response) throws Exception
handleActionRequest
in interface org.springframework.web.portlet.mvc.Controller
Exception
public org.springframework.web.portlet.ModelAndView handleRenderRequest(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws Exception
handleRenderRequest
in interface org.springframework.web.portlet.mvc.Controller
Exception
private void defecte(javax.portlet.PortletRequest request) throws CommonServiceException
request
-
CommonServiceException
private void subElements(javax.portlet.PortletRequest request) throws CommonServiceException
request
-
CommonServiceException
private Boolean guardar(javax.portlet.PortletRequest request) throws Exception
request
-
Exception
private void buscar(javax.portlet.PortletRequest request) throws Exception
request
-
Exception
private boolean validaBusqueda(IntervencioDTO dto, javax.portlet.PortletRequest request)
dto
- IntervencioDTOrequest
-
public ContracteService getContracteService()
public void setContracteService(ContracteService contracteService)
contracteService
- the contracteService to setpublic FacturaService getFacturaService()
public void setFacturaService(FacturaService facturaService)
facturaService
- the facturaService to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |