\hypertarget{protocol_event_repository-p}{
\section{$<$\-Event\-Repository$>$ \-Protocol \-Reference}
\label{protocol_event_repository-p}\index{$<$\-Event\-Repository$>$@{$<$\-Event\-Repository$>$}}
}
\-Inheritance diagram for $<$\-Event\-Repository$>$\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{protocol_event_repository-p}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
(void) -\/ \hyperlink{protocol_event_repository-p_a25f0a35ced41baf3ce82d51d84e38b51}{add\-Repository\-Listener\-:with\-Repository\-Change\-Policy\-:}
\item 
(void) -\/ \hyperlink{protocol_event_repository-p_a7315a76f63bfbb05e97520625d37a881}{remove\-Repository\-Change\-Listener\-:}
\item 
(void) -\/ \hyperlink{protocol_event_repository-p_a91aeec9b77ff9944ac01c99c4e98c343}{delete\-Event\-:}
\item 
(\-Fx\-Event $\ast$) -\/ \hyperlink{protocol_event_repository-p_a964deaf778c6c5a13c2159fb611ba9ef}{actual\-Media\-:}
\item 
(\-Event\-Count $\ast$) -\/ \hyperlink{protocol_event_repository-p_ac8985019b228cc69e1678ccce9cdc0a2}{event\-Count}
\item 
(\hyperlink{interface_event_result_set}{\-Event\-Result\-Set} $\ast$) -\/ \hyperlink{protocol_event_repository-p_a83cb2e0a3ab02c7cc56e868833aabbdb}{media\-Thumbnail\-Events\-:}
\item 
(\hyperlink{interface_event_result_set}{\-Event\-Result\-Set} $\ast$) -\/ \hyperlink{protocol_event_repository-p_a195d8d6ac1176f6ca04e64335bb89fad}{regular\-Events\-:}
\item 
(\hyperlink{interface_event_result_set}{\-Event\-Result\-Set} $\ast$) -\/ \hyperlink{protocol_event_repository-p_a9278b47ac4217e45808c21cd86698c47}{media\-No\-Thumbnail\-Events\-:}
\item 
(void) -\/ \hyperlink{protocol_event_repository-p_ac6d61a7e595aea2098bd96bc603b6087}{insert\-:}
\item 
(void) -\/ \hyperlink{protocol_event_repository-p_a727c213748a4470b2056d1f5b0931c9d}{update\-Media\-Thumbnail\-Status\-:with\-Status\-:}
\end{DoxyCompactItemize}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{protocol_event_repository-p_a964deaf778c6c5a13c2159fb611ba9ef}{
\index{\-Event\-Repository-\/p@{\-Event\-Repository-\/p}!actual\-Media\-:@{actual\-Media\-:}}
\index{actual\-Media\-:@{actual\-Media\-:}!EventRepository-p@{\-Event\-Repository-\/p}}
\subsubsection[{actual\-Media\-:}]{\setlength{\rightskip}{0pt plus 5cm}-\/ (\-Fx\-Event$\ast$) actual\-Media\-: 
\begin{DoxyParamCaption}
\item[{dummy(\-N\-S\-Integer)}]{a\-Pair\-Id}
\end{DoxyParamCaption}
\hspace{0.3cm}{\ttfamily  \mbox{[}required\mbox{]}}}}
\label{protocol_event_repository-p_a964deaf778c6c5a13c2159fb611ba9ef}

\begin{DoxyItemize}
\item \-Method name\-: actual\-Media
\item \-Purpose\-: \-Method of \hyperlink{protocol_repository_change_listener-p}{\-Repository\-Change\-Listener} protocol, use to select actual media event
\item \-Argument list and description\-: a\-Pair\-Id, paring id to actual media in repository
\item \-Return description\-: \-Return \-Fx\-Event super class then caller can cast to a specific type 
\end{DoxyItemize}\hypertarget{protocol_event_repository-p_a25f0a35ced41baf3ce82d51d84e38b51}{
\index{\-Event\-Repository-\/p@{\-Event\-Repository-\/p}!add\-Repository\-Listener\-:with\-Repository\-Change\-Policy\-:@{add\-Repository\-Listener\-:with\-Repository\-Change\-Policy\-:}}
\index{add\-Repository\-Listener\-:with\-Repository\-Change\-Policy\-:@{add\-Repository\-Listener\-:with\-Repository\-Change\-Policy\-:}!EventRepository-p@{\-Event\-Repository-\/p}}
\subsubsection[{add\-Repository\-Listener\-:with\-Repository\-Change\-Policy\-:}]{\setlength{\rightskip}{0pt plus 5cm}-\/ (void) add\-Repository\-Listener\-: 
\begin{DoxyParamCaption}
\item[{dummy(id$<$ {\bf \-Repository\-Change\-Listener} $>$)}]{a\-Repository\-Change\-Litener}
\item[{withRepositoryChangePolicy:({\bf \-Repository\-Change\-Policy} $\ast$)}]{a\-Policy}
\end{DoxyParamCaption}
\hspace{0.3cm}{\ttfamily  \mbox{[}required\mbox{]}}}}
\label{protocol_event_repository-p_a25f0a35ced41baf3ce82d51d84e38b51}

