@Deprecated @ConsumerType public interface SocialMediaHelper extends Component
/apps/core/wcm/components/sharing
component.Modifier and Type | Field and Description |
---|---|
static String |
PN_FACEBOOK_APP_ID
Deprecated.
|
static String |
PN_SOCIAL_MEDIA
Deprecated.
|
static String |
PN_VARIANT_PATH
Deprecated.
|
static String |
PV_FACEBOOK
Deprecated.
|
static String |
PV_PINTEREST
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
default String |
getFacebookAppId()
Deprecated.
|
default Map<String,String> |
getMetadata()
Deprecated.
|
default boolean |
hasFacebookSharing()
Deprecated.
|
default boolean |
hasPinterestSharing()
Deprecated.
|
default boolean |
isFacebookEnabled()
Deprecated.
|
default boolean |
isPinterestEnabled()
Deprecated.
|
default boolean |
isSocialMediaEnabled()
Deprecated.
|
getAppliedCssClasses, getData, getExportedType, getId
@Deprecated static final String PN_SOCIAL_MEDIA
PV_FACEBOOK
,
PV_PINTEREST
,
Constant Field Values@Deprecated static final String PN_VARIANT_PATH
@Deprecated static final String PV_FACEBOOK
PN_SOCIAL_MEDIA
resource property.@Deprecated static final String PN_FACEBOOK_APP_ID
@Deprecated static final String PV_PINTEREST
PN_SOCIAL_MEDIA
resource property.@Deprecated default boolean isFacebookEnabled()
true
if Facebook sharing is enabled in page configuration, false
otherwise.true
if Facebook sharing is enabled in page configuration, false
otherwisedefault
in 12.1.0@Deprecated default boolean isPinterestEnabled()
true
if Pinterest sharing is enabled in page configuration, false
otherwise.true
if Pinterest sharing is enabled in page configuration, false
otherwisedefault
in 12.1.0@Deprecated default boolean isSocialMediaEnabled()
true
if a supported social media sharing is enabled in page configuration, false
otherwise.true
if a supported social media sharing is enabled in page configuration, false
otherwisedefault
in 12.1.0@Deprecated default String getFacebookAppId()
default
in 12.14.0@Deprecated default boolean hasFacebookSharing()
true
if Facebook sharing is enabled in page configuration and the page contains the sharing component, false
otherwise.true
if Facebook sharing is enabled in page configuration and the page contains the sharing component, false
otherwisedefault
in 12.1.0@Deprecated default boolean hasPinterestSharing()
true
if Pinterest sharing is enabled in page configuration and the page contains the sharing component, false
otherwisetrue
if Pinterest sharing is enabled in page configuration and the page contains the sharing component, false
otherwisedefault
in 12.1.0@Deprecated default Map<String,String> getMetadata()
Map
can be empty if there's no social media configurationdefault
in 12.1.0Copyright © 2022. All rights reserved.