use of com.autentia.tnt.dao.search.OrganizationSearch in project TNTConcept by autentia.
the class InteractionBean method restoreOffer.
public void restoreOffer() {
final OfferBean offerBean = (OfferBean) FacesUtils.getBean("offerBean");
final OrganizationSearch orgSearch = new OrganizationSearch();
orgSearch.setName(offerBean.getOrganization().getName());
offerBean.setOrganization(OrganizationManager.getDefault().getAllEntities(orgSearch, new SortCriteria("id")).get(0));
interaction = null;
}
Aggregations