public class ShareManager
extends Object
-
Method Summary
boolean
Returns the link to share a data
Returns the link to share a data
void
Prints the end of the link for sharing
void
Prints the start of the link for sharing
void
Prints the start of the link for sharing
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
-
canBeShared
- Parameters:
data - the data
mbr - the member
- Returns:
- true if the given data can be shared by the given member.
- Since:
- jcms-10.0.7
-
getOptions
- Parameters:
data - the data
mbr - the member
- Returns:
- the sharing options on the given data for the given member
- Since:
- jcms-10.0.7
-
getShareLink
Returns the link to share a data
- Parameters:
data - the Data
css - optional classname to use in the link
body - the content in the link
userLang - the user language
title - the title of the link
- Returns:
- the link to share a data
- Since:
- jcms-10.0.7
-
getShareLink
Returns the link to share a data
- Parameters:
data - the Data
css - optional classname to use in the link
body - the content in the link
userLang - the user language
title - the title of the link
dataAttribute - optional data attributes to add to the link
- Returns:
- the link to share a data
- Since:
- jcms-11.0.0
-
printShareLinkStart
Prints the start of the link for sharing
- Parameters:
sb - the StringBuilder
data - the Data
css - optional classname to use in the link
userLang - the user language
title - the title
- Since:
- jcms-10.0.7
-
printShareLinkStart
Prints the start of the link for sharing
- Parameters:
sb - the StringBuilder
data - the Data
css - optional classname to use in the link
userLang - the user language
title - the title
dataAttribute - optional data attributes to add to the link
- Since:
- jcms-11.0.0
-
printShareLinkEnd
Prints the end of the link for sharing
- Parameters:
sb - the StringBuilder
- Since:
- jcms-10.0.7