public class ActionSearchBean extends
GenericSearchBean<ActionDTO, Long,
ActionDTO> {

@Override
public String search() {
data.setRowCount(null);

if(data.getRowCount()==0){
data.getNoRecordFound().setRendered(true);
data.getDataScroller().setRendered(false);
}

return "searchAction";
}

@Override
public String clear() {
data.setRowCount(null);

if (data.getRowCount() > 0){
data.getNoRecordFound().setRendered(false);
data.getDataScroller().setRendered(true);
}else{
data.getNoRecordFound().setRendered(true);
data.getDataScroller().setRendered(false);
}

data.setModel(new ActionDTO());
data.setRowCount(null);

return "searchAction";
}

}

what is the purpose of @Override ...what will do @Override
here ?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More J2EE Interview Questions

What is the difference between sendRedirect() and forward()? in what situations do we have to use send redirect() instead of forward().

13 Answers   Honeywell, Mind Tree, Samsung, Wipro,


J2ee is a container centric architecture. Explain.

0 Answers  


What is component-managed sign-on ?

0 Answers  


Explain about J2EE Application Architecture

1 Answers  


Why is java used?

0 Answers  






What is 'applet container' ?

0 Answers  


What is enterprise information system resource?

0 Answers  


What is the J2EE module?

0 Answers  


What does java ee stand for?

0 Answers  


What is setfocusable in java?

0 Answers  


What is the latest framework in java?

0 Answers  


Possible ways for debugging java ,javascript,jsp and servlet. Can we use System.out.println debugging java.

2 Answers  


Categories