public interface AdService extends CRUDService<BasicAdDTO,AdDetailsData,AdDataParams>
| Modifier and Type | Method and Description |
|---|---|
AdSearchData |
getAdSearchData(AdType type,
boolean overBrokeredUsers)
Returns data for searching advertisements
|
UserAdsSearchData |
getUserAdsSearchData(UserLocatorVO locator,
AdType type)
Returns data for searching advertisements
|
AdViewData |
getViewData(java.lang.Long id)
Returns data for viewing details of an advertisement
|
Page<BasicAdVO> |
search(BasicAdQuery params)
Searches for advertisements, according to the given query parameters
|
getData, getDataForNew, load, remove, removeAll, saveAdSearchData getAdSearchData(AdType type, boolean overBrokeredUsers) throws FrameworkException
FrameworkExceptionUserAdsSearchData getUserAdsSearchData(UserLocatorVO locator, AdType type) throws FrameworkException
FrameworkExceptionAdViewData getViewData(java.lang.Long id) throws FrameworkException
FrameworkExceptionPage<BasicAdVO> search(BasicAdQuery params) throws FrameworkException, QueryParseException