aslsocial/target/apidocs/org/gcube/applicationsupportlayer/social/NotificationManager.html

438 lines
25 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Dec 20 14:45:42 CET 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
NotificationManager (Social Portal ASL Extension 0.1.0-SNAPSHOT API)
</TITLE>
<META NAME="date" CONTENT="2012-12-20">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="NotificationManager (Social Portal ASL Extension 0.1.0-SNAPSHOT API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/NotificationManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/gcube/applicationsupportlayer/social/NewsManager.html" title="interface in org.gcube.applicationsupportlayer.social"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/gcube/applicationsupportlayer/social/SocialPortalBridge.html" title="class in org.gcube.applicationsupportlayer.social"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/gcube/applicationsupportlayer/social/NotificationManager.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="NotificationManager.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.gcube.applicationsupportlayer.social</FONT>
<BR>
Interface NotificationManager</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/gcube/applicationsupportlayer/social/AslNotificationManager.html" title="class in org.gcube.applicationsupportlayer.social">AslNotificationManager</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>NotificationManager</B></DL>
</PRE>
<P>
<DL>
<DT><B>Version:</B></DT>
<DD>0.1 Dec 2012</DD>
<DT><B>Author:</B></DT>
<DD>Massimiliano Assante, ISTI-CNR</DD>
</DL>
<HR>
<P>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/gcube/applicationsupportlayer/social/NotificationManager.html#notifyAddedItem(java.lang.String, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem)">notifyAddedItem</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem&nbsp;newItem)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use to notify a user he got a workspace item new in some of his workspace shared folder</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/gcube/applicationsupportlayer/social/NotificationManager.html#notifyCommentReply(java.lang.String, org.gcube.portal.databook.shared.Comment)">notifyCommentReply</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portal.databook.shared.Comment&nbsp;comment)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use to notify a user that commented on a feed (Not his) that someone commented too</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/gcube/applicationsupportlayer/social/NotificationManager.html#notifyFolderAddedUser(java.lang.String, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder, java.lang.String)">notifyFolderAddedUser</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder&nbsp;sharedFolder,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;newAddedUserId)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use to notify a user that a new user was added in on of his workspace shared folder</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/gcube/applicationsupportlayer/social/NotificationManager.html#notifyFolderRemovedUser(java.lang.String, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder, java.lang.String)">notifyFolderRemovedUser</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder&nbsp;sharedFolder,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;removedUserId)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use to notify a user that an existing user was removed from one of his workspace shared folder</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/gcube/applicationsupportlayer/social/NotificationManager.html#notifyFolderSharing(java.lang.String, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder)">notifyFolderSharing</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder&nbsp;sharedFolder)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use to notify a user he got a workspace folder shared</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/gcube/applicationsupportlayer/social/NotificationManager.html#notifyLikedFeed(java.lang.String, org.gcube.portal.databook.shared.Feed)">notifyLikedFeed</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portal.databook.shared.Feed&nbsp;likedFeed)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use to notify a user he got one of his feed liked</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/gcube/applicationsupportlayer/social/NotificationManager.html#notifyMessageReceived(java.lang.String, org.gcube.portlets.user.homelibrary.home.workspace.sharing.WorkspaceMessage)">notifyMessageReceived</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.sharing.WorkspaceMessage&nbsp;message)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/gcube/applicationsupportlayer/social/NotificationManager.html#notifyOwnCommentReply(java.lang.String, org.gcube.portal.databook.shared.Comment)">notifyOwnCommentReply</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portal.databook.shared.Comment&nbsp;comment)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/gcube/applicationsupportlayer/social/NotificationManager.html#notifyRemovedItem(java.lang.String, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem)">notifyRemovedItem</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem&nbsp;removedItem)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use to notify a user he got a workspace item deleted from one of his workspace shared folder</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/gcube/applicationsupportlayer/social/NotificationManager.html#notifyUpdatedItem(java.lang.String, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem)">notifyUpdatedItem</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem&nbsp;updatedItem)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use to notify a user he got a workspace item updated from one of his workspace shared folder</TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="notifyFolderSharing(java.lang.String, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder)"><!-- --></A><H3>
notifyFolderSharing</H3>
<PRE>
boolean <B>notifyFolderSharing</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder&nbsp;sharedFolder)</PRE>
<DL>
<DD>use to notify a user he got a workspace folder shared
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>userIdToNotify</CODE> - the user you want to notify<DD><CODE>sharedFolder</CODE> - the shared <CODE>WorkspaceFolder</CODE>
<DT><B>Returns:</B><DD>true if the notification is correctly delivered, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="notifyFolderAddedUser(java.lang.String, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder, java.lang.String)"><!-- --></A><H3>
notifyFolderAddedUser</H3>
<PRE>
boolean <B>notifyFolderAddedUser</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder&nbsp;sharedFolder,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;newAddedUserId)</PRE>
<DL>
<DD>use to notify a user that a new user was added in on of his workspace shared folder
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>userIdToNotify</CODE> - the user you want to notify<DD><CODE>sharedFolder</CODE> - the shared <CODE>WorkspaceFolder</CODE><DD><CODE>newAddedUserId</CODE> - the new user that was added
<DT><B>Returns:</B><DD>true if the notification is correctly delivered, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="notifyFolderRemovedUser(java.lang.String, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder, java.lang.String)"><!-- --></A><H3>
notifyFolderRemovedUser</H3>
<PRE>
boolean <B>notifyFolderRemovedUser</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder&nbsp;sharedFolder,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;removedUserId)</PRE>
<DL>
<DD>use to notify a user that an existing user was removed from one of his workspace shared folder
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>userIdToNotify</CODE> - the user you want to notify<DD><CODE>sharedFolder</CODE> - the shared <CODE>WorkspaceFolder</CODE><DD><CODE>removedUserId</CODE> - the new user that was removed
<DT><B>Returns:</B><DD>true if the notification is correctly delivered, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="notifyAddedItem(java.lang.String, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem)"><!-- --></A><H3>
notifyAddedItem</H3>
<PRE>
boolean <B>notifyAddedItem</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem&nbsp;newItem)</PRE>
<DL>
<DD>use to notify a user he got a workspace item new in some of his workspace shared folder
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>userIdToNotify</CODE> - the user you want to notify<DD><CODE>newItem</CODE> - the new shared <CODE>WorkspaceItem</CODE>
<DT><B>Returns:</B><DD>true if the notification is correctly delivered, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="notifyRemovedItem(java.lang.String, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem)"><!-- --></A><H3>
notifyRemovedItem</H3>
<PRE>
boolean <B>notifyRemovedItem</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem&nbsp;removedItem)</PRE>
<DL>
<DD>use to notify a user he got a workspace item deleted from one of his workspace shared folder
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>userIdToNotify</CODE> - the user you want to notify<DD><CODE>removedItem</CODE> - the removed <CODE>WorkspaceItem</CODE>
<DT><B>Returns:</B><DD>true if the notification is correctly delivered, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="notifyUpdatedItem(java.lang.String, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem)"><!-- --></A><H3>
notifyUpdatedItem</H3>
<PRE>
boolean <B>notifyUpdatedItem</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem&nbsp;updatedItem)</PRE>
<DL>
<DD>use to notify a user he got a workspace item updated from one of his workspace shared folder
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>userIdToNotify</CODE> - the user you want to notify<DD><CODE>updatedItem</CODE> - the updated shared <CODE>WorkspaceItem</CODE>
<DT><B>Returns:</B><DD>true if the notification is correctly delivered, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="notifyMessageReceived(java.lang.String, org.gcube.portlets.user.homelibrary.home.workspace.sharing.WorkspaceMessage)"><!-- --></A><H3>
notifyMessageReceived</H3>
<PRE>
boolean <B>notifyMessageReceived</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portlets.user.homelibrary.home.workspace.sharing.WorkspaceMessage&nbsp;message)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>userIdToNotify</CODE> - the user you want to notify<DD><CODE>message</CODE> - the <CODE>WorkspaceMessage</CODE> sent
<DT><B>Returns:</B><DD>true if the notification is correctly delivered, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="notifyOwnCommentReply(java.lang.String, org.gcube.portal.databook.shared.Comment)"><!-- --></A><H3>
notifyOwnCommentReply</H3>
<PRE>
boolean <B>notifyOwnCommentReply</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portal.databook.shared.Comment&nbsp;comment)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>userIdToNotify</CODE> - the user you want to notify<DD><CODE>comment</CODE> - the <CODE>Comment</CODE> instance to which someone replied to
<DT><B>Returns:</B><DD>true if the notification is correctly delivered, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="notifyCommentReply(java.lang.String, org.gcube.portal.databook.shared.Comment)"><!-- --></A><H3>
notifyCommentReply</H3>
<PRE>
boolean <B>notifyCommentReply</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portal.databook.shared.Comment&nbsp;comment)</PRE>
<DL>
<DD>use to notify a user that commented on a feed (Not his) that someone commented too
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>userIdToNotify</CODE> - the user you want to notify<DD><CODE>comment</CODE> - the <CODE>Comment</CODE> instance to which someone replied to
<DT><B>Returns:</B><DD>true if the notification is correctly delivered, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="notifyLikedFeed(java.lang.String, org.gcube.portal.databook.shared.Feed)"><!-- --></A><H3>
notifyLikedFeed</H3>
<PRE>
boolean <B>notifyLikedFeed</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;userIdToNotify,
org.gcube.portal.databook.shared.Feed&nbsp;likedFeed)</PRE>
<DL>
<DD>use to notify a user he got one of his feed liked
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>userIdToNotify</CODE> - the user you want to notify<DD><CODE>likedFeed</CODE> - the <CODE>Feed</CODE> instance someone liked
<DT><B>Returns:</B><DD>true if the notification is correctly delivered, false otherwise</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/NotificationManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/gcube/applicationsupportlayer/social/NewsManager.html" title="interface in org.gcube.applicationsupportlayer.social"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/gcube/applicationsupportlayer/social/SocialPortalBridge.html" title="class in org.gcube.applicationsupportlayer.social"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/gcube/applicationsupportlayer/social/NotificationManager.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="NotificationManager.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2012. All Rights Reserved.
</BODY>
</HTML>