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
What is source file in java?
What is a plugin in java?
How to create object without using the keyword “new” in java?
I am newbie in J2EE & looking for strong basic behind each concept as, Why do we use private access specifier before each variable of type property bcoz ultimately to access it outside the class we use public method as getter & setter ? If we use getter & setter to access it outside the class so better we make variable as public so that it is easily available outside of the class... Please guide me why do we use as private ????
what is the purpose and activity of SessionFactory in hibernate?
13 Answers Cognizant, HCL, Oracle, PiServe Technologies,
What is java transaction api (jta)?
What is the difference between java and j2ee?
In DAO we are writting sql queries , how it is possible with creating and closing database connections.
what is the difference between Tomcat 4 & Tomcat 5?
What is declarative security ?
What is event in java?
What is a jpanel in java?