All Downloads are FREE. Search and download functionalities are using the official Maven repository.

events.system.service.api.EventLocationsService Maven / Gradle / Ivy

package events.system.service.api;

import java.util.Date;
import java.util.List;

import user.management.model.Users;
import address.book.model.Addresses;
import events.system.enums.UsereventsRelationType;
import events.system.model.Categories;
import events.system.model.EventLocations;
import events.system.model.EventTemplate;
import hbm.service.jpa.BusinessService;

public interface EventLocationsService extends
		BusinessService {
	

	/**
	 * Find event locations.
	 *
	 * @param user
	 *            the user
	 * @param relationtype
	 *            the relationtype
	 * @return the list
	 */
	List findEventLocations(final Users user,
			final UsereventsRelationType relationtype);

	/**
	 * Find events.
	 *
	 * @param provider
	 *            the provider
	 * @param event
	 *            the event
	 * @return the event locations
	 */
	EventLocations findEvent(final Users provider, final EventTemplate event);

	/**
	 * Find events.
	 *
	 * @param event
	 *            the event
	 * @return the list
	 */
	List findEvents(final EventTemplate event);

	/**
	 * Find events.
	 *
	 * @param eventname
	 *            the eventname
	 * @param category
	 *            the category
	 * @param condition
	 *            the condition
	 * @return the list
	 */
	List findEvents(final String eventname,
			final Categories category, final boolean condition);

	/**
	 * Find events.
	 *
	 * @param eventname
	 *            the eventname
	 * @return the list
	 */
	List findEvents(final String eventname);
	/**
	 * Find events.
	 *
	 * @param eventname
	 *            the eventname
	 * @param start
	 *            the start
	 * @param end
	 *            the end
	 * @param geohash
	 *            the geohash for range. The geohash should be a substring from
	 *            the search address geohash to limit the range from the search.
	 * @return the list
	 */
	List findEvents(final String eventname, final Date start,
			final Date end, final String geohash);

	/**
	 * Find events.
	 *
	 * @param provider
	 *            the provider
	 * @return the list
	 */
	List findEvents(final Users provider);

	/**
	 * Find event locations from provider.
	 *
	 * @param provider
	 *            the provider
	 * @return the list
	 */
	List findEventLocationsFromProvider(final Users provider);

	/**
	 * Find all contact persons from the given provider.
	 *
	 * @param provider
	 *            the provider
	 * @return the list
	 */
	List findContactPersonsFromProvider(final Users provider);

	/**
	 * Find all event locations from given event.
	 *
	 * @param event
	 *            the event
	 * @return the list
	 */
	public List findEventLocationsFromEvent(EventTemplate event);

	/**
	 * Find event locations where the given user address is in use.
	 *
	 * @param userAddress
	 *            the user address
	 * @return the list
	 */
	public List findEventLocations(Addresses userAddress);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy