diff --git a/pom.xml b/pom.xml index a3bd99a..17b1ac2 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,6 @@ 1.6 1.6 - UTF-8 UTF-8 @@ -150,5 +149,16 @@ usermanagement-core 1.3.0-SNAPSHOT + + log4j + log4j + 1.2.6 + + + commons-net + commons-net + 2.0 + ftp + diff --git a/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNewsManager.java b/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNewsManager.java index 611c83d..a676af1 100644 --- a/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNewsManager.java +++ b/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNewsManager.java @@ -1,21 +1,28 @@ package org.gcube.applicationsupportlayer.social; +import java.io.BufferedInputStream; +import java.io.IOException; import java.io.InputStream; import java.util.Date; import java.util.List; import java.util.UUID; -import javax.servlet.http.HttpServlet; - +import org.apache.commons.io.IOUtils; +import org.apache.commons.net.ftp.FTP; +import org.apache.commons.net.ftp.FTPClient; import org.gcube.application.framework.core.session.ASLSession; import org.gcube.applicationsupportlayer.social.ex.ApplicationProfileNotFoundException; import org.gcube.applicationsupportlayer.social.imageType.ImageType; import org.gcube.common.core.contexts.GHNContext; +import org.gcube.common.core.informationsystem.client.AtomicCondition; import org.gcube.common.core.informationsystem.client.ISClient; import org.gcube.common.core.informationsystem.client.XMLResult; import org.gcube.common.core.informationsystem.client.queries.GCUBEGenericQuery; +import org.gcube.common.core.informationsystem.client.queries.GCUBERuntimeResourceQuery; +import org.gcube.common.core.resources.GCUBERuntimeResource; import org.gcube.common.core.scope.GCUBEScope; -import org.gcube.portal.databook.shared.Application; +import org.gcube.common.core.utils.logging.GCUBEClientLog; +import org.gcube.portal.databook.shared.ApplicationProfile; import org.gcube.portal.databook.shared.Feed; import org.gcube.portal.databook.shared.FeedType; import org.gcube.portal.databook.shared.PrivacyLevel; @@ -26,68 +33,79 @@ import org.gcube.portal.databook.shared.PrivacyLevel; * @author Massimiliano Assante, ISTI-CNR * @version 0.1 Dec 2012 * - * use to share updates from within your application, the update will be published in the Users News Feed belonging to the VRE your application runs into + * use to share updates from within your applicationProfile, the update will be published in the Users News Feed belonging to the VRE your applicationProfile runs into */ public class ApplicationNewsManager extends SocialPortalBridge implements NewsManager { + static GCUBEClientLog _log = new GCUBEClientLog(ApplicationNewsManager.class); + private ApplicationProfile applicationProfile; + + /** + * the FTP Server RuntimeResource coordinates + */ + private static String RUNTIME_RESOURCE_NAME = "SocialPortalStorage"; + private static String CATEGORY_NAME = "FTPServer"; - private Application application; /** * * @param aslSession the ASLSession instance - * @param applicationClass your servlet class name will be used ad unique identifier for your application + * @param portletClassName your servlet class name will be used ad unique identifier for your applicationProfile */ public ApplicationNewsManager(ASLSession session, String portletClassName) { super(session); - this.application = getProfileFromInfrastrucure(portletClassName); + this.applicationProfile = getProfileFromInfrastrucure(portletClassName); } + + public ApplicationProfile getApplicationProfile() { + return applicationProfile; + } /** - * this method looks up the application profile among the ones available in the infrastructure - * @param applicationClass - * @return the application profile + * this method looks up the applicationProfile profile among the ones available in the infrastructure + * @param portletClassName your servlet class name will be used ad unique identifier for your applicationProfile + * @return the applicationProfile profile */ - private Application getProfileFromInfrastrucure(String portletClassName) { + private ApplicationProfile getProfileFromInfrastrucure(String portletClassName) { try { - Application toReturn = new Application(); + ApplicationProfile toReturn = new ApplicationProfile(); ISClient client = GHNContext.getImplementation(ISClient.class); GCUBEGenericQuery query = client.getQuery(GCUBEGenericQuery.class); - - + + query.setExpression("for $profile in collection('/db/Profiles/GenericResource')//Resource " + "where $profile/Profile/SecondaryType/string() eq 'ApplicationProfile' and $profile/Profile/Body/AppId/string() " + " eq '" + portletClassName + "'" + "return $profile"); - + GCUBEScope scope = aslSession.getScope(); - + List appProfile = client.execute(query, scope.getInfrastructure()); if (appProfile == null || appProfile.size() == 0) - throw new ApplicationProfileNotFoundException("Your application is not registered in the infrastructure"); + throw new ApplicationProfileNotFoundException("Your applicationProfile is not registered in the infrastructure"); else { XMLResult node = appProfile.get(0); List currValue = null; - currValue = node.evaluate("/Resource/Profile/Name/text()"); + currValue = node.evaluate("/Resource/Profile/Name/text()"); if (currValue != null && currValue.size() > 0) { toReturn.setName(currValue.get(0)); } - else throw new ApplicationProfileNotFoundException("Your application NAME was not found in the profile"); - + else throw new ApplicationProfileNotFoundException("Your applicationProfile NAME was not found in the profile"); + currValue = node.evaluate("/Resource/Profile/Description/text()"); if (currValue != null && currValue.size() > 0) { toReturn.setDescription(currValue.get(0)); } else _log.warn("No Description exists for " + toReturn.getName()); - + currValue = node.evaluate("/Resource/Profile/Body/AppId/text()"); if (currValue != null && currValue.size() > 0) { toReturn.setKey(currValue.get(0)); } - else throw new ApplicationProfileNotFoundException("Your application ID n was not found in the profile, consider adding element in "); - + else throw new ApplicationProfileNotFoundException("Your applicationProfile ID n was not found in the profile, consider adding element in "); + currValue = node.evaluate("/Resource/Profile/Body/ThumbnailURL/text()"); if (currValue != null && currValue.size() > 0) { toReturn.setImageUrl(currValue.get(0)); } - else throw new ApplicationProfileNotFoundException("Your application Image Url was not found in the profile, consider adding element in "); + else throw new ApplicationProfileNotFoundException("Your applicationProfile Image Url was not found in the profile, consider adding element in "); currValue = node.evaluate("/Resource/Profile/Body/EndPoint/Scope/text()"); if (currValue != null && currValue.size() > 0) { List scopes = currValue; @@ -101,14 +119,14 @@ public class ApplicationNewsManager extends SocialPortalBridge implements NewsMa } } if (! foundUrl) - throw new ApplicationProfileNotFoundException("Your application URL was not found in the profile for Scope: " + scope.toString()); + throw new ApplicationProfileNotFoundException("Your applicationProfile URL was not found in the profile for Scope: " + scope.toString()); } - else throw new ApplicationProfileNotFoundException("Your application EndPoint was not found in the profile, consider adding element in "); + else throw new ApplicationProfileNotFoundException("Your applicationProfile EndPoint was not found in the profile, consider adding element in "); return toReturn; } - + } catch (Exception e) { - _log.error("Error while trying to fetch application profile from the infrastructure"); + _log.error("Error while trying to fetch applicationProfile profile from the infrastructure"); e.printStackTrace(); return null; } @@ -136,10 +154,18 @@ public class ApplicationNewsManager extends SocialPortalBridge implements NewsMa return getStoreInstance().saveAppFeed(buildFeed(feedText, uriParams, previewTitle, previewDescription, previewThumbnailUrl)); } /** - * buid a an Application Feed + * {@inheritDoc} + */ + @Override + public boolean shareApplicationUpdate(String feedText, String uriParams, String previewTitle, String previewDescription, InputStream previewThumbnailInputStream, ImageType imageExtension) { + String httpImageUrl = uploadImageOnFTPServer(previewThumbnailInputStream, imageExtension); + return shareApplicationUpdate(feedText, uriParams, previewTitle, previewDescription, httpImageUrl); + } + /** + * buid a an ApplicationProfile Feed * * @param description add a description for the update you are sharing - * @param uriParams the additional parameteres your application needs to open the subject of this update e.g. id=12345&type=foo + * @param uriParams the additional parameteres your applicationProfile needs to open the subject of this update e.g. id=12345&type=foo * @param previewTitle the title to show in the preview * @param previewDescription the description to show in the preview * @param previewThumbnailUrl the image url to show in the preview @@ -147,8 +173,8 @@ public class ApplicationNewsManager extends SocialPortalBridge implements NewsMa */ private Feed buildFeed(String description, String uriParams, String previewTitle, String previewDescription, String previewThumbnailUrl) { String descToAdd = escapeHtml(description); - - String uri = application.getUrl(); + + String uri = applicationProfile.getUrl(); //add the GET params if necessary if (uriParams != null && uriParams.compareTo("") != 0) uri += "?"+uriParams; @@ -158,27 +184,86 @@ public class ApplicationNewsManager extends SocialPortalBridge implements NewsMa Feed toReturn = new Feed( UUID.randomUUID().toString(), FeedType.PUBLISH, - application.getKey(), + applicationProfile.getKey(), new Date(), scope, uri, previewThumbnailUrl, descToAdd, PrivacyLevel.SINGLE_VRE, - application.getName(), + applicationProfile.getName(), "no-email", - application.getImageUrl(), + applicationProfile.getImageUrl(), previewTitle, previewDescription, "", true); return toReturn; - } - @Override - public boolean shareApplicationUpdate(String feedtext, String uriGETparams, - String previewTitle, String previewDescription, - InputStream previewThumbnailInputStream, ImageType imageExtension) { - // TODO Auto-generated method stub - return false; - } + } + /** + * + * @param previewThumbnailInputStream . + * @param imageExtension . + * @return the http url of the image uploaded on the ftp server + */ + private String uploadImageOnFTPServer(InputStream previewThumbnailInputStream, ImageType imageExtension) { + FTPClient client = new FTPClient( ); + InputStream inputStream = previewThumbnailInputStream; + + String ftpUrl = ""; + String user = ""; + String pwd = ""; + String httpBaseURL = ""; + String fileName = UUID.randomUUID() + imageExtension.toString().toLowerCase(); + try { + GCUBERuntimeResource res = getConfigurationFromIS(); + ftpUrl = res.getAccessPoints().get(0).getEndpoint(); + httpBaseURL = res.getHostedOn(); + user = res.getAccessPoints().get(0).getUsername(); + pwd = res.getAccessPoints().get(0).getPassword(); + + // Connect to the FTP server as anonymous + client.connect(ftpUrl); + client.login(user, pwd); + + client.setFileType(FTP.BINARY_FILE_TYPE); + client.enterLocalPassiveMode(); + + BufferedInputStream bis = new BufferedInputStream(inputStream); + client.storeFile(fileName, bis); + bis.close(); + client.logout(); + } catch(IOException ioe) { + ioe.printStackTrace(); + _log.error( "Error communicating with FTP server." ); + } catch (Exception e) { + _log.error( "Probably sth wrong in fetching FTP Server RuntimeResource from IS" ); + e.printStackTrace(); + } finally { + IOUtils.closeQuietly( inputStream ); + try { + client.disconnect( ); + } catch (IOException e) { + _log.error( "Problem disconnecting from FTP server" ); + } + } + StringBuilder sb = new StringBuilder().append(httpBaseURL).append(fileName); + _log.info( "Uploaded file FTP server: http url: " + sb ); + return sb.toString(); + } + + /** + * + * @return the runtime resource of the FTP Server node + * @throws Exception + */ + private GCUBERuntimeResource getConfigurationFromIS() throws Exception { + ISClient client = GHNContext.getImplementation(ISClient.class); + GHNContext ctx = GHNContext.getContext(); + String scope = "/" + (String) ctx.getProperty(GHNContext.INFRASTRUCTURE_NAME, true); + GCUBERuntimeResourceQuery query = client.getQuery(GCUBERuntimeResourceQuery.class); + query.addAtomicConditions(new AtomicCondition("/Profile/Name", RUNTIME_RESOURCE_NAME)); + query.addAtomicConditions(new AtomicCondition("/Profile/Category", CATEGORY_NAME)); + return client.execute(query, GCUBEScope.getScope(scope)).get(0); + } } diff --git a/target/apidocs/allclasses-frame.html b/target/apidocs/allclasses-frame.html new file mode 100644 index 0000000..ece1232 --- /dev/null +++ b/target/apidocs/allclasses-frame.html @@ -0,0 +1,44 @@ + + + + + + + +All Classes (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + +All Classes +
+ + + + + +
ApplicationNewsManager +
+ApplicationProfileNotFoundException +
+AslNotificationManager +
+ImageType +
+NewsManager +
+NotificationManager +
+SocialPortalBridge +
+
+ + + diff --git a/target/apidocs/allclasses-noframe.html b/target/apidocs/allclasses-noframe.html new file mode 100644 index 0000000..acd76d6 --- /dev/null +++ b/target/apidocs/allclasses-noframe.html @@ -0,0 +1,44 @@ + + + + + + + +All Classes (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + +All Classes +
+ + + + + +
ApplicationNewsManager +
+ApplicationProfileNotFoundException +
+AslNotificationManager +
+ImageType +
+NewsManager +
+NotificationManager +
+SocialPortalBridge +
+
+ + + diff --git a/target/apidocs/constant-values.html b/target/apidocs/constant-values.html new file mode 100644 index 0000000..e13265f --- /dev/null +++ b/target/apidocs/constant-values.html @@ -0,0 +1,147 @@ + + + + + + + +Constant Field Values (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Constant Field Values

+
+
+Contents
    +
+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/deprecated-list.html b/target/apidocs/deprecated-list.html new file mode 100644 index 0000000..17b9bf9 --- /dev/null +++ b/target/apidocs/deprecated-list.html @@ -0,0 +1,147 @@ + + + + + + + +Deprecated List (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Deprecated API

+
+
+Contents
    +
+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/help-doc.html b/target/apidocs/help-doc.html new file mode 100644 index 0000000..ce3ac2f --- /dev/null +++ b/target/apidocs/help-doc.html @@ -0,0 +1,224 @@ + + + + + + + +API Help (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+How This API Document Is Organized

+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

+Overview

+
+ +

+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

+

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    +
  • Interfaces (italic)
  • Classes
  • Enums
  • Exceptions
  • Errors
  • Annotation Types
+
+

+Class/Interface

+
+ +

+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    +
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description +

    +

  • Nested Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary +

    +

  • Field Detail
  • Constructor Detail
  • Method Detail
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+ +

+Annotation Type

+
+ +

+Each annotation type has its own separate page with the following sections:

    +
  • Annotation Type declaration
  • Annotation Type description
  • Required Element Summary
  • Optional Element Summary
  • Element Detail
+
+ +

+Enum

+
+ +

+Each enum has its own separate page with the following sections:

    +
  • Enum declaration
  • Enum description
  • Enum Constant Summary
  • Enum Constant Detail
+
+

+Use

+
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    +
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+
+

+Deprecated API

+
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+

+Constant Field Values

+The Constant Field Values page lists the static final fields and their values. +

+ + +This help file applies to API documentation generated using the standard doclet. + +
+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/index-all.html b/target/apidocs/index-all.html new file mode 100644 index 0000000..0dc2d7b --- /dev/null +++ b/target/apidocs/index-all.html @@ -0,0 +1,304 @@ + + + + + + + +Index (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A E G I N O S V _
+

+A

+
+
ApplicationNewsManager - Class in org.gcube.applicationsupportlayer.social
 
ApplicationNewsManager(ASLSession, String) - +Constructor for class org.gcube.applicationsupportlayer.social.ApplicationNewsManager +
  +
ApplicationProfileNotFoundException - Exception in org.gcube.applicationsupportlayer.social.ex
 
ApplicationProfileNotFoundException(String) - +Constructor for exception org.gcube.applicationsupportlayer.social.ex.ApplicationProfileNotFoundException +
  +
AslNotificationManager - Class in org.gcube.applicationsupportlayer.social
 
AslNotificationManager(ASLSession) - +Constructor for class org.gcube.applicationsupportlayer.social.AslNotificationManager +
  +
aslSession - +Variable in class org.gcube.applicationsupportlayer.social.SocialPortalBridge +
  +
+
+

+E

+
+
escapeHtml(String) - +Method in class org.gcube.applicationsupportlayer.social.SocialPortalBridge +
Escape an html string. +
+
+

+G

+
+
getApplicationProfile() - +Method in class org.gcube.applicationsupportlayer.social.ApplicationNewsManager +
  +
getScopeByOrganizationId(String) - +Method in class org.gcube.applicationsupportlayer.social.SocialPortalBridge +
  +
getStoreInstance() - +Static method in class org.gcube.applicationsupportlayer.social.SocialPortalBridge +
  +
+
+

+I

+
+
ImageType - Enum in org.gcube.applicationsupportlayer.social.imageType
 
+
+

+N

+
+
NewsManager - Interface in org.gcube.applicationsupportlayer.social
 
NotificationManager - Interface in org.gcube.applicationsupportlayer.social
 
notifyAddedItem(String, WorkspaceItem) - +Method in class org.gcube.applicationsupportlayer.social.AslNotificationManager +
use to notify a user he got a workspace item new in some of his workspace shared folder +
notifyAddedItem(String, WorkspaceItem) - +Method in interface org.gcube.applicationsupportlayer.social.NotificationManager +
use to notify a user he got a workspace item new in some of his workspace shared folder +
notifyCommentReply(String, Comment) - +Method in class org.gcube.applicationsupportlayer.social.AslNotificationManager +
use to notify a user that commented on a feed (Not his) that someone commented too +
notifyCommentReply(String, Comment) - +Method in interface org.gcube.applicationsupportlayer.social.NotificationManager +
use to notify a user that commented on a feed (Not his) that someone commented too +
notifyFolderAddedUser(String, WorkspaceFolder, String) - +Method in class org.gcube.applicationsupportlayer.social.AslNotificationManager +
use to notify a user that a new user was added in on of his workspace shared folder +
notifyFolderAddedUser(String, WorkspaceFolder, String) - +Method in interface org.gcube.applicationsupportlayer.social.NotificationManager +
use to notify a user that a new user was added in on of his workspace shared folder +
notifyFolderRemovedUser(String, WorkspaceFolder, String) - +Method in class org.gcube.applicationsupportlayer.social.AslNotificationManager +
use to notify a user that an existing user was removed from one of his workspace shared folder +
notifyFolderRemovedUser(String, WorkspaceFolder, String) - +Method in interface org.gcube.applicationsupportlayer.social.NotificationManager +
use to notify a user that an existing user was removed from one of his workspace shared folder +
notifyFolderSharing(String, WorkspaceFolder) - +Method in class org.gcube.applicationsupportlayer.social.AslNotificationManager +
use to notify a user he got a workspace folder shared +
notifyFolderSharing(String, WorkspaceFolder) - +Method in interface org.gcube.applicationsupportlayer.social.NotificationManager +
use to notify a user he got a workspace folder shared +
notifyLikedFeed(String, Feed) - +Method in class org.gcube.applicationsupportlayer.social.AslNotificationManager +
use to notify a user he got one of his feed liked +
notifyLikedFeed(String, Feed) - +Method in interface org.gcube.applicationsupportlayer.social.NotificationManager +
use to notify a user he got one of his feed liked +
notifyMessageReceived(String, WorkspaceMessage) - +Method in class org.gcube.applicationsupportlayer.social.AslNotificationManager +
+
notifyMessageReceived(String, WorkspaceMessage) - +Method in interface org.gcube.applicationsupportlayer.social.NotificationManager +
  +
notifyOwnCommentReply(String, Comment) - +Method in class org.gcube.applicationsupportlayer.social.AslNotificationManager +
+
notifyOwnCommentReply(String, Comment) - +Method in interface org.gcube.applicationsupportlayer.social.NotificationManager +
  +
notifyRemovedItem(String, WorkspaceItem) - +Method in class org.gcube.applicationsupportlayer.social.AslNotificationManager +
use to notify a user he got a workspace item deleted from one of his workspace shared folder +
notifyRemovedItem(String, WorkspaceItem) - +Method in interface org.gcube.applicationsupportlayer.social.NotificationManager +
use to notify a user he got a workspace item deleted from one of his workspace shared folder +
notifyUpdatedItem(String, WorkspaceItem) - +Method in class org.gcube.applicationsupportlayer.social.AslNotificationManager +
use to notify a user he got a workspace item updated from one of his workspace shared folder +
notifyUpdatedItem(String, WorkspaceItem) - +Method in interface org.gcube.applicationsupportlayer.social.NotificationManager +
use to notify a user he got a workspace item updated from one of his workspace shared folder +
+
+

+O

+
+
org.gcube.applicationsupportlayer.social - package org.gcube.applicationsupportlayer.social
 
org.gcube.applicationsupportlayer.social.ex - package org.gcube.applicationsupportlayer.social.ex
 
org.gcube.applicationsupportlayer.social.imageType - package org.gcube.applicationsupportlayer.social.imageType
 
+
+

+S

+
+
shareApplicationUpdate(String) - +Method in class org.gcube.applicationsupportlayer.social.ApplicationNewsManager +
use to share an update from your application +
shareApplicationUpdate(String, String) - +Method in class org.gcube.applicationsupportlayer.social.ApplicationNewsManager +
use to share an update from your application with a reference to the news object +
shareApplicationUpdate(String, String, String, String, String) - +Method in class org.gcube.applicationsupportlayer.social.ApplicationNewsManager +
use to share an update from your application with a reference to the news object and with a link preview +
shareApplicationUpdate(String, String, String, String, InputStream, ImageType) - +Method in class org.gcube.applicationsupportlayer.social.ApplicationNewsManager +
  +
shareApplicationUpdate(String) - +Method in interface org.gcube.applicationsupportlayer.social.NewsManager +
use to share an update from your application +
shareApplicationUpdate(String, String) - +Method in interface org.gcube.applicationsupportlayer.social.NewsManager +
use to share an update from your application with a reference to the news object +
shareApplicationUpdate(String, String, String, String, String) - +Method in interface org.gcube.applicationsupportlayer.social.NewsManager +
use to share an update from your application with a reference to the news object and with a link preview +
shareApplicationUpdate(String, String, String, String, InputStream, ImageType) - +Method in interface org.gcube.applicationsupportlayer.social.NewsManager +
use to share an update from your application with a reference to the news object and with a link preview passing its input stream +
SocialPortalBridge - Class in org.gcube.applicationsupportlayer.social
 
SocialPortalBridge(ASLSession) - +Constructor for class org.gcube.applicationsupportlayer.social.SocialPortalBridge +
  +
+
+

+V

+
+
valueOf(String) - +Static method in enum org.gcube.applicationsupportlayer.social.imageType.ImageType +
Returns the enum constant of this type with the specified name. +
values() - +Static method in enum org.gcube.applicationsupportlayer.social.imageType.ImageType +
Returns an array containing the constants of this enum type, in +the order they are declared. +
+
+

+_

+
+
_log - +Static variable in class org.gcube.applicationsupportlayer.social.SocialPortalBridge +
  +
+
+A E G I N O S V _ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/index.html b/target/apidocs/index.html new file mode 100644 index 0000000..e306302 --- /dev/null +++ b/target/apidocs/index.html @@ -0,0 +1,40 @@ + + + + + + + +Social Portal ASL Extension 0.1.0-SNAPSHOT API + + + + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="overview-summary.html">Non-frame version.</A> + + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/ApplicationNewsManager.html b/target/apidocs/org/gcube/applicationsupportlayer/social/ApplicationNewsManager.html new file mode 100644 index 0000000..a873173 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/ApplicationNewsManager.html @@ -0,0 +1,420 @@ + + + + + + + +ApplicationNewsManager (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.gcube.applicationsupportlayer.social +
+Class ApplicationNewsManager

+
+java.lang.Object
+  extended by org.gcube.applicationsupportlayer.social.SocialPortalBridge
+      extended by org.gcube.applicationsupportlayer.social.ApplicationNewsManager
+
+
+
All Implemented Interfaces:
NewsManager
+
+
+
+
public class ApplicationNewsManager
extends SocialPortalBridge
implements NewsManager
+ + +

+

+
Version:
+
0.1 Dec 2012 + + use to share updates from within your application, the update will be published in the Users News Feed belonging to the VRE your application runs into
+
Author:
+
Massimiliano Assante, ISTI-CNR
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.gcube.applicationsupportlayer.social.SocialPortalBridge
_log, aslSession
+  + + + + + + + + + + +
+Constructor Summary
ApplicationNewsManager(org.gcube.application.framework.core.session.ASLSession session, + String portletClassName) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ org.gcube.portal.databook.shared.ApplicationgetApplicationProfile() + +
+           
+ booleanshareApplicationUpdate(String feedText) + +
+          use to share an update from your application
+ booleanshareApplicationUpdate(String feedText, + String uriParams) + +
+          use to share an update from your application with a reference to the news object
+ booleanshareApplicationUpdate(String feedtext, + String uriGETparams, + String previewTitle, + String previewDescription, + InputStream previewThumbnailInputStream, + ImageType imageExtension) + +
+          use to share an update from your application with a reference to the news object and with a link preview passing its input stream
+ booleanshareApplicationUpdate(String feedText, + String uriParams, + String previewTitle, + String previewDescription, + String previewThumbnailUrl) + +
+          use to share an update from your application with a reference to the news object and with a link preview
+ + + + + + + +
Methods inherited from class org.gcube.applicationsupportlayer.social.SocialPortalBridge
escapeHtml, getScopeByOrganizationId, getStoreInstance
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ApplicationNewsManager

+
+public ApplicationNewsManager(org.gcube.application.framework.core.session.ASLSession session,
+                              String portletClassName)
+
+
+
Parameters:
aslSession - the ASLSession instance
applicationClass - your servlet class name will be used ad unique identifier for your application
+
+ + + + + + + + +
+Method Detail
+ +

+getApplicationProfile

+
+public org.gcube.portal.databook.shared.Application getApplicationProfile()
+
+
+
+
+
+
+
+
+
+ +

+shareApplicationUpdate

+
+public boolean shareApplicationUpdate(String feedText)
+
+
use to share an update from your application +

+

+
Specified by:
shareApplicationUpdate in interface NewsManager
+
+
+
Parameters:
feedText - add a description for the update you are sharing +
Returns:
true if the update is correctly delivered, false otherwise
+
+
+
+ +

+shareApplicationUpdate

+
+public boolean shareApplicationUpdate(String feedText,
+                                      String uriParams)
+
+
use to share an update from your application with a reference to the news object +

+

+
Specified by:
shareApplicationUpdate in interface NewsManager
+
+
+
Parameters:
feedText - description for the update you are sharing
uriParams - additional parameters if your application supports the direct opening of of this update's object e.g. id=12345&type=foo +
Returns:
true if the update is correctly delivered, false otherwise
+
+
+
+ +

+shareApplicationUpdate

+
+public boolean shareApplicationUpdate(String feedText,
+                                      String uriParams,
+                                      String previewTitle,
+                                      String previewDescription,
+                                      String previewThumbnailUrl)
+
+
use to share an update from your application with a reference to the news object and with a link preview +

+

+
Specified by:
shareApplicationUpdate in interface NewsManager
+
+
+
Parameters:
feedText - add a description for the update you are sharing
uriParams - additional parameters if your application supports the direct opening of of this update's object e.g. id=12345&type=foo
previewTitle - the title to show in the preview
previewDescription - the description to show in the preview
previewThumbnailUrl - the image url to show in the preview +
Returns:
true if the update is correctly delivered, false otherwise
+
+
+
+ +

+shareApplicationUpdate

+
+public boolean shareApplicationUpdate(String feedtext,
+                                      String uriGETparams,
+                                      String previewTitle,
+                                      String previewDescription,
+                                      InputStream previewThumbnailInputStream,
+                                      ImageType imageExtension)
+
+
Description copied from interface: NewsManager
+
use to share an update from your application with a reference to the news object and with a link preview passing its input stream +

+

+
Specified by:
shareApplicationUpdate in interface NewsManager
+
+
+
Parameters:
feedtext - add a description for the update you are sharing
uriGETparams - additional parameters if your application supports the direct opening of of this update's object e.g. id=12345&type=foo
previewTitle - the title to show in the preview
previewDescription - the description to show in the preview
previewThumbnailInputStream - the image url Input Stream to show in the preview
imageExtension - the image Extension +
Returns:
true if the update is correctly delivered, false otherwise
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/AslNotificationManager.html b/target/apidocs/org/gcube/applicationsupportlayer/social/AslNotificationManager.html new file mode 100644 index 0000000..6b01067 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/AslNotificationManager.html @@ -0,0 +1,547 @@ + + + + + + + +AslNotificationManager (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.gcube.applicationsupportlayer.social +
+Class AslNotificationManager

+
+java.lang.Object
+  extended by org.gcube.applicationsupportlayer.social.SocialPortalBridge
+      extended by org.gcube.applicationsupportlayer.social.AslNotificationManager
+
+
+
All Implemented Interfaces:
NotificationManager
+
+
+
+
public class AslNotificationManager
extends SocialPortalBridge
implements NotificationManager
+ + +

+

+
Version:
+
0.1 Dec 2012 + + use to notify users from within your application
+
Author:
+
Massimiliano Assante, ISTI-CNR
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.gcube.applicationsupportlayer.social.SocialPortalBridge
_log, aslSession
+  + + + + + + + + + + +
+Constructor Summary
AslNotificationManager(org.gcube.application.framework.core.session.ASLSession session) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleannotifyAddedItem(String userIdToNotify, + org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem newItem) + +
+          use to notify a user he got a workspace item new in some of his workspace shared folder
+ booleannotifyCommentReply(String userIdToNotify, + org.gcube.portal.databook.shared.Comment comment) + +
+          use to notify a user that commented on a feed (Not his) that someone commented too
+ booleannotifyFolderAddedUser(String userIdToNotify, + org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder, + String newAddedUserId) + +
+          use to notify a user that a new user was added in on of his workspace shared folder
+ booleannotifyFolderRemovedUser(String userIdToNotify, + org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder, + String removedUserId) + +
+          use to notify a user that an existing user was removed from one of his workspace shared folder
+ booleannotifyFolderSharing(String userIdToNotify, + org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder) + +
+          use to notify a user he got a workspace folder shared
+ booleannotifyLikedFeed(String userIdToNotify, + org.gcube.portal.databook.shared.Feed likedFeed) + +
+          use to notify a user he got one of his feed liked
+ booleannotifyMessageReceived(String userIdToNotify, + org.gcube.portlets.user.homelibrary.home.workspace.sharing.WorkspaceMessage message) + +
+          
+ booleannotifyOwnCommentReply(String userIdToNotify, + org.gcube.portal.databook.shared.Comment comment) + +
+          
+ booleannotifyRemovedItem(String userIdToNotify, + org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem removedItem) + +
+          use to notify a user he got a workspace item deleted from one of his workspace shared folder
+ booleannotifyUpdatedItem(String userIdToNotify, + org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem updatedItem) + +
+          use to notify a user he got a workspace item updated from one of his workspace shared folder
+ + + + + + + +
Methods inherited from class org.gcube.applicationsupportlayer.social.SocialPortalBridge
escapeHtml, getScopeByOrganizationId, getStoreInstance
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AslNotificationManager

+
+public AslNotificationManager(org.gcube.application.framework.core.session.ASLSession session)
+
+
+ + + + + + + + +
+Method Detail
+ +

+notifyFolderSharing

+
+public boolean notifyFolderSharing(String userIdToNotify,
+                                   org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder)
+
+
use to notify a user he got a workspace folder shared +

+

+
Specified by:
notifyFolderSharing in interface NotificationManager
+
+
+
Parameters:
userIdToNotify - the user you want to notify
sharedFolder - the shared WorkspaceFolder +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyFolderAddedUser

+
+public boolean notifyFolderAddedUser(String userIdToNotify,
+                                     org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder,
+                                     String newAddedUserId)
+
+
use to notify a user that a new user was added in on of his workspace shared folder +

+

+
Specified by:
notifyFolderAddedUser in interface NotificationManager
+
+
+
Parameters:
userIdToNotify - the user you want to notify
sharedFolder - the shared WorkspaceFolder
newAddedUserId - the new user that was added +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyFolderRemovedUser

+
+public boolean notifyFolderRemovedUser(String userIdToNotify,
+                                       org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder,
+                                       String removedUserId)
+
+
use to notify a user that an existing user was removed from one of his workspace shared folder +

+

+
Specified by:
notifyFolderRemovedUser in interface NotificationManager
+
+
+
Parameters:
userIdToNotify - the user you want to notify
sharedFolder - the shared WorkspaceFolder
removedUserId - the new user that was removed +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyAddedItem

+
+public boolean notifyAddedItem(String userIdToNotify,
+                               org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem newItem)
+
+
use to notify a user he got a workspace item new in some of his workspace shared folder +

+

+
Specified by:
notifyAddedItem in interface NotificationManager
+
+
+
Parameters:
userIdToNotify - the user you want to notify
newItem - the new shared WorkspaceItem +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyRemovedItem

+
+public boolean notifyRemovedItem(String userIdToNotify,
+                                 org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem removedItem)
+
+
use to notify a user he got a workspace item deleted from one of his workspace shared folder +

+

+
Specified by:
notifyRemovedItem in interface NotificationManager
+
+
+
Parameters:
userIdToNotify - the user you want to notify
removedItem - the removed WorkspaceItem +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyUpdatedItem

+
+public boolean notifyUpdatedItem(String userIdToNotify,
+                                 org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem updatedItem)
+
+
use to notify a user he got a workspace item updated from one of his workspace shared folder +

+

+
Specified by:
notifyUpdatedItem in interface NotificationManager
+
+
+
Parameters:
userIdToNotify - the user you want to notify
updatedItem - the updated shared WorkspaceItem +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyMessageReceived

+
+public boolean notifyMessageReceived(String userIdToNotify,
+                                     org.gcube.portlets.user.homelibrary.home.workspace.sharing.WorkspaceMessage message)
+
+
+

+

+
Specified by:
notifyMessageReceived in interface NotificationManager
+
+
+
Parameters:
userIdToNotify - the user you want to notify
message - the WorkspaceMessage sent +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyOwnCommentReply

+
+public boolean notifyOwnCommentReply(String userIdToNotify,
+                                     org.gcube.portal.databook.shared.Comment comment)
+
+
+

+

+
Specified by:
notifyOwnCommentReply in interface NotificationManager
+
+
+
Parameters:
userIdToNotify - the user you want to notify
comment - the Comment instance to which someone replied to +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyCommentReply

+
+public boolean notifyCommentReply(String userIdToNotify,
+                                  org.gcube.portal.databook.shared.Comment comment)
+
+
use to notify a user that commented on a feed (Not his) that someone commented too +

+

+
Specified by:
notifyCommentReply in interface NotificationManager
+
+
+
Parameters:
userIdToNotify - the user you want to notify
comment - the Comment instance to which someone replied to +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyLikedFeed

+
+public boolean notifyLikedFeed(String userIdToNotify,
+                               org.gcube.portal.databook.shared.Feed likedFeed)
+
+
use to notify a user he got one of his feed liked +

+

+
Specified by:
notifyLikedFeed in interface NotificationManager
+
+
+
Parameters:
userIdToNotify - the user you want to notify
likedFeed - the Feed instance someone liked +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/NewsManager.html b/target/apidocs/org/gcube/applicationsupportlayer/social/NewsManager.html new file mode 100644 index 0000000..b8348d8 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/NewsManager.html @@ -0,0 +1,305 @@ + + + + + + + +NewsManager (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.gcube.applicationsupportlayer.social +
+Interface NewsManager

+
+
All Known Implementing Classes:
ApplicationNewsManager
+
+
+
+
public interface NewsManager
+ + +

+

+
Version:
+
0.1 Dec 2012
+
Author:
+
Massimiliano Assante, ISTI-CNR
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanshareApplicationUpdate(String feedtext) + +
+          use to share an update from your application
+ booleanshareApplicationUpdate(String feedtext, + String uriGETparams) + +
+          use to share an update from your application with a reference to the news object
+ booleanshareApplicationUpdate(String feedtext, + String uriGETparams, + String previewTitle, + String previewDescription, + InputStream previewThumbnailInputStream, + ImageType imageExtension) + +
+          use to share an update from your application with a reference to the news object and with a link preview passing its input stream
+ booleanshareApplicationUpdate(String feedtext, + String uriGETparams, + String previewTitle, + String previewDescription, + String previewThumbnailUrl) + +
+          use to share an update from your application with a reference to the news object and with a link preview
+  +

+ + + + + + + + +
+Method Detail
+ +

+shareApplicationUpdate

+
+boolean shareApplicationUpdate(String feedtext)
+
+
use to share an update from your application +

+

+
Parameters:
feedtext - add a description for the update you are sharing +
Returns:
true if the update is correctly delivered, false otherwise
+
+
+
+ +

+shareApplicationUpdate

+
+boolean shareApplicationUpdate(String feedtext,
+                               String uriGETparams)
+
+
use to share an update from your application with a reference to the news object +

+

+
Parameters:
feedtext - description for the update you are sharing
uriGETparams - additional parameters if your application supports the direct opening of of this update's object e.g. id=12345&type=foo +
Returns:
true if the update is correctly delivered, false otherwise
+
+
+
+ +

+shareApplicationUpdate

+
+boolean shareApplicationUpdate(String feedtext,
+                               String uriGETparams,
+                               String previewTitle,
+                               String previewDescription,
+                               String previewThumbnailUrl)
+
+
use to share an update from your application with a reference to the news object and with a link preview +

+

+
Parameters:
feedtext - add a description for the update you are sharing
uriGETparams - additional parameters if your application supports the direct opening of of this update's object e.g. id=12345&type=foo
previewTitle - the title to show in the preview
previewDescription - the description to show in the preview
previewThumbnailUrl - the image url to show in the preview +
Returns:
true if the update is correctly delivered, false otherwise
+
+
+
+ +

+shareApplicationUpdate

+
+boolean shareApplicationUpdate(String feedtext,
+                               String uriGETparams,
+                               String previewTitle,
+                               String previewDescription,
+                               InputStream previewThumbnailInputStream,
+                               ImageType imageExtension)
+
+
use to share an update from your application with a reference to the news object and with a link preview passing its input stream +

+

+
Parameters:
feedtext - add a description for the update you are sharing
uriGETparams - additional parameters if your application supports the direct opening of of this update's object e.g. id=12345&type=foo
previewTitle - the title to show in the preview
previewDescription - the description to show in the preview
previewThumbnailInputStream - the image url Input Stream to show in the preview
imageExtension - the image Extension +
Returns:
true if the update is correctly delivered, false otherwise
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/NotificationManager.html b/target/apidocs/org/gcube/applicationsupportlayer/social/NotificationManager.html new file mode 100644 index 0000000..e663c28 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/NotificationManager.html @@ -0,0 +1,437 @@ + + + + + + + +NotificationManager (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.gcube.applicationsupportlayer.social +
+Interface NotificationManager

+
+
All Known Implementing Classes:
AslNotificationManager
+
+
+
+
public interface NotificationManager
+ + +

+

+
Version:
+
0.1 Dec 2012
+
Author:
+
Massimiliano Assante, ISTI-CNR
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleannotifyAddedItem(String userIdToNotify, + org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem newItem) + +
+          use to notify a user he got a workspace item new in some of his workspace shared folder
+ booleannotifyCommentReply(String userIdToNotify, + org.gcube.portal.databook.shared.Comment comment) + +
+          use to notify a user that commented on a feed (Not his) that someone commented too
+ booleannotifyFolderAddedUser(String userIdToNotify, + org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder, + String newAddedUserId) + +
+          use to notify a user that a new user was added in on of his workspace shared folder
+ booleannotifyFolderRemovedUser(String userIdToNotify, + org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder, + String removedUserId) + +
+          use to notify a user that an existing user was removed from one of his workspace shared folder
+ booleannotifyFolderSharing(String userIdToNotify, + org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder) + +
+          use to notify a user he got a workspace folder shared
+ booleannotifyLikedFeed(String userIdToNotify, + org.gcube.portal.databook.shared.Feed likedFeed) + +
+          use to notify a user he got one of his feed liked
+ booleannotifyMessageReceived(String userIdToNotify, + org.gcube.portlets.user.homelibrary.home.workspace.sharing.WorkspaceMessage message) + +
+           
+ booleannotifyOwnCommentReply(String userIdToNotify, + org.gcube.portal.databook.shared.Comment comment) + +
+           
+ booleannotifyRemovedItem(String userIdToNotify, + org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem removedItem) + +
+          use to notify a user he got a workspace item deleted from one of his workspace shared folder
+ booleannotifyUpdatedItem(String userIdToNotify, + org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem updatedItem) + +
+          use to notify a user he got a workspace item updated from one of his workspace shared folder
+  +

+ + + + + + + + +
+Method Detail
+ +

+notifyFolderSharing

+
+boolean notifyFolderSharing(String userIdToNotify,
+                            org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder)
+
+
use to notify a user he got a workspace folder shared +

+

+
Parameters:
userIdToNotify - the user you want to notify
sharedFolder - the shared WorkspaceFolder +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyFolderAddedUser

+
+boolean notifyFolderAddedUser(String userIdToNotify,
+                              org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder,
+                              String newAddedUserId)
+
+
use to notify a user that a new user was added in on of his workspace shared folder +

+

+
Parameters:
userIdToNotify - the user you want to notify
sharedFolder - the shared WorkspaceFolder
newAddedUserId - the new user that was added +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyFolderRemovedUser

+
+boolean notifyFolderRemovedUser(String userIdToNotify,
+                                org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder sharedFolder,
+                                String removedUserId)
+
+
use to notify a user that an existing user was removed from one of his workspace shared folder +

+

+
Parameters:
userIdToNotify - the user you want to notify
sharedFolder - the shared WorkspaceFolder
removedUserId - the new user that was removed +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyAddedItem

+
+boolean notifyAddedItem(String userIdToNotify,
+                        org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem newItem)
+
+
use to notify a user he got a workspace item new in some of his workspace shared folder +

+

+
Parameters:
userIdToNotify - the user you want to notify
newItem - the new shared WorkspaceItem +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyRemovedItem

+
+boolean notifyRemovedItem(String userIdToNotify,
+                          org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem removedItem)
+
+
use to notify a user he got a workspace item deleted from one of his workspace shared folder +

+

+
Parameters:
userIdToNotify - the user you want to notify
removedItem - the removed WorkspaceItem +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyUpdatedItem

+
+boolean notifyUpdatedItem(String userIdToNotify,
+                          org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem updatedItem)
+
+
use to notify a user he got a workspace item updated from one of his workspace shared folder +

+

+
Parameters:
userIdToNotify - the user you want to notify
updatedItem - the updated shared WorkspaceItem +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyMessageReceived

+
+boolean notifyMessageReceived(String userIdToNotify,
+                              org.gcube.portlets.user.homelibrary.home.workspace.sharing.WorkspaceMessage message)
+
+
+
Parameters:
userIdToNotify - the user you want to notify
message - the WorkspaceMessage sent +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyOwnCommentReply

+
+boolean notifyOwnCommentReply(String userIdToNotify,
+                              org.gcube.portal.databook.shared.Comment comment)
+
+
+
Parameters:
userIdToNotify - the user you want to notify
comment - the Comment instance to which someone replied to +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyCommentReply

+
+boolean notifyCommentReply(String userIdToNotify,
+                           org.gcube.portal.databook.shared.Comment comment)
+
+
use to notify a user that commented on a feed (Not his) that someone commented too +

+

+
Parameters:
userIdToNotify - the user you want to notify
comment - the Comment instance to which someone replied to +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+
+ +

+notifyLikedFeed

+
+boolean notifyLikedFeed(String userIdToNotify,
+                        org.gcube.portal.databook.shared.Feed likedFeed)
+
+
use to notify a user he got one of his feed liked +

+

+
Parameters:
userIdToNotify - the user you want to notify
likedFeed - the Feed instance someone liked +
Returns:
true if the notification is correctly delivered, false otherwise
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/SocialPortalBridge.html b/target/apidocs/org/gcube/applicationsupportlayer/social/SocialPortalBridge.html new file mode 100644 index 0000000..e094312 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/SocialPortalBridge.html @@ -0,0 +1,363 @@ + + + + + + + +SocialPortalBridge (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.gcube.applicationsupportlayer.social +
+Class SocialPortalBridge

+
+java.lang.Object
+  extended by org.gcube.applicationsupportlayer.social.SocialPortalBridge
+
+
+
Direct Known Subclasses:
ApplicationNewsManager, AslNotificationManager
+
+
+
+
public abstract class SocialPortalBridge
extends Object
+ + +

+

+
Version:
+
0.1 Dec 2012 + + superclass for social portal bridge
+
Author:
+
Massimiliano Assante, ISTI-CNR
+
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+protected static org.gcube.common.core.utils.logging.GCUBEClientLog_log + +
+           
+protected  org.gcube.application.framework.core.session.ASLSessionaslSession + +
+           
+  + + + + + + + + + + +
+Constructor Summary
SocialPortalBridge(org.gcube.application.framework.core.session.ASLSession session) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  StringescapeHtml(String html) + +
+          Escape an html string.
+protected  StringgetScopeByOrganizationId(String vreid) + +
+           
+static org.gcube.portal.databook.server.DatabookStoregetStoreInstance() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+_log

+
+protected static org.gcube.common.core.utils.logging.GCUBEClientLog _log
+
+
+
+
+
+ +

+aslSession

+
+protected org.gcube.application.framework.core.session.ASLSession aslSession
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+SocialPortalBridge

+
+public SocialPortalBridge(org.gcube.application.framework.core.session.ASLSession session)
+
+
+
Parameters:
session -
+
+ + + + + + + + +
+Method Detail
+ +

+getStoreInstance

+
+public static org.gcube.portal.databook.server.DatabookStore getStoreInstance()
+
+
+ +
Returns:
the unique instance of the store
+
+
+
+ +

+getScopeByOrganizationId

+
+protected String getScopeByOrganizationId(String vreid)
+
+
+
+
+
+
+ +

+escapeHtml

+
+protected String escapeHtml(String html)
+
+
Escape an html string. Escaping data received from the client helps to + prevent cross-site script vulnerabilities. +

+

+
Parameters:
html - the html string to escape +
Returns:
the escaped string
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/class-use/ApplicationNewsManager.html b/target/apidocs/org/gcube/applicationsupportlayer/social/class-use/ApplicationNewsManager.html new file mode 100644 index 0000000..e616348 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/class-use/ApplicationNewsManager.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class org.gcube.applicationsupportlayer.social.ApplicationNewsManager (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.gcube.applicationsupportlayer.social.ApplicationNewsManager

+
+No usage of org.gcube.applicationsupportlayer.social.ApplicationNewsManager +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/class-use/AslNotificationManager.html b/target/apidocs/org/gcube/applicationsupportlayer/social/class-use/AslNotificationManager.html new file mode 100644 index 0000000..5b46e4c --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/class-use/AslNotificationManager.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class org.gcube.applicationsupportlayer.social.AslNotificationManager (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.gcube.applicationsupportlayer.social.AslNotificationManager

+
+No usage of org.gcube.applicationsupportlayer.social.AslNotificationManager +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/class-use/NewsManager.html b/target/apidocs/org/gcube/applicationsupportlayer/social/class-use/NewsManager.html new file mode 100644 index 0000000..77ccd03 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/class-use/NewsManager.html @@ -0,0 +1,181 @@ + + + + + + + +Uses of Interface org.gcube.applicationsupportlayer.social.NewsManager (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.gcube.applicationsupportlayer.social.NewsManager

+
+ + + + + + + + + +
+Packages that use NewsManager
org.gcube.applicationsupportlayer.social  
+  +

+ + + + + +
+Uses of NewsManager in org.gcube.applicationsupportlayer.social
+  +

+ + + + + + + + + +
Classes in org.gcube.applicationsupportlayer.social that implement NewsManager
+ classApplicationNewsManager + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/class-use/NotificationManager.html b/target/apidocs/org/gcube/applicationsupportlayer/social/class-use/NotificationManager.html new file mode 100644 index 0000000..7c985f6 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/class-use/NotificationManager.html @@ -0,0 +1,181 @@ + + + + + + + +Uses of Interface org.gcube.applicationsupportlayer.social.NotificationManager (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.gcube.applicationsupportlayer.social.NotificationManager

+
+ + + + + + + + + +
+Packages that use NotificationManager
org.gcube.applicationsupportlayer.social  
+  +

+ + + + + +
+Uses of NotificationManager in org.gcube.applicationsupportlayer.social
+  +

+ + + + + + + + + +
Classes in org.gcube.applicationsupportlayer.social that implement NotificationManager
+ classAslNotificationManager + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/class-use/SocialPortalBridge.html b/target/apidocs/org/gcube/applicationsupportlayer/social/class-use/SocialPortalBridge.html new file mode 100644 index 0000000..abb8e74 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/class-use/SocialPortalBridge.html @@ -0,0 +1,189 @@ + + + + + + + +Uses of Class org.gcube.applicationsupportlayer.social.SocialPortalBridge (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.gcube.applicationsupportlayer.social.SocialPortalBridge

+
+ + + + + + + + + +
+Packages that use SocialPortalBridge
org.gcube.applicationsupportlayer.social  
+  +

+ + + + + +
+Uses of SocialPortalBridge in org.gcube.applicationsupportlayer.social
+  +

+ + + + + + + + + + + + + +
Subclasses of SocialPortalBridge in org.gcube.applicationsupportlayer.social
+ classApplicationNewsManager + +
+           
+ classAslNotificationManager + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/ex/ApplicationProfileNotFoundException.html b/target/apidocs/org/gcube/applicationsupportlayer/social/ex/ApplicationProfileNotFoundException.html new file mode 100644 index 0000000..83cdfe7 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/ex/ApplicationProfileNotFoundException.html @@ -0,0 +1,241 @@ + + + + + + + +ApplicationProfileNotFoundException (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.gcube.applicationsupportlayer.social.ex +
+Class ApplicationProfileNotFoundException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.gcube.applicationsupportlayer.social.ex.ApplicationProfileNotFoundException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class ApplicationProfileNotFoundException
extends Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ApplicationProfileNotFoundException(String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ApplicationProfileNotFoundException

+
+public ApplicationProfileNotFoundException(String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/ex/class-use/ApplicationProfileNotFoundException.html b/target/apidocs/org/gcube/applicationsupportlayer/social/ex/class-use/ApplicationProfileNotFoundException.html new file mode 100644 index 0000000..f62f7a2 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/ex/class-use/ApplicationProfileNotFoundException.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class org.gcube.applicationsupportlayer.social.ex.ApplicationProfileNotFoundException (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.gcube.applicationsupportlayer.social.ex.ApplicationProfileNotFoundException

+
+No usage of org.gcube.applicationsupportlayer.social.ex.ApplicationProfileNotFoundException +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/ex/package-frame.html b/target/apidocs/org/gcube/applicationsupportlayer/social/ex/package-frame.html new file mode 100644 index 0000000..d6ac205 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/ex/package-frame.html @@ -0,0 +1,33 @@ + + + + + + + +org.gcube.applicationsupportlayer.social.ex (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + +org.gcube.applicationsupportlayer.social.ex + + + + +
+Exceptions  + +
+ApplicationProfileNotFoundException
+ + + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/ex/package-summary.html b/target/apidocs/org/gcube/applicationsupportlayer/social/ex/package-summary.html new file mode 100644 index 0000000..1794fa5 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/ex/package-summary.html @@ -0,0 +1,158 @@ + + + + + + + +org.gcube.applicationsupportlayer.social.ex (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.gcube.applicationsupportlayer.social.ex +

+ + + + + + + + + +
+Exception Summary
ApplicationProfileNotFoundException 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/ex/package-tree.html b/target/apidocs/org/gcube/applicationsupportlayer/social/ex/package-tree.html new file mode 100644 index 0000000..8820def --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/ex/package-tree.html @@ -0,0 +1,159 @@ + + + + + + + +org.gcube.applicationsupportlayer.social.ex Class Hierarchy (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.gcube.applicationsupportlayer.social.ex +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/ex/package-use.html b/target/apidocs/org/gcube/applicationsupportlayer/social/ex/package-use.html new file mode 100644 index 0000000..c33edff --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/ex/package-use.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Package org.gcube.applicationsupportlayer.social.ex (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.gcube.applicationsupportlayer.social.ex

+
+No usage of org.gcube.applicationsupportlayer.social.ex +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/ImageType.html b/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/ImageType.html new file mode 100644 index 0000000..57bfef0 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/ImageType.html @@ -0,0 +1,387 @@ + + + + + + + +ImageType (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.gcube.applicationsupportlayer.social.imageType +
+Enum ImageType

+
+java.lang.Object
+  extended by java.lang.Enum<ImageType>
+      extended by org.gcube.applicationsupportlayer.social.imageType.ImageType
+
+
+
All Implemented Interfaces:
Serializable, Comparable<ImageType>
+
+
+
+
public enum ImageType
extends Enum<ImageType>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
BMP + +
+           
GIF + +
+           
JPG + +
+           
PDF + +
+           
PNG + +
+           
TIFF + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static ImageTypevalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static ImageType[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+JPG

+
+public static final ImageType JPG
+
+
+
+
+
+ +

+GIF

+
+public static final ImageType GIF
+
+
+
+
+
+ +

+PNG

+
+public static final ImageType PNG
+
+
+
+
+
+ +

+TIFF

+
+public static final ImageType TIFF
+
+
+
+
+
+ +

+PDF

+
+public static final ImageType PDF
+
+
+
+
+
+ +

+BMP

+
+public static final ImageType BMP
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static ImageType[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (ImageType c : ImageType.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static ImageType valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/class-use/ImageType.html b/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/class-use/ImageType.html new file mode 100644 index 0000000..6aab835 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/class-use/ImageType.html @@ -0,0 +1,237 @@ + + + + + + + +Uses of Class org.gcube.applicationsupportlayer.social.imageType.ImageType (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.gcube.applicationsupportlayer.social.imageType.ImageType

+
+ + + + + + + + + + + + + +
+Packages that use ImageType
org.gcube.applicationsupportlayer.social  
org.gcube.applicationsupportlayer.social.imageType  
+  +

+ + + + + +
+Uses of ImageType in org.gcube.applicationsupportlayer.social
+  +

+ + + + + + + + + + + + + +
Methods in org.gcube.applicationsupportlayer.social with parameters of type ImageType
+ booleanNewsManager.shareApplicationUpdate(String feedtext, + String uriGETparams, + String previewTitle, + String previewDescription, + InputStream previewThumbnailInputStream, + ImageType imageExtension) + +
+          use to share an update from your application with a reference to the news object and with a link preview passing its input stream
+ booleanApplicationNewsManager.shareApplicationUpdate(String feedtext, + String uriGETparams, + String previewTitle, + String previewDescription, + InputStream previewThumbnailInputStream, + ImageType imageExtension) + +
+           
+  +

+ + + + + +
+Uses of ImageType in org.gcube.applicationsupportlayer.social.imageType
+  +

+ + + + + + + + + + + + + +
Methods in org.gcube.applicationsupportlayer.social.imageType that return ImageType
+static ImageTypeImageType.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static ImageType[]ImageType.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/package-frame.html b/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/package-frame.html new file mode 100644 index 0000000..3e2361e --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/package-frame.html @@ -0,0 +1,33 @@ + + + + + + + +org.gcube.applicationsupportlayer.social.imageType (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + +org.gcube.applicationsupportlayer.social.imageType + + + + +
+Enums  + +
+ImageType
+ + + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/package-summary.html b/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/package-summary.html new file mode 100644 index 0000000..ada4866 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/package-summary.html @@ -0,0 +1,158 @@ + + + + + + + +org.gcube.applicationsupportlayer.social.imageType (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.gcube.applicationsupportlayer.social.imageType +

+ + + + + + + + + +
+Enum Summary
ImageType 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/package-tree.html b/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/package-tree.html new file mode 100644 index 0000000..701db25 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/package-tree.html @@ -0,0 +1,157 @@ + + + + + + + +org.gcube.applicationsupportlayer.social.imageType Class Hierarchy (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.gcube.applicationsupportlayer.social.imageType +

+
+
+
Package Hierarchies:
All Packages
+
+

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/package-use.html b/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/package-use.html new file mode 100644 index 0000000..530c8dc --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/imageType/package-use.html @@ -0,0 +1,190 @@ + + + + + + + +Uses of Package org.gcube.applicationsupportlayer.social.imageType (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.gcube.applicationsupportlayer.social.imageType

+
+ + + + + + + + + + + + + +
+Packages that use org.gcube.applicationsupportlayer.social.imageType
org.gcube.applicationsupportlayer.social  
org.gcube.applicationsupportlayer.social.imageType  
+  +

+ + + + + + + + +
+Classes in org.gcube.applicationsupportlayer.social.imageType used by org.gcube.applicationsupportlayer.social
ImageType + +
+           
+  +

+ + + + + + + + +
+Classes in org.gcube.applicationsupportlayer.social.imageType used by org.gcube.applicationsupportlayer.social.imageType
ImageType + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/package-frame.html b/target/apidocs/org/gcube/applicationsupportlayer/social/package-frame.html new file mode 100644 index 0000000..9d625ed --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/package-frame.html @@ -0,0 +1,50 @@ + + + + + + + +org.gcube.applicationsupportlayer.social (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + +org.gcube.applicationsupportlayer.social + + + + +
+Interfaces  + +
+NewsManager +
+NotificationManager
+ + + + + + +
+Classes  + +
+ApplicationNewsManager +
+AslNotificationManager +
+SocialPortalBridge
+ + + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/package-summary.html b/target/apidocs/org/gcube/applicationsupportlayer/social/package-summary.html new file mode 100644 index 0000000..3024774 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/package-summary.html @@ -0,0 +1,184 @@ + + + + + + + +org.gcube.applicationsupportlayer.social (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.gcube.applicationsupportlayer.social +

+ + + + + + + + + + + + + +
+Interface Summary
NewsManager 
NotificationManager 
+  + +

+ + + + + + + + + + + + + + + + + +
+Class Summary
ApplicationNewsManager 
AslNotificationManager 
SocialPortalBridge 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/package-tree.html b/target/apidocs/org/gcube/applicationsupportlayer/social/package-tree.html new file mode 100644 index 0000000..a392cbc --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/package-tree.html @@ -0,0 +1,163 @@ + + + + + + + +org.gcube.applicationsupportlayer.social Class Hierarchy (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.gcube.applicationsupportlayer.social +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/org/gcube/applicationsupportlayer/social/package-use.html b/target/apidocs/org/gcube/applicationsupportlayer/social/package-use.html new file mode 100644 index 0000000..0fa1741 --- /dev/null +++ b/target/apidocs/org/gcube/applicationsupportlayer/social/package-use.html @@ -0,0 +1,183 @@ + + + + + + + +Uses of Package org.gcube.applicationsupportlayer.social (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.gcube.applicationsupportlayer.social

+
+ + + + + + + + + +
+Packages that use org.gcube.applicationsupportlayer.social
org.gcube.applicationsupportlayer.social  
+  +

+ + + + + + + + + + + + + + +
+Classes in org.gcube.applicationsupportlayer.social used by org.gcube.applicationsupportlayer.social
NewsManager + +
+           
NotificationManager + +
+           
SocialPortalBridge + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/overview-frame.html b/target/apidocs/overview-frame.html new file mode 100644 index 0000000..13eb49e --- /dev/null +++ b/target/apidocs/overview-frame.html @@ -0,0 +1,47 @@ + + + + + + + +Overview List (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + + + + +
+
+ + + + + +
All Classes +

+ +Packages +
+org.gcube.applicationsupportlayer.social +
+org.gcube.applicationsupportlayer.social.ex +
+org.gcube.applicationsupportlayer.social.imageType +
+

+ +

+  + + diff --git a/target/apidocs/overview-summary.html b/target/apidocs/overview-summary.html new file mode 100644 index 0000000..aea7cf3 --- /dev/null +++ b/target/apidocs/overview-summary.html @@ -0,0 +1,165 @@ + + + + + + + +Overview (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Social Portal ASL Extension 0.1.0-SNAPSHOT API +

+
+ + + + + + + + + + + + + + + + + +
+Packages
org.gcube.applicationsupportlayer.social 
org.gcube.applicationsupportlayer.social.ex 
org.gcube.applicationsupportlayer.social.imageType 
+ +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/overview-tree.html b/target/apidocs/overview-tree.html new file mode 100644 index 0000000..2ade57d --- /dev/null +++ b/target/apidocs/overview-tree.html @@ -0,0 +1,177 @@ + + + + + + + +Class Hierarchy (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
org.gcube.applicationsupportlayer.social, org.gcube.applicationsupportlayer.social.ex, org.gcube.applicationsupportlayer.social.imageType
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/package-list b/target/apidocs/package-list new file mode 100644 index 0000000..a397e94 --- /dev/null +++ b/target/apidocs/package-list @@ -0,0 +1,3 @@ +org.gcube.applicationsupportlayer.social +org.gcube.applicationsupportlayer.social.ex +org.gcube.applicationsupportlayer.social.imageType diff --git a/target/apidocs/resources/inherit.gif b/target/apidocs/resources/inherit.gif new file mode 100644 index 0000000..c814867 Binary files /dev/null and b/target/apidocs/resources/inherit.gif differ diff --git a/target/apidocs/serialized-form.html b/target/apidocs/serialized-form.html new file mode 100644 index 0000000..07b707d --- /dev/null +++ b/target/apidocs/serialized-form.html @@ -0,0 +1,164 @@ + + + + + + + +Serialized Form (Social Portal ASL Extension 0.1.0-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Serialized Form

+
+
+ + + + + +
+Package org.gcube.applicationsupportlayer.social.ex
+ +

+ + + + + +
+Class org.gcube.applicationsupportlayer.social.ex.ApplicationProfileNotFoundException extends Exception implements Serializable
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012. All Rights Reserved. + + diff --git a/target/apidocs/stylesheet.css b/target/apidocs/stylesheet.css new file mode 100644 index 0000000..6ea9e51 --- /dev/null +++ b/target/apidocs/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#000000 } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} + diff --git a/target/archive-tmp/fileSetFormatter.1259442186.tmp/INSTALL b/target/archive-tmp/fileSetFormatter.1259442186.tmp/INSTALL new file mode 100644 index 0000000..139597f --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.1259442186.tmp/INSTALL @@ -0,0 +1,2 @@ + + diff --git a/target/archive-tmp/fileSetFormatter.1259442186.tmp/INSTALL.1978364459.filtered b/target/archive-tmp/fileSetFormatter.1259442186.tmp/INSTALL.1978364459.filtered new file mode 100644 index 0000000..139597f --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.1259442186.tmp/INSTALL.1978364459.filtered @@ -0,0 +1,2 @@ + + diff --git a/target/archive-tmp/fileSetFormatter.1259442186.tmp/LICENSE b/target/archive-tmp/fileSetFormatter.1259442186.tmp/LICENSE new file mode 100644 index 0000000..cdb5851 --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.1259442186.tmp/LICENSE @@ -0,0 +1,7 @@ +gCube System - License +------------------------------------------------------------ + +The gCube/gCore software is licensed as Free Open Source software conveying to the EUPL (http://ec.europa.eu/idabc/eupl). +The software and documentation is provided by its authors/distributors "as is" and no expressed or +implied warranty is given for its use, quality or fitness for a particular case. + diff --git a/target/archive-tmp/fileSetFormatter.1259442186.tmp/LICENSE.1299409633.filtered b/target/archive-tmp/fileSetFormatter.1259442186.tmp/LICENSE.1299409633.filtered new file mode 100644 index 0000000..cdb5851 --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.1259442186.tmp/LICENSE.1299409633.filtered @@ -0,0 +1,7 @@ +gCube System - License +------------------------------------------------------------ + +The gCube/gCore software is licensed as Free Open Source software conveying to the EUPL (http://ec.europa.eu/idabc/eupl). +The software and documentation is provided by its authors/distributors "as is" and no expressed or +implied warranty is given for its use, quality or fitness for a particular case. + diff --git a/target/archive-tmp/fileSetFormatter.1259442186.tmp/MAINTAINERS b/target/archive-tmp/fileSetFormatter.1259442186.tmp/MAINTAINERS new file mode 100644 index 0000000..680cebb --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.1259442186.tmp/MAINTAINERS @@ -0,0 +1,6 @@ +Mantainers +------- + +* Massimiliano Assante (massimiliano.assante@isti.cnr.it), CNR Pisa, + Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo". + diff --git a/target/archive-tmp/fileSetFormatter.1259442186.tmp/MAINTAINERS.206497821.filtered b/target/archive-tmp/fileSetFormatter.1259442186.tmp/MAINTAINERS.206497821.filtered new file mode 100644 index 0000000..680cebb --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.1259442186.tmp/MAINTAINERS.206497821.filtered @@ -0,0 +1,6 @@ +Mantainers +------- + +* Massimiliano Assante (massimiliano.assante@isti.cnr.it), CNR Pisa, + Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo". + diff --git a/target/archive-tmp/fileSetFormatter.1259442186.tmp/README b/target/archive-tmp/fileSetFormatter.1259442186.tmp/README new file mode 100644 index 0000000..3f14a10 --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.1259442186.tmp/README @@ -0,0 +1,35 @@ +The gCube System - Social Library +------------------------------------------------------------ + +This work is partially funded by the European Commission in the +context of the iMarine project (www.i-marine.eu), under the 1st call of FP7 IST priority. + +Authors +------- +Massimiliano Assante +* +Version and Release Date +------------------------ +Jan 2013 + + +Description +----------- +Social networking Library + +Download information +-------------------- +Source code is available from SVN: +https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/social-library + +Binaries can be downloaded from: +http://software.d4science.research-infrastructures.eu/ + +Documentation +------------- +Documentation is available on-line from the Projects Documentation Wiki: + +Licensing +--------- + +This software is licensed under the terms you may find in the file named "LICENSE" in this directory. diff --git a/target/archive-tmp/fileSetFormatter.1259442186.tmp/README.2139677201.filtered b/target/archive-tmp/fileSetFormatter.1259442186.tmp/README.2139677201.filtered new file mode 100644 index 0000000..3f14a10 --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.1259442186.tmp/README.2139677201.filtered @@ -0,0 +1,35 @@ +The gCube System - Social Library +------------------------------------------------------------ + +This work is partially funded by the European Commission in the +context of the iMarine project (www.i-marine.eu), under the 1st call of FP7 IST priority. + +Authors +------- +Massimiliano Assante +* +Version and Release Date +------------------------ +Jan 2013 + + +Description +----------- +Social networking Library + +Download information +-------------------- +Source code is available from SVN: +https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/social-library + +Binaries can be downloaded from: +http://software.d4science.research-infrastructures.eu/ + +Documentation +------------- +Documentation is available on-line from the Projects Documentation Wiki: + +Licensing +--------- + +This software is licensed under the terms you may find in the file named "LICENSE" in this directory. diff --git a/target/archive-tmp/fileSetFormatter.1259442186.tmp/changelog.xml b/target/archive-tmp/fileSetFormatter.1259442186.tmp/changelog.xml new file mode 100644 index 0000000..9476f4a --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.1259442186.tmp/changelog.xml @@ -0,0 +1,5 @@ + + +First Release + + diff --git a/target/archive-tmp/fileSetFormatter.1259442186.tmp/changelog.xml.789931884.filtered b/target/archive-tmp/fileSetFormatter.1259442186.tmp/changelog.xml.789931884.filtered new file mode 100644 index 0000000..9476f4a --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.1259442186.tmp/changelog.xml.789931884.filtered @@ -0,0 +1,5 @@ + + +First Release + + diff --git a/target/archive-tmp/fileSetFormatter.2083836561.tmp/INSTALL b/target/archive-tmp/fileSetFormatter.2083836561.tmp/INSTALL new file mode 100644 index 0000000..139597f --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.2083836561.tmp/INSTALL @@ -0,0 +1,2 @@ + + diff --git a/target/archive-tmp/fileSetFormatter.2083836561.tmp/INSTALL.909492190.filtered b/target/archive-tmp/fileSetFormatter.2083836561.tmp/INSTALL.909492190.filtered new file mode 100644 index 0000000..139597f --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.2083836561.tmp/INSTALL.909492190.filtered @@ -0,0 +1,2 @@ + + diff --git a/target/archive-tmp/fileSetFormatter.2083836561.tmp/LICENSE b/target/archive-tmp/fileSetFormatter.2083836561.tmp/LICENSE new file mode 100644 index 0000000..cdb5851 --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.2083836561.tmp/LICENSE @@ -0,0 +1,7 @@ +gCube System - License +------------------------------------------------------------ + +The gCube/gCore software is licensed as Free Open Source software conveying to the EUPL (http://ec.europa.eu/idabc/eupl). +The software and documentation is provided by its authors/distributors "as is" and no expressed or +implied warranty is given for its use, quality or fitness for a particular case. + diff --git a/target/archive-tmp/fileSetFormatter.2083836561.tmp/LICENSE.94043744.filtered b/target/archive-tmp/fileSetFormatter.2083836561.tmp/LICENSE.94043744.filtered new file mode 100644 index 0000000..cdb5851 --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.2083836561.tmp/LICENSE.94043744.filtered @@ -0,0 +1,7 @@ +gCube System - License +------------------------------------------------------------ + +The gCube/gCore software is licensed as Free Open Source software conveying to the EUPL (http://ec.europa.eu/idabc/eupl). +The software and documentation is provided by its authors/distributors "as is" and no expressed or +implied warranty is given for its use, quality or fitness for a particular case. + diff --git a/target/archive-tmp/fileSetFormatter.2083836561.tmp/MAINTAINERS b/target/archive-tmp/fileSetFormatter.2083836561.tmp/MAINTAINERS new file mode 100644 index 0000000..680cebb --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.2083836561.tmp/MAINTAINERS @@ -0,0 +1,6 @@ +Mantainers +------- + +* Massimiliano Assante (massimiliano.assante@isti.cnr.it), CNR Pisa, + Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo". + diff --git a/target/archive-tmp/fileSetFormatter.2083836561.tmp/MAINTAINERS.1398383198.filtered b/target/archive-tmp/fileSetFormatter.2083836561.tmp/MAINTAINERS.1398383198.filtered new file mode 100644 index 0000000..680cebb --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.2083836561.tmp/MAINTAINERS.1398383198.filtered @@ -0,0 +1,6 @@ +Mantainers +------- + +* Massimiliano Assante (massimiliano.assante@isti.cnr.it), CNR Pisa, + Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo". + diff --git a/target/archive-tmp/fileSetFormatter.2083836561.tmp/README b/target/archive-tmp/fileSetFormatter.2083836561.tmp/README new file mode 100644 index 0000000..3f14a10 --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.2083836561.tmp/README @@ -0,0 +1,35 @@ +The gCube System - Social Library +------------------------------------------------------------ + +This work is partially funded by the European Commission in the +context of the iMarine project (www.i-marine.eu), under the 1st call of FP7 IST priority. + +Authors +------- +Massimiliano Assante +* +Version and Release Date +------------------------ +Jan 2013 + + +Description +----------- +Social networking Library + +Download information +-------------------- +Source code is available from SVN: +https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/social-library + +Binaries can be downloaded from: +http://software.d4science.research-infrastructures.eu/ + +Documentation +------------- +Documentation is available on-line from the Projects Documentation Wiki: + +Licensing +--------- + +This software is licensed under the terms you may find in the file named "LICENSE" in this directory. diff --git a/target/archive-tmp/fileSetFormatter.2083836561.tmp/README.662662985.filtered b/target/archive-tmp/fileSetFormatter.2083836561.tmp/README.662662985.filtered new file mode 100644 index 0000000..3f14a10 --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.2083836561.tmp/README.662662985.filtered @@ -0,0 +1,35 @@ +The gCube System - Social Library +------------------------------------------------------------ + +This work is partially funded by the European Commission in the +context of the iMarine project (www.i-marine.eu), under the 1st call of FP7 IST priority. + +Authors +------- +Massimiliano Assante +* +Version and Release Date +------------------------ +Jan 2013 + + +Description +----------- +Social networking Library + +Download information +-------------------- +Source code is available from SVN: +https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/social-library + +Binaries can be downloaded from: +http://software.d4science.research-infrastructures.eu/ + +Documentation +------------- +Documentation is available on-line from the Projects Documentation Wiki: + +Licensing +--------- + +This software is licensed under the terms you may find in the file named "LICENSE" in this directory. diff --git a/target/archive-tmp/fileSetFormatter.2083836561.tmp/changelog.xml b/target/archive-tmp/fileSetFormatter.2083836561.tmp/changelog.xml new file mode 100644 index 0000000..9476f4a --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.2083836561.tmp/changelog.xml @@ -0,0 +1,5 @@ + + +First Release + + diff --git a/target/archive-tmp/fileSetFormatter.2083836561.tmp/changelog.xml.962095840.filtered b/target/archive-tmp/fileSetFormatter.2083836561.tmp/changelog.xml.962095840.filtered new file mode 100644 index 0000000..9476f4a --- /dev/null +++ b/target/archive-tmp/fileSetFormatter.2083836561.tmp/changelog.xml.962095840.filtered @@ -0,0 +1,5 @@ + + +First Release + + diff --git a/target/archive-tmp/profile.xml.1658067470.filtered b/target/archive-tmp/profile.xml.1658067470.filtered new file mode 100644 index 0000000..664f77c --- /dev/null +++ b/target/archive-tmp/profile.xml.1658067470.filtered @@ -0,0 +1,25 @@ + + + + Library + + ASL Social Library + ApplicationSupportLayer + aslsocial + 1.0.0 + + + aslsocial + 0.1.0-SNAPSHOT + + org.gcube.applicationsupportlayer + aslsocial + 0.1.0-SNAPSHOT + + + aslsocial-0.1.0-SNAPSHOT.jar + + + + + diff --git a/target/archive-tmp/profile.xml.485954080.filtered b/target/archive-tmp/profile.xml.485954080.filtered new file mode 100644 index 0000000..664f77c --- /dev/null +++ b/target/archive-tmp/profile.xml.485954080.filtered @@ -0,0 +1,25 @@ + + + + Library + + ASL Social Library + ApplicationSupportLayer + aslsocial + 1.0.0 + + + aslsocial + 0.1.0-SNAPSHOT + + org.gcube.applicationsupportlayer + aslsocial + 0.1.0-SNAPSHOT + + + aslsocial-0.1.0-SNAPSHOT.jar + + + + + diff --git a/target/archive-tmp/svnpath.txt.393524967.filtered b/target/archive-tmp/svnpath.txt.393524967.filtered new file mode 100644 index 0000000..edacb04 --- /dev/null +++ b/target/archive-tmp/svnpath.txt.393524967.filtered @@ -0,0 +1 @@ +${scm.url} \ No newline at end of file diff --git a/target/archive-tmp/svnpath.txt.685764856.filtered b/target/archive-tmp/svnpath.txt.685764856.filtered new file mode 100644 index 0000000..edacb04 --- /dev/null +++ b/target/archive-tmp/svnpath.txt.685764856.filtered @@ -0,0 +1 @@ +${scm.url} \ No newline at end of file diff --git a/target/aslsocial-0.1.0-SNAPSHOT-javadoc.jar b/target/aslsocial-0.1.0-SNAPSHOT-javadoc.jar new file mode 100644 index 0000000..4862f79 Binary files /dev/null and b/target/aslsocial-0.1.0-SNAPSHOT-javadoc.jar differ diff --git a/target/aslsocial-0.1.0-SNAPSHOT-servicearchive.tar.gz b/target/aslsocial-0.1.0-SNAPSHOT-servicearchive.tar.gz new file mode 100644 index 0000000..5385de6 Binary files /dev/null and b/target/aslsocial-0.1.0-SNAPSHOT-servicearchive.tar.gz differ diff --git a/target/aslsocial-0.1.0-SNAPSHOT-sources.jar b/target/aslsocial-0.1.0-SNAPSHOT-sources.jar new file mode 100644 index 0000000..b946a1e Binary files /dev/null and b/target/aslsocial-0.1.0-SNAPSHOT-sources.jar differ diff --git a/target/aslsocial-0.1.0-SNAPSHOT-tests.jar b/target/aslsocial-0.1.0-SNAPSHOT-tests.jar new file mode 100644 index 0000000..1f30926 Binary files /dev/null and b/target/aslsocial-0.1.0-SNAPSHOT-tests.jar differ diff --git a/target/aslsocial-0.1.0-SNAPSHOT.jar b/target/aslsocial-0.1.0-SNAPSHOT.jar new file mode 100644 index 0000000..6db86ef Binary files /dev/null and b/target/aslsocial-0.1.0-SNAPSHOT.jar differ diff --git a/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml b/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml new file mode 100644 index 0000000..8b89c97 --- /dev/null +++ b/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml @@ -0,0 +1,10 @@ + + + + + + + + + src/main/javadoc + diff --git a/target/javadoc-bundle-options/package-list b/target/javadoc-bundle-options/package-list new file mode 100644 index 0000000..42c9b95 --- /dev/null +++ b/target/javadoc-bundle-options/package-list @@ -0,0 +1,203 @@ +java.applet +java.awt +java.awt.color +java.awt.datatransfer +java.awt.dnd +java.awt.event +java.awt.font +java.awt.geom +java.awt.im +java.awt.im.spi +java.awt.image +java.awt.image.renderable +java.awt.print +java.beans +java.beans.beancontext +java.io +java.lang +java.lang.annotation +java.lang.instrument +java.lang.management +java.lang.ref +java.lang.reflect +java.math +java.net +java.nio +java.nio.channels +java.nio.channels.spi +java.nio.charset +java.nio.charset.spi +java.rmi +java.rmi.activation +java.rmi.dgc +java.rmi.registry +java.rmi.server +java.security +java.security.acl +java.security.cert +java.security.interfaces +java.security.spec +java.sql +java.text +java.text.spi +java.util +java.util.concurrent +java.util.concurrent.atomic +java.util.concurrent.locks +java.util.jar +java.util.logging +java.util.prefs +java.util.regex +java.util.spi +java.util.zip +javax.accessibility +javax.activation +javax.activity +javax.annotation +javax.annotation.processing +javax.crypto +javax.crypto.interfaces +javax.crypto.spec +javax.imageio +javax.imageio.event +javax.imageio.metadata +javax.imageio.plugins.bmp +javax.imageio.plugins.jpeg +javax.imageio.spi +javax.imageio.stream +javax.jws +javax.jws.soap +javax.lang.model +javax.lang.model.element +javax.lang.model.type +javax.lang.model.util +javax.management +javax.management.loading +javax.management.modelmbean +javax.management.monitor +javax.management.openmbean +javax.management.relation +javax.management.remote +javax.management.remote.rmi +javax.management.timer +javax.naming +javax.naming.directory +javax.naming.event +javax.naming.ldap +javax.naming.spi +javax.net +javax.net.ssl +javax.print +javax.print.attribute +javax.print.attribute.standard +javax.print.event +javax.rmi +javax.rmi.CORBA +javax.rmi.ssl +javax.script +javax.security.auth +javax.security.auth.callback +javax.security.auth.kerberos +javax.security.auth.login +javax.security.auth.spi +javax.security.auth.x500 +javax.security.cert +javax.security.sasl +javax.sound.midi +javax.sound.midi.spi +javax.sound.sampled +javax.sound.sampled.spi +javax.sql +javax.sql.rowset +javax.sql.rowset.serial +javax.sql.rowset.spi +javax.swing +javax.swing.border +javax.swing.colorchooser +javax.swing.event +javax.swing.filechooser +javax.swing.plaf +javax.swing.plaf.basic +javax.swing.plaf.metal +javax.swing.plaf.multi +javax.swing.plaf.synth +javax.swing.table +javax.swing.text +javax.swing.text.html +javax.swing.text.html.parser +javax.swing.text.rtf +javax.swing.tree +javax.swing.undo +javax.tools +javax.transaction +javax.transaction.xa +javax.xml +javax.xml.bind +javax.xml.bind.annotation +javax.xml.bind.annotation.adapters +javax.xml.bind.attachment +javax.xml.bind.helpers +javax.xml.bind.util +javax.xml.crypto +javax.xml.crypto.dom +javax.xml.crypto.dsig +javax.xml.crypto.dsig.dom +javax.xml.crypto.dsig.keyinfo +javax.xml.crypto.dsig.spec +javax.xml.datatype +javax.xml.namespace +javax.xml.parsers +javax.xml.soap +javax.xml.stream +javax.xml.stream.events +javax.xml.stream.util +javax.xml.transform +javax.xml.transform.dom +javax.xml.transform.sax +javax.xml.transform.stax +javax.xml.transform.stream +javax.xml.validation +javax.xml.ws +javax.xml.ws.handler +javax.xml.ws.handler.soap +javax.xml.ws.http +javax.xml.ws.soap +javax.xml.ws.spi +javax.xml.ws.wsaddressing +javax.xml.xpath +org.ietf.jgss +org.omg.CORBA +org.omg.CORBA.DynAnyPackage +org.omg.CORBA.ORBPackage +org.omg.CORBA.TypeCodePackage +org.omg.CORBA.portable +org.omg.CORBA_2_3 +org.omg.CORBA_2_3.portable +org.omg.CosNaming +org.omg.CosNaming.NamingContextExtPackage +org.omg.CosNaming.NamingContextPackage +org.omg.Dynamic +org.omg.DynamicAny +org.omg.DynamicAny.DynAnyFactoryPackage +org.omg.DynamicAny.DynAnyPackage +org.omg.IOP +org.omg.IOP.CodecFactoryPackage +org.omg.IOP.CodecPackage +org.omg.Messaging +org.omg.PortableInterceptor +org.omg.PortableInterceptor.ORBInitInfoPackage +org.omg.PortableServer +org.omg.PortableServer.CurrentPackage +org.omg.PortableServer.POAManagerPackage +org.omg.PortableServer.POAPackage +org.omg.PortableServer.ServantLocatorPackage +org.omg.PortableServer.portable +org.omg.SendingContext +org.omg.stub.java.rmi +org.w3c.dom +org.w3c.dom.bootstrap +org.w3c.dom.events +org.w3c.dom.ls +org.xml.sax +org.xml.sax.ext +org.xml.sax.helpers \ No newline at end of file diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties new file mode 100644 index 0000000..75d174e --- /dev/null +++ b/target/maven-archiver/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Wed Dec 19 16:38:37 CET 2012 +version=0.1.0-SNAPSHOT +groupId=org.gcube.applicationsupportlayer +artifactId=aslsocial diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..e18b361 --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1,7 @@ +/Users/massi/Documents/workspace/applicationSupportLayerSocial/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNewsManager.java +/Users/massi/Documents/workspace/applicationSupportLayerSocial/src/main/java/org/gcube/applicationsupportlayer/social/imageType/ImageType.java +/Users/massi/Documents/workspace/applicationSupportLayerSocial/src/main/java/org/gcube/applicationsupportlayer/social/SocialPortalBridge.java +/Users/massi/Documents/workspace/applicationSupportLayerSocial/src/main/java/org/gcube/applicationsupportlayer/social/ex/ApplicationProfileNotFoundException.java +/Users/massi/Documents/workspace/applicationSupportLayerSocial/src/main/java/org/gcube/applicationsupportlayer/social/NotificationManager.java +/Users/massi/Documents/workspace/applicationSupportLayerSocial/src/main/java/org/gcube/applicationsupportlayer/social/NewsManager.java +/Users/massi/Documents/workspace/applicationSupportLayerSocial/src/main/java/org/gcube/applicationsupportlayer/social/AslNotificationManager.java diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst new file mode 100644 index 0000000..e69de29 diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst new file mode 100644 index 0000000..d46cfd6 --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -0,0 +1 @@ +/Users/massi/Documents/workspace/applicationSupportLayerSocial/src/test/java/org/gcube/applicationsupportlayer/social/AppTest.java