public class AHOfferFinderUtil extends Object
Constructor and Description |
---|
AHOfferFinderUtil() |
Modifier and Type | Method and Description |
---|---|
static Integer |
countOfferByCategories(int status,
Long[] categories) |
static Integer |
countOfferByCategories(int status,
String categories) |
static Integer |
countOfferByCategoryitems(int status,
String[] categoryItems) |
static Integer |
countOfferByOfferTypes(int status,
int[] types) |
static Integer |
countOfferByOfferTypes(int status,
String types) |
static Integer |
countOfferByTypesAndItemsAndOrg(int status,
String types,
String categories,
long orgId,
Float lat,
Float lon,
Integer dist) |
static List<AHOffer> |
getExpiredOffersByOrg(long orgId,
long starTime,
long endTime) |
static AHOfferFinder |
getFinder() |
static List<AHOffer> |
getNewlyPublishedOffers(long publishStartTime) |
static List<AHOffer> |
getOfferByCategories(int status,
Long[] categories,
int from,
int to) |
static List<AHOffer> |
getOfferByCategories(int status,
String[] categories,
int from,
int to) |
static List<AHOffer> |
getOfferByCategories(int status,
String categories,
int from,
int to) |
static List<AHOffer> |
getOfferByCategoryitems(int status,
String[] categoryItems,
int from,
int to) |
static List<AHOffer> |
getOfferByOfferTypes(int status,
int[] types,
int from,
int to) |
static List<AHOffer> |
getOfferByOfferTypes(int status,
String types,
int from,
int to) |
static List<AHOffer> |
getOfferByTypesAndItemsAndOrg(int status,
String types,
String categories,
long orgId,
int from,
int to,
Float lat,
Float lon,
Integer dist) |
static List<AHOffer> |
getOffersByDistance(long lon,
long lat,
int distInKm,
int from,
int to) |
static List<AHOffer> |
getOffersByOrgWithCustomOrder(long orgId,
String column,
String order,
int from,
int to) |
static List<AHOffer> |
getOffersWithCustomOrder(String column,
String order,
int from,
int to) |
void |
setFinder(AHOfferFinder finder) |
public static List<AHOffer> getOffersByDistance(long lon, long lat, int distInKm, int from, int to) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static List<AHOffer> getOffersWithCustomOrder(String column, String order, int from, int to) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static List<AHOffer> getOffersByOrgWithCustomOrder(long orgId, String column, String order, int from, int to) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static List<AHOffer> getNewlyPublishedOffers(long publishStartTime) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static List<AHOffer> getExpiredOffersByOrg(long orgId, long starTime, long endTime) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static Integer countOfferByCategoryitems(int status, String[] categoryItems) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static List<AHOffer> getOfferByCategoryitems(int status, String[] categoryItems, int from, int to) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static Integer countOfferByOfferTypes(int status, String types) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static List<AHOffer> getOfferByTypesAndItemsAndOrg(int status, String types, String categories, long orgId, int from, int to, Float lat, Float lon, Integer dist) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static Integer countOfferByTypesAndItemsAndOrg(int status, String types, String categories, long orgId, Float lat, Float lon, Integer dist) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static List<AHOffer> getOfferByOfferTypes(int status, String types, int from, int to) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static Integer countOfferByCategories(int status, String categories) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static List<AHOffer> getOfferByCategories(int status, String categories, int from, int to) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static List<AHOffer> getOfferByCategories(int status, String[] categories, int from, int to) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static List<AHOffer> getOfferByCategories(int status, Long[] categories, int from, int to) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static Integer countOfferByCategories(int status, Long[] categories) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static List<AHOffer> getOfferByOfferTypes(int status, int[] types, int from, int to) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static Integer countOfferByOfferTypes(int status, int[] types) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
public static AHOfferFinder getFinder()
public void setFinder(AHOfferFinder finder)
Copyright © 2016 Fraunhofer FOKUS. All rights reserved.