438 lines
25 KiB
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 Wed Dec 19 17:53:01 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-19">
|
|
|
|
<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> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/NotificationManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../org/gcube/applicationsupportlayer/social/NewsManager.html" title="interface in org.gcube.applicationsupportlayer.social"><B>PREV CLASS</B></A>
|
|
<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>
|
|
<A HREF="NotificationManager.html" target="_top"><B>NO FRAMES</B></A>
|
|
<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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | CONSTR | <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> 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> userIdToNotify,
|
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem newItem)</CODE>
|
|
|
|
<BR>
|
|
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> 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> userIdToNotify,
|
|
org.gcube.portal.databook.shared.Comment comment)</CODE>
|
|
|
|
<BR>
|
|
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> 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> userIdToNotify,
|
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder 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> newAddedUserId)</CODE>
|
|
|
|
<BR>
|
|
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> 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> userIdToNotify,
|
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder 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> removedUserId)</CODE>
|
|
|
|
<BR>
|
|
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> 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> userIdToNotify,
|
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder)</CODE>
|
|
|
|
<BR>
|
|
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> 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> userIdToNotify,
|
|
org.gcube.portal.databook.shared.Feed likedFeed)</CODE>
|
|
|
|
<BR>
|
|
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> 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> userIdToNotify,
|
|
org.gcube.portlets.user.homelibrary.home.workspace.sharing.WorkspaceMessage message)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> 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> userIdToNotify,
|
|
org.gcube.portal.databook.shared.Comment comment)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> 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> userIdToNotify,
|
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem removedItem)</CODE>
|
|
|
|
<BR>
|
|
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> 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> userIdToNotify,
|
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem updatedItem)</CODE>
|
|
|
|
<BR>
|
|
use to notify a user he got a workspace item updated from one of his workspace shared folder</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<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> userIdToNotify,
|
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder 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> userIdToNotify,
|
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder 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> 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> userIdToNotify,
|
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder 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> 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> userIdToNotify,
|
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem 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> userIdToNotify,
|
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem 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> userIdToNotify,
|
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem 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> userIdToNotify,
|
|
org.gcube.portlets.user.homelibrary.home.workspace.sharing.WorkspaceMessage 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> userIdToNotify,
|
|
org.gcube.portal.databook.shared.Comment 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> userIdToNotify,
|
|
org.gcube.portal.databook.shared.Comment 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> userIdToNotify,
|
|
org.gcube.portal.databook.shared.Feed 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> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/NotificationManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../org/gcube/applicationsupportlayer/social/NewsManager.html" title="interface in org.gcube.applicationsupportlayer.social"><B>PREV CLASS</B></A>
|
|
<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>
|
|
<A HREF="NotificationManager.html" target="_top"><B>NO FRAMES</B></A>
|
|
<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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
Copyright © 2012. All Rights Reserved.
|
|
</BODY>
|
|
</HTML>
|