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 a servlet? and explain its lifecycle methods?

7 Answers  


Use of private variable while creating properties ???

1 Answers  


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 ?

0 Answers   Sony,


Write a program to display numeric value in reverse order. Ex: I have given a number like 7584, It should display in reverse order like 4857.

6 Answers  


What is java awt event?

0 Answers  


What is credentials?

0 Answers  


Which compiler is used in java?

0 Answers  


What are j2ee components?

0 Answers  


What is context root?

0 Answers  


Is java is a technology?

0 Answers  


What do you mean by j2ee module?

0 Answers  


What is a web container in j2ee?

0 Answers  


Categories