Class BQueryAd
java.lang.Object
com.maplander.backend.utils.bquery.BQueryAd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Adstatic Adstatic AdPackagesgetAdPackagesEnd(String adId, boolean isActive, boolean isReactive) static AdPackagesgetAdPackagesId(String adId) static StringgetHashImageByAdId(String adId) static longstatic voidinsertAdPackages(AdPackages adPackages) static LonginsertInsights(Insights insights) listAd(String adId, Long officeId, Long userId, Long propertyId, String adSetId, double amountDay, StatusAdEnum statusAd) listAllActives(Integer limit, String cursor) static Adstatic voidstatic voidupdateAdPackages(AdPackages adPackages) static booleanupdateStatusAd(Long adId, StatusAdEnum statusAd) static voidupsertAdInsightsTotal(Insights insights) static voidupsertInsightsTotal(Insights insights)
-
Constructor Details
-
BQueryAd
public BQueryAd()
-
-
Method Details
-
loadAd
-
listAllActives
-
updateStatusAd
-
insertAd
-
insertInsights
-
upsertInsightsTotal
- Throws:
InterruptedException
-
upsertAdInsightsTotal
- Throws:
InterruptedException
-
getHashImageByAdId
- Throws:
InterruptedException
-
getAdById
-
updateAd
- Throws:
InterruptedException
-
listAd
public static List<Ad> listAd(String adId, Long officeId, Long userId, Long propertyId, String adSetId, double amountDay, StatusAdEnum statusAd) throws InterruptedException - Throws:
InterruptedException
-
getAdCron
-
getAdPackagesId
-
getAdPackagesEnd
-
insertAdPackages
-
updateAdPackages
- Throws:
InterruptedException
-