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

Is visual studio good for java?

0 Answers  


What is jbutton in java?

0 Answers  


explain the technologies that j2ee platform provides for developing components.

0 Answers  


There are 2 classes . Class A and Class B. In Class A i declared a variable in private. if we can access this private variable in Class B. If yes means , how we can access ?

7 Answers   HCL, Itx Centrics, Virtusa,


Who generates bytecode in java?

0 Answers  






What is java awt event?

0 Answers  


What is japplet in java?

0 Answers  


Urgent recruitment in CTS for JAVA .Experience 3 to 10 years.

1 Answers   CTS,


can someone tell me how does preparedstatement works? its an interface and where is the implementation?

3 Answers   Satyam, TCS,


What is j2ee explain the component of j2ee application?

0 Answers  


What is devops in java?

0 Answers  


What do you mean by the deployment descriptor?

0 Answers  


Categories