inmuebles.action
Class VerPisoAccion

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by inmuebles.action.VerPisoAccion
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.ModelDriven, com.opensymphony.xwork2.Preparable, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, java.io.Serializable, org.apache.struts2.interceptor.SessionAware

public class VerPisoAccion
extends com.opensymphony.xwork2.ActionSupport
implements com.opensymphony.xwork2.Preparable, com.opensymphony.xwork2.ModelDriven, org.apache.struts2.interceptor.SessionAware

Acción que recupera un listado filtrado de anuncios. Se utiliza la interfaz ModelDriven para realizar un mapeo automático entre el bean Usuario y los campos de la página jsp.

Author:
Ricardo de los Rios
See Also:
Serialized Form

Field Summary
private  Anuncio anuncio
           
private  java.lang.String idUsuarioActual
           
private  java.util.Map<java.lang.String,java.lang.Object> sessionMap
           
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
VerPisoAccion()
           
 
Method Summary
 java.lang.String execute()
           
 Anuncio getAnuncio()
           
 java.lang.Object getModel()
           
 void prepare()
           
 void setAnuncio(Anuncio anuncio)
           
 void setSession(java.util.Map<java.lang.String,java.lang.Object> map)
           
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

anuncio

private Anuncio anuncio

idUsuarioActual

private java.lang.String idUsuarioActual

sessionMap

private java.util.Map<java.lang.String,java.lang.Object> sessionMap
Constructor Detail

VerPisoAccion

public VerPisoAccion()
Method Detail

prepare

public void prepare()
             throws java.lang.Exception
Specified by:
prepare in interface com.opensymphony.xwork2.Preparable
Throws:
java.lang.Exception

setSession

public void setSession(java.util.Map<java.lang.String,java.lang.Object> map)
Specified by:
setSession in interface org.apache.struts2.interceptor.SessionAware

getModel

public java.lang.Object getModel()
Specified by:
getModel in interface com.opensymphony.xwork2.ModelDriven

getAnuncio

public Anuncio getAnuncio()

setAnuncio

public void setAnuncio(Anuncio anuncio)

execute

public java.lang.String execute()
Specified by:
execute in interface com.opensymphony.xwork2.Action
Overrides:
execute in class com.opensymphony.xwork2.ActionSupport