Contents
- Description
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- loadAd(String)
- listAllActives(Integer, String)
- updateStatusAd(Long, StatusAdEnum)
- listAllInsights(Long, Long, String, boolean, StatusAdEnum)
- getAdTotals(String, Long, Long, Long)
- insertAd(Ad)
- insertInsights(Insights)
- upsertInsightsTotal(Insights)
- upsertAdInsightsTotal(Insights)
- listInsightsFiltered(Long, Long, String, Long, Integer)
- listInsightsTotal(String)
- getHashImageByAdId(String)
- getAdById(String)
- updateAd(Ad)
- listAd(String, Long, Long, Long, String, double, StatusAdEnum)
- getAdCron()
- getAdPackagesId(String)
- getAdPackagesEnd(String, boolean, boolean)
- insertAdPackages(AdPackages)
- updateAdPackages(AdPackages)
Class BQueryAd
java.lang.Object
com.maplander.backend.utils.bquery.BQueryAd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Ad
static Ad
static AdPackages
getAdPackagesEnd
(String adId, boolean isActive, boolean isReactive) static AdPackages
getAdPackagesId
(String adId) static AdTotals
getAdTotals
(String adId, Long propertyId, Long initDate, Long endDate) static String
getHashImageByAdId
(String adId) static long
static void
insertAdPackages
(AdPackages adPackages) static Long
insertInsights
(Insights insights) listAd
(String adId, Long officeId, Long userId, Long propertyId, String adSetId, double amountDay, StatusAdEnum statusAd) listAllActives
(Integer limit, String cursor) listAllInsights
(Long userId, Long officeId, String adId, boolean monthly, StatusAdEnum statusAd) static List
<InsightsTotal> listInsightsTotal
(String adId) static Ad
static void
static void
updateAdPackages
(AdPackages adPackages) static boolean
updateStatusAd
(Long adId, StatusAdEnum statusAd) static void
upsertAdInsightsTotal
(Insights insights) static void
upsertInsightsTotal
(Insights insights)
-
Constructor Details
-
Method Details
-
loadAd
-
listAllActives
-
updateStatusAd
-
listAllInsights
-
getAdTotals
-
insertAd
-
insertInsights
-
upsertInsightsTotal
- Throws:
InterruptedException
-
upsertAdInsightsTotal
- Throws:
InterruptedException
-
listInsightsFiltered
public static List<Insights> listInsightsFiltered(Long userId, Long officeId, String adId, Long date, Integer limit) throws InterruptedException - Throws:
InterruptedException
-
listInsightsTotal
- 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
-