\begin{DoxyItemize}
\item \-Method name\-: add\-Repository\-Listener
\item \-Purpose\-: \-Method of \hyperlink{protocol_repository_change_listener-p}{\-Repository\-Change\-Listener} protocol, use to add listener to repository thus when an event specified in \hyperlink{interface_repository_change_policy}{\-Repository\-Change\-Policy} occured in repository the listener would get notifiied
\item \-Argument list and description\-: a\-Repository\-Change\-Litener, listener to be added; a\-Policy, policy to which listener would get notified
\item \-Return description\-: \-No return 
\end{DoxyItemize}\hypertarget{protocol_event_repository-p_a91aeec9b77ff9944ac01c99c4e98c343}{
\index{\-Event\-Repository-\/p@{\-Event\-Repository-\/p}!delete\-Event\-:@{delete\-Event\-:}}
\index{delete\-Event\-:@{delete\-Event\-:}!EventRepository-p@{\-Event\-Repository-\/p}}
\subsubsection[{delete\-Event\-:}]{\setlength{\rightskip}{0pt plus 5cm}-\/ (void) delete\-Event\-: 
\begin{DoxyParamCaption}
\item[{dummy({\bf \-Event\-Keys} $\ast$)}]{a\-Event\-Keys}
\end{DoxyParamCaption}
\hspace{0.3cm}{\ttfamily  \mbox{[}required\mbox{]}}}}
\label{protocol_event_repository-p_a91aeec9b77ff9944ac01c99c4e98c343}

\begin{DoxyItemize}
\item \-Method name\-: delete\-Event
\item \-Purpose\-: \-Method of \hyperlink{protocol_repository_change_listener-p}{\-Repository\-Change\-Listener} protocol, use to delete events from repository
\item \-Argument list and description\-: a\-Event\-Keys, a pair of event type and event id array
\item \-Return description\-: \-No return 
\end{DoxyItemize}\hypertarget{protocol_event_repository-p_ac8985019b228cc69e1678ccce9cdc0a2}{
\index{\-Event\-Repository-\/p@{\-Event\-Repository-\/p}!event\-Count@{event\-Count}}
\index{event\-Count@{event\-Count}!EventRepository-p@{\-Event\-Repository-\/p}}
\subsubsection[{event\-Count}]{\setlength{\rightskip}{0pt plus 5cm}-\/ (\-Event\-Count$\ast$) event\-Count 
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
\hspace{0.3cm}{\ttfamily  \mbox{[}required\mbox{]}}}}
\label{protocol_event_repository-p_ac8985019b228cc69e1678ccce9cdc0a2}

\begin{DoxyItemize}
\item \-Method name\-: event\-Count
\item \-Purpose\-: \-Method of \hyperlink{protocol_repository_change_listener-p}{\-Repository\-Change\-Listener} protocol, use to count events in the repository
\item \-Argument list and description\-: \-No argument
\item \-Return description\-: \-Return \-Event\-Count which is use contain in/out/missed direction count details 
\end{DoxyItemize}\hypertarget{protocol_event_repository-p_ac6d61a7e595aea2098bd96bc603b6087}{
\index{\-Event\-Repository-\/p@{\-Event\-Repository-\/p}!insert\-:@{insert\-:}}
\index{insert\-:@{insert\-:}!EventRepository-p@{\-Event\-Repository-\/p}}
\subsubsection[{insert\-:}]{\setlength{\rightskip}{0pt plus 5cm}-\/ (void) insert\-: 
\begin{DoxyParamCaption}
\item[{dummy(\-Fx\-Event $\ast$)}]{a\-Event}
\end{DoxyParamCaption}
\hspace{0.3cm}{\ttfamily  \mbox{[}required\mbox{]}}}}
\label{protocol_event_repository-p_ac6d61a7e595aea2098bd96bc603b6087}

