\hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database}{}\doxysection{com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Database Class Reference}
\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database}\index{com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}}


Class to manage database This class is for managing the database.  


Inheritance diagram for com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Database\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_aedda3b06b85f004e73cd4820ee052a20}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_aedda3b06b85f004e73cd4820ee052a20}} 
{\bfseries Reminder\+Database} (Context context)
\item 
void \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_a656f2288f17d32e20c53bca8447d2e44}{on\+Create}} (S\+Q\+Lite\+Database db)
\item 
void \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_adefa246b30fdaf0ea5f03e252ad2bb2e}{on\+Upgrade}} (S\+Q\+Lite\+Database db, int old\+Version, int new\+Version)
\item 
int \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_a1f34b025ff6110e060d6ed2964404102}{add\+Reminder}} (\mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_d_o}{Reminder\+DO}} reminder\+DO)
\item 
\mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_d_o}{Reminder\+DO}} \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_a2f14baec9aae86ad28f4d4b4d0401928}{get\+Reminder}} (int id)
\item 
List$<$ \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_d_o}{Reminder\+DO}} $>$ \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_ad2f64b885e445503de9a3a4f73960587}{get\+All\+Reminders}} ()
\item 
int \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_adf6300d504c566c6ae90b133052aae00}{get\+Reminders\+Count}} ()
\item 
int \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_a5ca63b01a334a9256fe672038318f343}{update\+Reminder}} (\mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_d_o}{Reminder\+DO}} reminder\+DO)
\item 
void \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_a2c17a670bf3c223a3395738b1297defa}{delete\+Reminder}} (\mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_d_o}{Reminder\+DO}} reminder\+DO)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Class to manage database This class is for managing the database. 

Definition at line 15 of file Reminder\+Database.\+java.



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_a1f34b025ff6110e060d6ed2964404102}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_a1f34b025ff6110e060d6ed2964404102}} 
\index{com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}!addReminder@{addReminder}}
\index{addReminder@{addReminder}!com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}}
\doxysubsubsection{\texorpdfstring{addReminder()}{addReminder()}}
{\footnotesize\ttfamily int com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Database.\+add\+Reminder (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_d_o}{Reminder\+DO}}}]{reminder\+DO }\end{DoxyParamCaption})}

This method is for adding \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_d_o}{Reminder\+DO}} into the reminder table in database 
\begin{DoxyParams}{Parameters}
{\em reminder\+DO} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 83 of file Reminder\+Database.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_a2c17a670bf3c223a3395738b1297defa}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_a2c17a670bf3c223a3395738b1297defa}} 
\index{com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}!deleteReminder@{deleteReminder}}
\index{deleteReminder@{deleteReminder}!com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}}
\doxysubsubsection{\texorpdfstring{deleteReminder()}{deleteReminder()}}
{\footnotesize\ttfamily void com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Database.\+delete\+Reminder (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_d_o}{Reminder\+DO}}}]{reminder\+DO }\end{DoxyParamCaption})}

This method is for deleting single Reminder\+Do 
\begin{DoxyParams}{Parameters}
{\em reminder\+DO} & \\
\hline
\end{DoxyParams}


Definition at line 208 of file Reminder\+Database.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_ad2f64b885e445503de9a3a4f73960587}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_ad2f64b885e445503de9a3a4f73960587}} 
\index{com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}!getAllReminders@{getAllReminders}}
\index{getAllReminders@{getAllReminders}!com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}}
\doxysubsubsection{\texorpdfstring{getAllReminders()}{getAllReminders()}}
{\footnotesize\ttfamily List$<$\mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_d_o}{Reminder\+DO}}$>$ com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Database.\+get\+All\+Reminders (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

This method is for getting all reminders for a particular user \begin{DoxyReturn}{Returns}
List of $<$\+Reminder\+Do$>$ 
\end{DoxyReturn}


Definition at line 138 of file Reminder\+Database.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_a2f14baec9aae86ad28f4d4b4d0401928}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_a2f14baec9aae86ad28f4d4b4d0401928}} 
\index{com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}!getReminder@{getReminder}}
\index{getReminder@{getReminder}!com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}}
\doxysubsubsection{\texorpdfstring{getReminder()}{getReminder()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_d_o}{Reminder\+DO}} com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Database.\+get\+Reminder (\begin{DoxyParamCaption}\item[{int}]{id }\end{DoxyParamCaption})}

