Interface SocialMediaHelper
- All Superinterfaces:
Component,ComponentExporter
Deprecated.
The Social Media Sharing component is deprecated since Core Components 2.18.0 and should not be used in new projects.
Defines the Sling Model for the
/apps/core/wcm/components/sharing component.- Since:
- com.adobe.cq.wcm.core.components.models 11.0.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault StringDeprecated.Deprecated.default booleanDeprecated.default booleanDeprecated.default booleanDeprecated.default booleanDeprecated.default booleanDeprecated.Methods inherited from interface com.adobe.cq.wcm.core.components.models.Component
getAppliedCssClasses, getData, getExportedType, getId
-
Field Details
-
PN_SOCIAL_MEDIA
Deprecated.Name of the resource property that will indicate which social networks are supported for social sharing.- Since:
- com.adobe.cq.wcm.core.components.models 11.1.0
- See Also:
-
PN_VARIANT_PATH
Deprecated.Name of the resource property that will indicate which page variant has been used for social sharing.- Since:
- com.adobe.cq.wcm.core.components.models 11.1.0
- See Also:
-
PV_FACEBOOK
Deprecated.Possible value of thePN_SOCIAL_MEDIAresource property.- Since:
- com.adobe.cq.wcm.core.components.models 11.1.0
- See Also:
-
PN_FACEBOOK_APP_ID
Deprecated.Name of the property that will return the Facebook App ID.- Since:
- com.adobe.cq.wcm.core.components.models 11.1.0
- See Also:
-
PV_PINTEREST
Deprecated.Possible value of thePN_SOCIAL_MEDIAresource property.- Since:
- com.adobe.cq.wcm.core.components.models 11.1.0
- See Also:
-
-
Method Details
-
isFacebookEnabled
Deprecated.Returnstrueif Facebook sharing is enabled in page configuration,falseotherwise.- Returns:
trueif Facebook sharing is enabled in page configuration,falseotherwise- Since:
- com.adobe.cq.wcm.core.components.models 11.0.0; marked
defaultin 12.1.0
-
isPinterestEnabled
Deprecated.Returnstrueif Pinterest sharing is enabled in page configuration,falseotherwise.- Returns:
trueif Pinterest sharing is enabled in page configuration,falseotherwise- Since:
- com.adobe.cq.wcm.core.components.models 11.0.0; marked
defaultin 12.1.0
-
isSocialMediaEnabled
Deprecated.Returnstrueif a supported social media sharing is enabled in page configuration,falseotherwise.- Returns:
trueif a supported social media sharing is enabled in page configuration,falseotherwise- Since:
- com.adobe.cq.wcm.core.components.models 11.0.0; marked
defaultin 12.1.0
-
getFacebookAppId
Deprecated.Returns the value of the Facebook App ID if specified, null otherwise.- Returns:
- the value of the Facebook App ID if specified, null otherwise.
- Since:
- com.adobe.cq.wcm.core.components.models 12.14.0; marked
defaultin 12.14.0
-
hasFacebookSharing
Deprecated.Returnstrueif Facebook sharing is enabled in page configuration and the page contains the sharing component,falseotherwise.- Returns:
trueif Facebook sharing is enabled in page configuration and the page contains the sharing component,falseotherwise- Since:
- com.adobe.cq.wcm.core.components.models 11.0.0; marked
defaultin 12.1.0
-
hasPinterestSharing
Deprecated.Returnstrueif Pinterest sharing is enabled in page configuration and the page contains the sharing component,falseotherwise- Returns:
trueif Pinterest sharing is enabled in page configuration and the page contains the sharing component,falseotherwise- Since:
- com.adobe.cq.wcm.core.components.models 11.0.0; marked
defaultin 12.1.0
-
getMetadata
Deprecated.Returns the social media metadata for the current page.- Returns:
- the social media metadata for the current page; the
Mapcan be empty if there's no social media configuration - Since:
- com.adobe.cq.wcm.core.components.models 11.0.0; marked
defaultin 12.1.0
-