public interface AdServiceLocal extends AdService, org.cyclos.impl.CRUDServiceLocal<BasicAd,BasicAdDTO,AdDetailsData,AdDataParams>
AdService| Modifier and Type | Method and Description |
|---|---|
void |
disableForCurrency(User user,
Currency currency)
Disables all the ads for the given user and currency
|
java.lang.Integer |
getAdvertisementsCount(User user,
AdType type)
Counts the number of active ads given user and ad type
|
void |
removeAll(UserVO user)
Removes all the ads for the given user.
|
getAdSearchData, getUserAdsSearchData, getViewData, searchfind, findAll, getEntityClass, newEntity, remove, removeAll, toDTO, toEntity, validategetData, getDataForNew, load, remove, removeAll, savevoid disableForCurrency(User user, Currency currency)
java.lang.Integer getAdvertisementsCount(User user, AdType type) throws FrameworkException
FrameworkExceptionvoid removeAll(UserVO user)