JBoss.orgCommunity Documentation

LinkProvider

Method Param Return Description
getSpaceUri(final String prettyName) prettyName String Return the URI link to the space profile. (Since 1.2.0-GA).
getProfileUri(final String username) username String Return the URI link to the user profile.
getProfileUri(final String username, final String portalOwner) username, portalOwner String Return the URI link to the user profile in a portalOwner.
getProfileLink(final String username) username String Return the <a> tag with a link to the profile of userName.
getProfileLink(final String username, final String portalOwner) username, portalOwner StringReturn the <a> tag with a link to the profile of userName on a portalName.
getAbsoluteProfileUrl(final String userName, final String portalName, final String portalOwner, final String host) userName, portalName, portalOwner, host String Get the absolute profile URI of the userName.
getUserActivityUri(final String remoteId) remoteId String Get an activity link of a user. The remoteId parameter should be the Id name. For example: root.
getUserConnectionsUri(final String remoteId) remoteId String Get a connection link of a user. The remoteId parameter should be the Id name. For example: root.
getUserConnectionsYoursUri(final String remoteId) remoteId String Get a connection link of a user. The remoteId parameter should be the Id name. For example: root.
getUserProfileUri(final String remoteId) remoteId String Get a profile link of a user. The remoteId parameter should be the Id name.For example: root.
getActivityUri(final String providerId, final String remoteId) providerId, remoteId StringGet an activity link of a space or a user. The remoteId parameter should be the Id name. For example: organization:root or space:abc_def.
getActivityUriForSpace(final String remoteId, final String groupId) remoteId, groupId String Get an activity link of the space. (Since 1.2.8).
buildAvatarImageUri(final AvatarAttachment avatarAttachment) avatarAttachment String Build an avatar image URI from avatarAttachment.
buildAvatarImageUri(final Space space) space String Get the URI link of the avatar. (Since 1.2.0-GA).
buildAvatarImageUri(final String identityName) identityName String Get the URI link of the avatar from the identity name. (Since 1.2.0-GA).
buildAvatarImageUri(final PortalContainer container, final AvatarAttachment avatarAttachment) container, avatarAttachment String Build an avatar image URI from avatarAttachment. (Sine 1.2.0-GA).
getAvatarImageSource(final PortalContainer portalContainer, final Profile profile) portalContainer, profile StringGet an avatar image URI of a profile in a portalContainer. Deprecated: You should use Profile#getAvatarUrl() instead. It will be removed in eXo Social 1.3.x.
getAvatarImageSource(final Profile profile) profile String Get an avatar image URI of the profile. Deprecated: You should use Profile#getAvatarUrl() instead. It will be removed in eXo Social 1.3.x.
escapeJCRSpecialCharacters(String string) string String Escape the JCR special characters.