Package | Description |
---|---|
org.gcube.portlets.user.shareupdates.client | |
org.gcube.portlets.user.shareupdates.client.view | |
org.gcube.portlets.user.shareupdates.server |
Modifier and Type | Method and Description |
---|---|
LinkPreview |
ShareUpdateService.checkLink(String linkToCheck) |
LinkPreview |
ShareUpdateService.checkUploadedFile(String fileName,
String fileabsolutePathOnServer) |
Modifier and Type | Method and Description |
---|---|
org.gcube.portal.databook.shared.ClientFeed |
ShareUpdateService.share(String feedText,
org.gcube.portal.databook.shared.FeedType type,
org.gcube.portal.databook.shared.PrivacyLevel pLevel,
String vreName,
LinkPreview preview,
String urlThumbnail,
ArrayList<String> mentionedUsers,
String fileName,
String FilePathOnServer,
boolean notifyGroup) |
void |
ShareUpdateServiceAsync.share(String feedText,
org.gcube.portal.databook.shared.FeedType type,
org.gcube.portal.databook.shared.PrivacyLevel pLevel,
String vreName,
LinkPreview preview,
String urlThumbnail,
ArrayList<String> mentionedUsers,
String fileName,
String FilePathOnServer,
boolean notifyGroup,
com.google.gwt.user.client.rpc.AsyncCallback<org.gcube.portal.databook.shared.ClientFeed> callback) |
Modifier and Type | Method and Description |
---|---|
void |
ShareUpdateServiceAsync.checkLink(String linkToCheck,
com.google.gwt.user.client.rpc.AsyncCallback<LinkPreview> callback) |
void |
ShareUpdateServiceAsync.checkUploadedFile(String fileName,
String fileabsolutePathOnServer,
com.google.gwt.user.client.rpc.AsyncCallback<LinkPreview> callback) |
Constructor and Description |
---|
LinkPreviewer(ShareUpdateForm parent,
LinkPreview toShow,
boolean isFilePreview) |
Modifier and Type | Method and Description |
---|---|
LinkPreview |
ShareUpdateServiceImpl.checkLink(String linkToCheck)
tries the following in the indicated order for Populating the Link preview
Open Graph protocol
Meta "title" and "description" tags
Best guess from page content (not recommended)
Schema.org microdata <-- This is still a TODO
|
LinkPreview |
ShareUpdateServiceImpl.checkUploadedFile(String fileName,
String fileabsolutePathOnServer)
generate a preview of the file, upload the file on the storage and shorts the link
|
protected static LinkPreview |
FilePreviewer.getImagePreview(String fileName,
String path2Image,
String httpUrl,
String mimeType) |
protected static LinkPreview |
TextTransfromUtils.getInfoFromHTML(URLConnection connection,
URL pageUrl,
String link,
String host)
to use when OpenGraph is not available, Tries Metadata first, then Best guess from page content
|
protected static LinkPreview |
FilePreviewer.getPdfPreview(String fileName,
String path2Pdf,
String httpUrl,
String mimeType) |
protected static LinkPreview |
FilePreviewer.getUnhandledTypePreview(String fileName,
String path2Pdf,
String httpUrl,
String mimeType) |
Modifier and Type | Method and Description |
---|---|
org.gcube.portal.databook.shared.ClientFeed |
ShareUpdateServiceImpl.share(String postText,
org.gcube.portal.databook.shared.FeedType feedType,
org.gcube.portal.databook.shared.PrivacyLevel pLevel,
String vreId,
LinkPreview preview,
String urlThumbnail,
ArrayList<String> mentionedUserFullNames,
String fileName,
String filePathOnServer,
boolean notifyGroup) |
Copyright © 2015. All Rights Reserved.