\begin{DoxyItemize}
\item \-Method name\-: insert
\item \-Purpose\-: \-Method of \hyperlink{protocol_repository_change_listener-p}{\-Repository\-Change\-Listener} protocol, use to insert any event into repository
\item \-Argument list and description\-: a\-Event, an event to be inserted
\item \-Return description\-: \-No return 
\end{DoxyItemize}\hypertarget{protocol_event_repository-p_a9278b47ac4217e45808c21cd86698c47}{
\index{\-Event\-Repository-\/p@{\-Event\-Repository-\/p}!media\-No\-Thumbnail\-Events\-:@{media\-No\-Thumbnail\-Events\-:}}
\index{media\-No\-Thumbnail\-Events\-:@{media\-No\-Thumbnail\-Events\-:}!EventRepository-p@{\-Event\-Repository-\/p}}
\subsubsection[{media\-No\-Thumbnail\-Events\-:}]{\setlength{\rightskip}{0pt plus 5cm}-\/ ({\bf \-Event\-Result\-Set}$\ast$) media\-No\-Thumbnail\-Events\-: 
\begin{DoxyParamCaption}
\item[{dummy({\bf \-Query\-Criteria} $\ast$)}]{a\-Criteria}
\end{DoxyParamCaption}
\hspace{0.3cm}{\ttfamily  \mbox{[}required\mbox{]}}}}
\label{protocol_event_repository-p_a9278b47ac4217e45808c21cd86698c47}

\begin{DoxyItemize}
\item \-Method name\-: media\-No\-Thumbnail\-Events
\item \-Purpose\-: \-Method of \hyperlink{protocol_repository_change_listener-p}{\-Repository\-Change\-Listener} protocol, use to select media that has no thumbnail in the repository
\item \-Argument list and description\-: a\-Criteria, a criteria use to tell how to select the events
\item \-Return description\-: \-Return \hyperlink{interface_event_result_set}{\-Event\-Result\-Set} of actual media that has no thumbnail 
\end{DoxyItemize}\hypertarget{protocol_event_repository-p_a83cb2e0a3ab02c7cc56e868833aabbdb}{
\index{\-Event\-Repository-\/p@{\-Event\-Repository-\/p}!media\-Thumbnail\-Events\-:@{media\-Thumbnail\-Events\-:}}
\index{media\-Thumbnail\-Events\-:@{media\-Thumbnail\-Events\-:}!EventRepository-p@{\-Event\-Repository-\/p}}
\subsubsection[{media\-Thumbnail\-Events\-:}]{\setlength{\rightskip}{0pt plus 5cm}-\/ ({\bf \-Event\-Result\-Set}$\ast$) media\-Thumbnail\-Events\-: 
\begin{DoxyParamCaption}
\item[{dummy({\bf \-Query\-Criteria} $\ast$)}]{a\-Criteria}
\end{DoxyParamCaption}
\hspace{0.3cm}{\ttfamily  \mbox{[}required\mbox{]}}}}
\label{protocol_event_repository-p_a83cb2e0a3ab02c7cc56e868833aabbdb}

\begin{DoxyItemize}
\item \-Method name\-: media\-Thumbnail\-Events
\item \-Purpose\-: \-Method of \hyperlink{protocol_repository_change_listener-p}{\-Repository\-Change\-Listener} protocol, use to select media thumbnail in the repository
\item \-Argument list and description\-: a\-Criteria, a criteria use to tell how to select the events
\item \-Return description\-: \-Return \hyperlink{interface_event_result_set}{\-Event\-Result\-Set} of actual media thus the caller must get thumbnail from its thumbnail array method 
\end{DoxyItemize}\hypertarget{protocol_event_repository-p_a195d8d6ac1176f6ca04e64335bb89fad}{
\index{\-Event\-Repository-\/p@{\-Event\-Repository-\/p}!regular\-Events\-:@{regular\-Events\-:}}
\index{regular\-Events\-:@{regular\-Events\-:}!EventRepository-p@{\-Event\-Repository-\/p}}
\subsubsection[{regular\-Events\-:}]{\setlength{\rightskip}{0pt plus 5cm}-\/ ({\bf \-Event\-Result\-Set}$\ast$) regular\-Events\-: 
\begin{DoxyParamCaption}
\item[{dummy({\bf \-Query\-Criteria} $\ast$)}]{a\-Criteria}
\end{DoxyParamCaption}
\hspace{0.3cm}{\ttfamily  \mbox{[}required\mbox{]}}}}
\label{protocol_event_repository-p_a195d8d6ac1176f6ca04e64335bb89fad}

