Class BaseDAO
java.lang.Object
com.maplander.backend.dao.BaseDAO
- Direct Known Subclasses:
AdDAO,AdminDashBoardDAO,AdPackagesDAO,AlertMLDAO,AppleMapkitTokenDAO,AppleUserDAO,AppleUserMLDAO,AssociateDAO,AuthUserDAO,BannerDAO,BCardDAO,BoardDAO,CalendarUserDAO,CardBoardDAO,ChatDAO,ClientDAO,ClientPropertyDAO,ColaboratorDeletedDAO,DesignDAO,DeviceDAO,DeviceFiltersDAO,DeviceMLDAO,ErrorServiceDAO,FavoriteGlobalDAO,GiftDAO,InsightsDAO,InterestedDAO,LastSendDAO,LeadDAO,LeadInfoDAO,LeadOfficeInfoDAO,LeadsToSendDAO,LeadTotalInfoDAO,LeadUserDAO,LeadUserInfoDAO,LevelMlsUDAO,LimitPriceDAO,LinkXMLDAO,LocationDAO,LocationPreviewPolygonDAO,LogDAO,MarketingPanelGDAO,MarketingPanelRVDAO,MasterAccountDAO,MedicineDAO,MessageInfoDAO,MessageWhatsBotDAO,NoteDAO,NotificationDAO,NotificationPreferenceDAO,NotificationRVDAO,NotificationRVTokenDAO,OfferDAO,OfficeDAO,OfficeReportDAO,OrderBannerDAO,OrderBCardDAO,OrderItemBCardDAO,OrganizationDAO,PartnerDAO,PaymentUserDAO,PermissionMlsUDAO,PermissionsDAO,PermisUserMlsUniversalDAO,PFileDAO,PhaseDAO,PopularAreaDAO,ProperieStatusDao,PropertyClientMlsDAO,PropertyDAO,PropertyExpiredDAO,PropertyLiteSuggestDAO,PropertyReferenceDAO,PropertyRequestDAO,PropertyTypeDAO,PublishOrderDAO,RecordDAO,RecordRVDAO,SearchesClientDAO,SearchesMLDAO,SearchesRVDAO,SesInfoDAO,SharedCommissionDAO,SignInLinkMLDAO,SiteRVDAO,TaskDAO,TaskEntryDAO,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> voiddelete(E var) Delete entityprotected static <E> voidDelete entity by idprotected static <E> voiddeleteMany(Class<E> varClass, List<Long> ids) static <E> voiddeleteMany(List<E> list) static <E> voiddeleteManyNow(List<E> list) protected static com.googlecode.objectify.ObjectifygetOfy()Get Objectifyprotected static <E> List<E> List of entitiesprotected static <E> ELoad entityprotected static <E> Eprotected 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> voidsave(E var) Save entitystatic <E> voidstatic <E> voidsaveManyNow(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)
-