Class BaseDAO
java.lang.Object
com.maplander.backend.dao.BaseDAO
- Direct Known Subclasses:
AdminDashBoardDAO
,AlertMLDAO
,AppleMapkitTokenDAO
,AppleUserDAO
,AppleUserMLDAO
,AuthUserDAO
,BannerDAO
,BCardDAO
,CalendarUserDAO
,ClientDAO
,ClientPropertyDAO
,ColaboratorDeletedDAO
,DesignDAO
,DeviceDAO
,DeviceFiltersDAO
,DeviceMLDAO
,ErrorServiceDAO
,FavoriteGlobalDAO
,GiftDAO
,InterestedDAO
,LastSendDAO
,LeadDAO
,LeadInfoDAO
,LeadOfficeInfoDAO
,LeadsToSendDAO
,LeadTotalInfoDAO
,LeadUserDAO
,LeadUserInfoDAO
,LimitPriceDAO
,LinkXMLDAO
,LocationDAO
,LocationPreviewPolygonDAO
,LogDAO
,MarketingPanelGDAO
,MarketingPanelRVDAO
,MasterAccountDAO
,MedicineDAO
,MessageInfoDAO
,MessageWhatsBotDAO
,NoteDAO
,NotificationDAO
,NotificationPreferenceDAO
,NotificationRVDAO
,NotificationRVTokenDAO
,OfferDAO
,OfficeDAO
,OfficeReportDAO
,OrderBannerDAO
,OrganizationDAO
,PartnerDAO
,PaymentUserDAO
,PFileDAO
,PopularAreaDAO
,PropertyDAO
,PropertyExpiredDAO
,PropertyLiteSuggestDAO
,PropertyReferenceDAO
,PropertyRequestDAO
,PropertyTypeDAO
,PublishOrderDAO
,RecordDAO
,RecordRVDAO
,SearchesClientDAO
,SearchesMLDAO
,SearchesRVDAO
,SesInfoDAO
,SharedCommissionDAO
,SignInLinkMLDAO
,SiteRVDAO
,TaskDAO
,UnsubscribeGlobalDAO
,UserAuthDAO
,UserDAO
,UserMLDAO
,UserRemaxDAO
,UserToCleanDAO
,UserToDeleteDAO
,UserWhatsAppDAO
,UserWhatsAppRVDAO
,WhatsAppWithOutUserDAO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static <E> com.google.api.server.spi.response.CollectionResponse
<E> buildCollectionResponse
(com.google.cloud.datastore.QueryResults<E> iterator, Long time) static <E> void
delete
(E var) Delete entityprotected static <E> void
Delete entity by idprotected static <E> void
deleteMany
(Class<E> varClass, List<Long> ids) static <E> void
deleteMany
(List<E> list) static <E> void
deleteManyNow
(List<E> list) protected static com.googlecode.objectify.Objectify
getOfy()
Get Objectifyprotected static <E> List
<E> List of entitiesprotected static <E> E
Load entityprotected static <E> E
protected static <S,
E> Map <S, E> protected static <E> com.googlecode.objectify.cmd.Query
<E> queryDefault
(Class<E> varClass, Integer limit, String cursor) static <E> void
save
(E var) Save entitystatic <E> void
static <E> void
saveManyNow
(List<E> list)
-
Constructor Details
-
BaseDAO
public BaseDAO()
-
-
Method Details
-
save
public static <E> void save(E var) Save entity- Type Parameters:
E
- Class of entity- Parameters:
var
- Entity
-
saveMany
-
saveManyNow
-
load
-
load
-
load
-
list
-
delete
public static <E> void delete(E var) Delete entity- Type Parameters:
E
- Class of entity- Parameters:
var
- Entity
-
deleteMany
-
deleteManyNow
-
delete
-
deleteMany
-
getOfy
protected static com.googlecode.objectify.Objectify getOfy()Get Objectify- Returns:
- an instance of ObjectifyService
-
queryDefault
-
buildCollectionResponse
protected static <E> com.google.api.server.spi.response.CollectionResponse<E> buildCollectionResponse(com.google.cloud.datastore.QueryResults<E> iterator, Long time)
-