To get single \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_d_o}{Reminder\+DO}} corresponding to the id in parameter 
\begin{DoxyParams}{Parameters}
{\em id} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
reminder\+Do 
\end{DoxyReturn}


Definition at line 106 of file Reminder\+Database.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_adf6300d504c566c6ae90b133052aae00}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_adf6300d504c566c6ae90b133052aae00}} 
\index{com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}!getRemindersCount@{getRemindersCount}}
\index{getRemindersCount@{getRemindersCount}!com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}}
\doxysubsubsection{\texorpdfstring{getRemindersCount()}{getRemindersCount()}}
{\footnotesize\ttfamily int com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Database.\+get\+Reminders\+Count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

This method is for Getting Reminders Count \begin{DoxyReturn}{Returns}
reminder count 
\end{DoxyReturn}


Definition at line 172 of file Reminder\+Database.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_a656f2288f17d32e20c53bca8447d2e44}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_a656f2288f17d32e20c53bca8447d2e44}} 
\index{com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}!onCreate@{onCreate}}
\index{onCreate@{onCreate}!com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}}
\doxysubsubsection{\texorpdfstring{onCreate()}{onCreate()}}
{\footnotesize\ttfamily void com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Database.\+on\+Create (\begin{DoxyParamCaption}\item[{S\+Q\+Lite\+Database}]{db }\end{DoxyParamCaption})}

Creating Tables for reminder 
\begin{DoxyParams}{Parameters}
{\em db} & \\
\hline
\end{DoxyParams}


Definition at line 45 of file Reminder\+Database.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_adefa246b30fdaf0ea5f03e252ad2bb2e}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_adefa246b30fdaf0ea5f03e252ad2bb2e}} 
\index{com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}!onUpgrade@{onUpgrade}}
\index{onUpgrade@{onUpgrade}!com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}}
\doxysubsubsection{\texorpdfstring{onUpgrade()}{onUpgrade()}}
{\footnotesize\ttfamily void com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Database.\+on\+Upgrade (\begin{DoxyParamCaption}\item[{S\+Q\+Lite\+Database}]{db,  }\item[{int}]{old\+Version,  }\item[{int}]{new\+Version }\end{DoxyParamCaption})}

Upgrading database 
\begin{DoxyParams}{Parameters}
{\em db} & \\
\hline
{\em old\+Version} & \\
\hline
{\em new\+Version} & \\
\hline
\end{DoxyParams}


Definition at line 67 of file Reminder\+Database.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_a5ca63b01a334a9256fe672038318f343}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_database_a5ca63b01a334a9256fe672038318f343}} 
\index{com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}!updateReminder@{updateReminder}}
\index{updateReminder@{updateReminder}!com.sudogeeks.talking\_reminder.ReminderDatabase@{com.sudogeeks.talking\_reminder.ReminderDatabase}}
\doxysubsubsection{\texorpdfstring{updateReminder()}{updateReminder()}}
{\footnotesize\ttfamily int com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Database.\+update\+Reminder (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_d_o}{Reminder\+DO}}}]{reminder\+DO }\end{DoxyParamCaption})}

This method is for updating single \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_d_o}{Reminder\+DO}} 
\begin{DoxyParams}{Parameters}
{\em reminder\+DO} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 187 of file Reminder\+Database.\+java.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
C\+:/\+Users/\+Raushan Raj/\+Studio\+Projects/\+Talking\+Reminder2/\+Talking\+Reminder/app/src/main/java/com/sudogeeks/talking\+\_\+reminder/Reminder\+Database.\+java\end{DoxyCompactItemize}