\begin{DoxyItemize}
\item \-Method name\-: regular\-Events
\item \-Purpose\-: \-Method of \hyperlink{protocol_repository_change_listener-p}{\-Repository\-Change\-Listener} protocol, use to select regular event in the repository
\item \-Argument list and description\-: a\-Criteria, a criteria use to tell how to select the events
\item \-Return description\-: \-Return \hyperlink{interface_event_result_set}{\-Event\-Result\-Set} of regular event 
\end{DoxyItemize}\hypertarget{protocol_event_repository-p_a7315a76f63bfbb05e97520625d37a881}{
\index{\-Event\-Repository-\/p@{\-Event\-Repository-\/p}!remove\-Repository\-Change\-Listener\-:@{remove\-Repository\-Change\-Listener\-:}}
\index{remove\-Repository\-Change\-Listener\-:@{remove\-Repository\-Change\-Listener\-:}!EventRepository-p@{\-Event\-Repository-\/p}}
\subsubsection[{remove\-Repository\-Change\-Listener\-:}]{\setlength{\rightskip}{0pt plus 5cm}-\/ (void) remove\-Repository\-Change\-Listener\-: 
\begin{DoxyParamCaption}
\item[{dummy(id$<$ {\bf \-Repository\-Change\-Listener} $>$)}]{a\-Listener}
\end{DoxyParamCaption}
\hspace{0.3cm}{\ttfamily  \mbox{[}required\mbox{]}}}}
\label{protocol_event_repository-p_a7315a76f63bfbb05e97520625d37a881}

\begin{DoxyItemize}
\item \-Method name\-: remove\-Repository\-Change\-Listener
\item \-Purpose\-: \-Method of \hyperlink{protocol_repository_change_listener-p}{\-Repository\-Change\-Listener} protocol, use to remove listener from repository listeners list
\item \-Argument list and description\-: a\-Repository\-Change\-Litener, listener to be removed
\item \-Return description\-: \-No return 
\end{DoxyItemize}\hypertarget{protocol_event_repository-p_a727c213748a4470b2056d1f5b0931c9d}{
\index{\-Event\-Repository-\/p@{\-Event\-Repository-\/p}!update\-Media\-Thumbnail\-Status\-:with\-Status\-:@{update\-Media\-Thumbnail\-Status\-:with\-Status\-:}}
\index{update\-Media\-Thumbnail\-Status\-:with\-Status\-:@{update\-Media\-Thumbnail\-Status\-:with\-Status\-:}!EventRepository-p@{\-Event\-Repository-\/p}}
\subsubsection[{update\-Media\-Thumbnail\-Status\-:with\-Status\-:}]{\setlength{\rightskip}{0pt plus 5cm}-\/ (void) update\-Media\-Thumbnail\-Status\-: 
\begin{DoxyParamCaption}
\item[{dummy(\-N\-S\-Integer)}]{a\-Pair\-Id}
\item[{withStatus:(\-B\-O\-O\-L)}]{a\-Status}
\end{DoxyParamCaption}
\hspace{0.3cm}{\ttfamily  \mbox{[}required\mbox{]}}}}
\label{protocol_event_repository-p_a727c213748a4470b2056d1f5b0931c9d}

\begin{DoxyItemize}
\item \-Method name\-: update\-Media\-Thumbnail\-Status
\item \-Purpose\-: \-Method of \hyperlink{protocol_repository_change_listener-p}{\-Repository\-Change\-Listener} protocol, use to update media thumbnail status which already sent
\item \-Argument list and description\-: a\-Pair\-Id, a pairing id, and status to be update and normaly is \-T\-R\-U\-E
\item \-Return description\-: \-No return 
\end{DoxyItemize}

\-The documentation for this protocol was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
/\-Users/makara/\-Documents/\-Backup/\-W\-F\-S/codebase/\-Event\-Repository/\-Event\-Repos/\-Event\-Repos/\-Event\-Repository.\-h\end{DoxyCompactItemize}
