public EventRegistryBean getEventRegistry(EventRegistryRequest eventHotelRequest) { EventRegistryBean eventRegistryBean = new EventRegistryBean(); if (eventHotelRequest != null) { AccessEventRegistryData accessEventPartyData = new AccessEventRegistryData(); eventRegistryBean = accessEventPartyData.getEventRegistry(eventHotelRequest); } return eventRegistryBean; }
public ArrayList<EventRegistryBean> getEventRegistryByWebsite( EventRegistryRequest eventHotelRequest) { ArrayList<EventRegistryBean> arrEventRegistryBean = new ArrayList<EventRegistryBean>(); if (eventHotelRequest != null) { AccessEventRegistryData accessEventPartyData = new AccessEventRegistryData(); arrEventRegistryBean = accessEventPartyData.getEventRegistryByWebsite(eventHotelRequest); } return arrEventRegistryBean; }