2,8 → 2,10 |
|
import org.apache.struts.action.ActionErrors; |
import org.apache.struts.action.ActionMapping; |
import pt.estgp.estgweb.domain.views.UserView; |
|
import javax.servlet.http.HttpServletRequest; |
import java.util.List; |
|
/** |
* Created by jorgemachado on 05/04/16. |
11,6 → 13,8 |
public class CertificadoForm extends ApplicationForm |
{ |
private long userId; |
private String textoPesquisar; |
private List<UserView> users; |
|
public long getUserId() { |
return userId; |
20,6 → 24,22 |
this.userId = userId; |
} |
|
public String getTextoPesquisar() { |
return textoPesquisar; |
} |
|
public void setTextoPesquisar(String textoPesquisar) { |
this.textoPesquisar = textoPesquisar; |
} |
|
public List<UserView> getUsers() { |
return users; |
} |
|
public void setUsers(List<UserView> users) { |
this.users = users; |
} |
|
@Override |
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { |
ActionErrors errors= new ActionErrors(); |