Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 source file in java?

0 Answers  


What is a plugin in java?

0 Answers  


How to create object without using the keyword “new” in java?

0 Answers  


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 ????

3 Answers   CTS,


what is the purpose and activity of SessionFactory in hibernate?

13 Answers   Cognizant, HCL, Oracle, PiServe Technologies,


What is java transaction api (jta)?

0 Answers  


What is the difference between java and j2ee?

0 Answers  


In DAO we are writting sql queries , how it is possible with creating and closing database connections.

0 Answers  


what is the difference between Tomcat 4 & Tomcat 5?

6 Answers   IBM, TCS,


What is declarative security ?

0 Answers  


What is event in java?

0 Answers  


What is a jpanel in java?

0 Answers  


Categories