Class AdRepository
java.lang.Object
com.maplander.backend.repository.RepositoryBase<Ad,Long>
com.maplander.backend.repository.AdRepository
-
Field Summary
Fields inherited from class com.maplander.backend.repository.RepositoryBase
sessionFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindAllActives(Integer limit, Integer offset, org.hibernate.Session session) findByAdId(String adId, org.hibernate.Session session) findHashImageByAdId(String adId, org.hibernate.Session session) findNextForCron(org.hibernate.Session session) findWithFilters(String adId, Long officeId, Long userId, Long propertyId, String adSetId, StatusAdEnum statusAd, Integer limit, Integer offset, org.hibernate.Session session) voidupdateInsightsTotals(String adId, long impressions, long clicks, double spend, long reach, double frequency, double cpc, double ctr, double cpm, org.hibernate.Session session) Methods inherited from class com.maplander.backend.repository.RepositoryBase
currentSession, delete, delete, deleteAll, deleteAll, deleteAll, deleteAllById, deleteAllById, deleteById, deleteById, deleteById, existsById, findAll, findAll, findById, findById, save, save, saveAll
-
Constructor Details
-
AdRepository
public AdRepository(org.hibernate.SessionFactory sessionFactory)
-
-
Method Details
-
findByAdId
-
findAllActives
-
findWithFilters
-
findHashImageByAdId
-
updateInsightsTotals
public void updateInsightsTotals(String adId, long impressions, long clicks, double spend, long reach, double frequency, double cpc, double ctr, double cpm, org.hibernate.Session session) -
findNextForCron
-