public class SocialPortalBridge extends Object
Modifier and Type | Field and Description |
---|---|
protected org.gcube.portal.databook.shared.ApplicationProfile |
applicationProfile |
protected String |
currGroupName |
protected String |
currScope |
protected SocialNetworkingUser |
currUser |
Constructor and Description |
---|
SocialPortalBridge(String scope,
SocialNetworkingUser currUser) |
SocialPortalBridge(String scope,
SocialNetworkingUser currUser,
String portletClassName) |
Modifier and Type | Method and Description |
---|---|
protected String |
escapeHtml(String html)
Escape an html string.
|
org.gcube.portal.databook.shared.ApplicationProfile |
getApplicationProfile() |
static org.gcube.portal.databook.server.DatabookStore |
getStoreInstance() |
protected String currScope
protected String currGroupName
protected SocialNetworkingUser currUser
protected org.gcube.portal.databook.shared.ApplicationProfile applicationProfile
public SocialPortalBridge(String scope, SocialNetworkingUser currUser)
scope
- the current scopecurrUser
- an instance of SocialNetworkingUser
filled with the required user datapublic SocialPortalBridge(String scope, SocialNetworkingUser currUser, String portletClassName)
scope
- the current scopecurrUser
- an instance of SocialNetworkingUser
filled with the required user dataportletClassName
- your application unique identifier registered in the infrastructurepublic static org.gcube.portal.databook.server.DatabookStore getStoreInstance()
protected String escapeHtml(String html)
html
- the html string to escapepublic org.gcube.portal.databook.shared.ApplicationProfile getApplicationProfile()
Copyright © 2017. All Rights Reserved.