- acceptInvitationToJoinSpace(String, String) - Method in class org.exoplatform.social.service.rest.NotificationsRestService
-
Processes the "Accept the invitation to join a space" action and redirects to the space homepage.
- ActivitiesRestService - Class in org.exoplatform.social.service.rest
-
Provides services for manipulating activities (like/unlike, comment and delete).
- ActivitiesRestService() - Constructor for class org.exoplatform.social.service.rest.ActivitiesRestService
-
constructor
- ActivitiesRestService.CommentList - Class in org.exoplatform.social.service.rest
-
CommentList model
- ActivitiesRestService.CommentList() - Constructor for class org.exoplatform.social.service.rest.ActivitiesRestService.CommentList
-
- ActivitiesRestService.LikeList - Class in org.exoplatform.social.service.rest
-
LikeList model
- ActivitiesRestService.LikeList() - Constructor for class org.exoplatform.social.service.rest.ActivitiesRestService.LikeList
-
- ActivityResources - Class in org.exoplatform.social.service.rest.api
-
Activity Resources end point.
- ActivityResources() - Constructor for class org.exoplatform.social.service.rest.api.ActivityResources
-
- ActivityRestIn - Class in org.exoplatform.social.service.rest.api.models
-
The Activity Input model for Social Rest APIs.
- ActivityRestIn() - Constructor for class org.exoplatform.social.service.rest.api.models.ActivityRestIn
-
- ActivityRestListOut - Class in org.exoplatform.social.service.rest.api.models
-
The activity rest list out model for Social Rest APIs.
- ActivityRestListOut() - Constructor for class org.exoplatform.social.service.rest.api.models.ActivityRestListOut
-
Default constructor for initializing default values.
- ActivityRestListOut(List<ExoSocialActivity>, int, int, String) - Constructor for class org.exoplatform.social.service.rest.api.models.ActivityRestListOut
-
Constructors to set the list of activities and the number of comments, the number of likes.
- ActivityRestListOut.Field - Enum in org.exoplatform.social.service.rest.api.models
-
The enum fields as json keys
- ActivityRestOut - Class in org.exoplatform.social.service.rest.api.models
-
The Activity model for Social Rest APIs.
- ActivityRestOut() - Constructor for class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
Default constructor, used by JAX-RS.
- ActivityRestOut(ExoSocialActivity, String) - Constructor for class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- ActivityRestOut.Field - Enum in org.exoplatform.social.service.rest.api.models
-
- ActivityStreamResources - Class in org.exoplatform.social.service.rest.api
-
Provides API to access the activity stream of an identity.
- ActivityStreamResources() - Constructor for class org.exoplatform.social.service.rest.api.ActivityStreamResources
-
- ActivityStreamRestOut - Class in org.exoplatform.social.service.rest.api.models
-
The Activity Stream model for Social Rest APIs.
- ActivityStreamRestOut() - Constructor for class org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut
-
Default constructor for initializing default values.
- ActivityStreamRestOut(ActivityStream, String) - Constructor for class org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut
-
Constructor to construct object from ActivityStream instance.
- ActivityStreamRestOut.Field - Enum in org.exoplatform.social.service.rest.api.models
-
The enum fields as json keys
- addApp(AppsRestService.App) - Method in class org.exoplatform.social.service.rest.AppsRestService.AppList
-
adds application to application list
- addComment(ExoSocialActivity) - Method in class org.exoplatform.social.service.rest.ActivitiesRestService.CommentList
-
add comment to comment List
- addFullName(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.UserNameList
-
Add the user full name to fullNames list
- addLike(Like) - Method in class org.exoplatform.social.service.rest.ActivitiesRestService.LikeList
-
adds like to like list
- addName(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.UserNameList
-
Add name to user name list
- addName(String) - Method in class org.exoplatform.social.service.rest.SpacesRestService.SpaceNameList
-
Add name to space name list
- addSpace(SpaceRest) - Method in class org.exoplatform.social.service.rest.SpacesRestService.SpaceList
-
adds space to space list
- AppsRestService - Class in org.exoplatform.social.service.rest
-
Provides services for the application registry gadget which shows a list of applications.
- AppsRestService() - Constructor for class org.exoplatform.social.service.rest.AppsRestService
-
constructor
- AppsRestService.App - Class in org.exoplatform.social.service.rest
-
Describes an application entity from the application registry service of the portal.
- AppsRestService.App() - Constructor for class org.exoplatform.social.service.rest.AppsRestService.App
-
- AppsRestService.AppList - Class in org.exoplatform.social.service.rest
-
List that contains applications from application registry service of portal
This class is needed as a model for converter of the rest service.
- AppsRestService.AppList() - Constructor for class org.exoplatform.social.service.rest.AppsRestService.AppList
-
- canAccessActivity(PortalContainer, String, ExoSocialActivity) - Static method in class org.exoplatform.social.service.rest.SecurityManager
-
Checks if an authenticated remoteId of user can access an existing activity.
- canAccessActivity(PortalContainer, Identity, ExoSocialActivity) - Static method in class org.exoplatform.social.service.rest.SecurityManager
-
Checks if an authenticated identity can access an existing activity.
- canAccessActivityStream(PortalContainer, Identity, Identity) - Static method in class org.exoplatform.social.service.rest.SecurityManager
-
Checks if an authenticated identity could access the activity stream of an owner stream identity.
- canCommentToActivity(PortalContainer, Identity, ExoSocialActivity) - Static method in class org.exoplatform.social.service.rest.SecurityManager
-
Checks if an authenticated identity has the permission to comment on an existing activity.
- canDeleteActivity(PortalContainer, Identity, ExoSocialActivity) - Static method in class org.exoplatform.social.service.rest.SecurityManager
-
Checks if an authenticated identity has the permission to delete an existing activity.
- canDeleteComment(PortalContainer, Identity, ExoSocialActivity) - Static method in class org.exoplatform.social.service.rest.SecurityManager
-
Checks if an authenticated identity has the permission to delete an existing comment.
- canPostActivity(PortalContainer, Identity, Identity) - Static method in class org.exoplatform.social.service.rest.SecurityManager
-
Checks if an poster identity has the permission to post activities on an owner identity stream.
- characters(XMLString, Augmentations) - Method in class org.exoplatform.social.service.rest.LinkShare
-
filter method is called back when scanning meets the end of text in a tag
- checkAuthenticatedRequest() - Static method in class org.exoplatform.social.service.rest.RestChecker
-
Checks if the request is authenticated or not.
- checkSupportedFormat(String, String[]) - Static method in class org.exoplatform.social.service.rest.RestChecker
-
Checks if the expected format is supported or not.
- checkValidPortalContainerName(String) - Static method in class org.exoplatform.social.service.rest.RestChecker
-
Checks if the provided portal container name exists or not.
- CommentRestIn - Class in org.exoplatform.social.service.rest.api.models
-
The Comment input model for Social Rest APIs.
- CommentRestIn() - Constructor for class org.exoplatform.social.service.rest.api.models.CommentRestIn
-
- CommentRestOut - Class in org.exoplatform.social.service.rest.api.models
-
The comment model for Social Rest APIs.
- CommentRestOut() - Constructor for class org.exoplatform.social.service.rest.api.models.CommentRestOut
-
Default constructor
- CommentRestOut(ExoSocialActivity, String) - Constructor for class org.exoplatform.social.service.rest.api.models.CommentRestOut
-
Construct Comments model ExoSocialActivity
- CommentRestOut.Field - Enum in org.exoplatform.social.service.rest.api.models
-
- confirmInvitationToConnect(String, String) - Method in class org.exoplatform.social.service.rest.NotificationsRestService
-
Processes the "Accept the invitation to connect" action between 2 users, then redirects to the sender's activity stream.
- convertTimestampToTimeString(long) - Static method in class org.exoplatform.social.service.rest.Util
-
Converts a timestamp string to time string by the pattern: EEE MMM d HH:mm:ss Z yyyy.
- createCommentActivityById(UriInfo, String, String, String, String) - Method in class org.exoplatform.social.service.rest.ActivitiesRestService
-
Add comments to an existing activity.
- createCommentActivityById(UriInfo, String, String, String, CommentRestIn) - Method in class org.exoplatform.social.service.rest.api.ActivityResources
-
Posts a new comment on an existing activity.
- createLikeActivityById(UriInfo, String, String, String) - Method in class org.exoplatform.social.service.rest.api.ActivityResources
-
Allows an authenticated identity to do the "like" action on an existing activity.
- createNewActivity(UriInfo, String, String, String, ActivityRestIn) - Method in class org.exoplatform.social.service.rest.api.ActivityResources
-
Creates an activity to an identity's activity stream.
- getActivityById(UriInfo, String, String, String, String, int, String, int) - Method in class org.exoplatform.social.service.rest.ActivitiesRestService
-
Gets an activity by its Id.
- getActivityById(UriInfo, String, String, String, String, int, String, int) - Method in class org.exoplatform.social.service.rest.api.ActivityResources
-
Gets an activity object from a specified activity Id.
- getActivityConnectionsOfAuthenticated(UriInfo, String, String, int, String, String, int, int) - Method in class org.exoplatform.social.service.rest.api.ActivityStreamResources
-
Gets activities of connections of a specified identity based on an specific activity called "baseActivity".
- getActivityConnectionsOfAuthenticatedByTimestamp(UriInfo, String, String, int, Long, Long, int, int) - Method in class org.exoplatform.social.service.rest.api.ActivityStreamResources
-
Gets activities of connections of a specified identity based on a specific time.
- getActivityFeedOfAuthenticated(UriInfo, String, String, int, String, String, int, int) - Method in class org.exoplatform.social.service.rest.api.ActivityStreamResources
-
Gets the activity stream feed of the authenticated user identity based on an specific activity called "baseActivity".
- getActivityFeedOfAuthenticatedByTimestamp(UriInfo, String, String, int, Long, Long, int, int) - Method in class org.exoplatform.social.service.rest.api.ActivityStreamResources
-
Gets the activity stream feed of the authenticated user identity based on a specific time.
- getActivityId() - Method in class org.exoplatform.social.service.rest.ActivitiesRestService.CommentList
-
gets activityId
- getActivityId() - Method in class org.exoplatform.social.service.rest.ActivitiesRestService.LikeList
-
gets activityId
- getActivityId() - Method in class org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut
-
- getActivityManager() - Static method in class org.exoplatform.social.service.rest.Util
-
- getActivityManager(String) - Static method in class org.exoplatform.social.service.rest.Util
-
Gets ActivityManager with specified portal container name.
- getActivitySpacesOfAuthenticated(UriInfo, String, String, int, String, String, int, int) - Method in class org.exoplatform.social.service.rest.api.ActivityStreamResources
-
Gets space activities of spaces based on an specific activity called "baseActivity".
- getActivitySpacesOfAuthenticatedByTimestamp(UriInfo, String, String, int, Long, Long, int, int) - Method in class org.exoplatform.social.service.rest.api.ActivityStreamResources
-
Gets space activities based on a specific time.
- getActivityStream() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getActivityStreamByIdentityId(UriInfo, String, String, String, int, String, String, int, int) - Method in class org.exoplatform.social.service.rest.api.ActivityStreamResources
-
Gets activities of a defined identity based on an specific activity called baseActivity.
- getActivityStreamOfIdentityByTimestamp(UriInfo, String, String, String, int, Long, Long, int, int) - Method in class org.exoplatform.social.service.rest.api.ActivityStreamResources
-
Gets activities of a defined identity based on a specific time.
- getActivityTitle() - Method in class org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut
-
- getActivityTitle() - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- getAppId() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getAppId() - Method in class org.exoplatform.social.service.rest.AppsRestService.App
-
gets appId
- getAppName() - Method in class org.exoplatform.social.service.rest.AppsRestService.App
-
gets application name
- getApps() - Method in class org.exoplatform.social.service.rest.AppsRestService.AppList
-
gets application list
- getAuthenticatedUserIdentity() - Static method in class org.exoplatform.social.service.rest.SecurityManager
-
- getAuthenticatedUserIdentity(String) - Static method in class org.exoplatform.social.service.rest.Util
-
Gets UserIdentity of authenticated user.
- getAvatar() - Method in class org.exoplatform.social.service.rest.PeopleRestService.UserInfo
-
- getAvatarUrl() - Method in class org.exoplatform.social.service.rest.api.models.ProfileRestOut
-
Gets avatarURL of profile
- getAvatarUrl() - Method in class org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut
-
- getAvatarURL() - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- getAvatarUrl() - Method in class org.exoplatform.social.service.rest.SpaceRest
-
Gets the space's avatar url
- getBaseUrl() - Static method in class org.exoplatform.social.service.rest.Util
-
Gets base url (host + post) from a context uriInfo.
- getBody() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getComments() - Method in class org.exoplatform.social.service.rest.ActivitiesRestService.CommentList
-
gets comment list
- getComments() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getCommentsByActivityById(UriInfo, String, String, String) - Method in class org.exoplatform.social.service.rest.api.ActivityResources
-
Gets the comments on an activity.
- getCreatedAt() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getCreatedAt() - Method in class org.exoplatform.social.service.rest.api.models.CommentRestOut
-
- getCurrentServletRequest() - Static method in class org.exoplatform.social.service.rest.Util
-
Gets current http servlet request provided by Rest Service Framework.
- getDecodeQueryURL(String) - Static method in class org.exoplatform.social.service.rest.Util
-
Decode query parameters of string URL
Example: Input: http://google.com?%3Cscript%3E
Output: http://google.com?
- getDeleted() - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- getDescription() - Method in class org.exoplatform.social.service.rest.LinkShare
-
gets description
- getDisplayName() - Method in class org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut
-
- getDisplayName() - Method in class org.exoplatform.social.service.rest.SpaceRest
-
Gets the display name of the space.
- getFaviconUrl() - Method in class org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut
-
Gets the favicon url of activity stream.
- getFullName() - Method in class org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut
-
Gets the full name.
- getFullName() - Method in class org.exoplatform.social.service.rest.api.models.ProfileRestOut
-
Gets fullname of profile
- getFullName() - Method in class org.exoplatform.social.service.rest.Like
-
gets user full name
- getFullName() - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- getFullNames() - Method in class org.exoplatform.social.service.rest.PeopleRestService.UserNameList
-
Gets user full name list
- getGroupId() - Method in class org.exoplatform.social.service.rest.SpaceRest
-
Get the group id.
- getId() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getId() - Method in class org.exoplatform.social.service.rest.api.models.CommentRestOut
-
- getId() - Method in class org.exoplatform.social.service.rest.api.models.IdentityRestOut
-
Gets Id of Identity
- getId(UriInfo, String, String) - Method in class org.exoplatform.social.service.rest.IdentityRestService
-
Gets an identity by a user's name and returns in the JSON format.
- getId() - Method in class org.exoplatform.social.service.rest.IdentityRestService.UserId
-
gets id
- getId() - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- getId() - Method in class org.exoplatform.social.service.rest.PeopleRestService.UserInfo
-
- getIdentityById(UriInfo, String, String, String) - Method in class org.exoplatform.social.service.rest.api.IdentityResources
-
Gets the identity and its associated profile by the activity Id.
- getIdentityId() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getIdentityId() - Method in class org.exoplatform.social.service.rest.Like
-
gets identityId who likes
- getIdentityManager() - Static method in class org.exoplatform.social.service.rest.Util
-
- getIdentityManager(String) - Static method in class org.exoplatform.social.service.rest.Util
-
Gets IdentityManager with specified portal container name.
- getIdentityProviderIdAndRemoteId(UriInfo, String, String, String, String) - Method in class org.exoplatform.social.service.rest.api.IdentityResources
-
Gets the identity and its associated profile by specifying its provider Id and user/space Id.
- getImages() - Method in class org.exoplatform.social.service.rest.LinkShare
-
gets images list
- getInstance(String) - Static method in class org.exoplatform.social.service.rest.LinkShare
-
Gets LinkShare instance with specified link.
- getInstance(String, String) - Static method in class org.exoplatform.social.service.rest.LinkShare
-
Gets LinkShare instance with link and lang specified.
- getLang() - Method in class org.exoplatform.social.service.rest.LinkShareRequest
-
gets language
- getLastUpdatedTime() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getLastVisitedSpace(UriInfo, String, String, String, int, int) - Method in class org.exoplatform.social.service.rest.SpacesRestService
-
Provides a way to get the latest spaces ordered by last access and to be able to filter spaces, based on the application Id in the spaces.
- getLatestVersion(UriInfo, String) - Method in class org.exoplatform.social.service.rest.api.VersionResources
-
Gets the latest REST API version of eXo Platform.
- getLiked() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getLikedByIdentities() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getLikes() - Method in class org.exoplatform.social.service.rest.ActivitiesRestService.LikeList
-
gets like list
- getLikesFromIdentityId(UriInfo, String, String, String) - Method in class org.exoplatform.social.service.rest.api.ActivityResources
-
Gets all the identities who like an existing activity.
- getLink() - Method in class org.exoplatform.social.service.rest.LinkShare
-
gets provided link
- getLink() - Method in class org.exoplatform.social.service.rest.LinkShareRequest
-
gets link
- getLink(UriInfo, String, LinkShareRequest) - Method in class org.exoplatform.social.service.rest.LinkShareRestService
-
Gets the content of the link by the parameter passed to request.
- getMediaAlbum() - Method in class org.exoplatform.social.service.rest.LinkShare
-
gets mediaAlbum if provided in:
- getMediaArtist() - Method in class org.exoplatform.social.service.rest.LinkShare
-
gets mediaArtist if provided in:
- getMediaHeight() - Method in class org.exoplatform.social.service.rest.LinkShare
-
gets mediaHeight if provided in:
- getMediaObject() - Method in class org.exoplatform.social.service.rest.LinkShare
-
get mediaObject
- getMediaSrc() - Method in class org.exoplatform.social.service.rest.LinkShare
-
gets mediaSrc
- getMediaTitle() - Method in class org.exoplatform.social.service.rest.LinkShare
-
gets mediaTitle if provided in:
- getMediaType() - Method in class org.exoplatform.social.service.rest.LinkShare
-
gets mediaType if provided in:
- getMediaType(String) - Static method in class org.exoplatform.social.service.rest.Util
-
- getMediaType(String, String[]) - Static method in class org.exoplatform.social.service.rest.Util
-
Gets the media type from an expected format string (usually the input) and an array of supported format strings.
- getMediaWidth() - Method in class org.exoplatform.social.service.rest.LinkShare
-
gets mediaWidth if provided in:
- getMediumType() - Method in class org.exoplatform.social.service.rest.LinkShare
-
gets mediumType
- getMimeTypeOfURL(String) - Static method in class org.exoplatform.social.service.rest.Util
-
Try to guess the mime type of url using the Content-Type from header, the extension of filename or some bytes of content.
- getMoreSpacesUrl() - Method in class org.exoplatform.social.service.rest.SpacesRestService.SpaceList
-
Get the url of all spaces.
- getName() - Method in class org.exoplatform.social.service.rest.PeopleRestService.UserInfo
-
- getName() - Method in class org.exoplatform.social.service.rest.SpaceRest
-
Gets the name of the space.
- getNames() - Method in class org.exoplatform.social.service.rest.PeopleRestService.UserNameList
-
Gets user name list
- getNames() - Method in class org.exoplatform.social.service.rest.SpacesRestService.SpaceNameList
-
Gets space name list
- getOwnerIdentityIdFromActivity(ExoSocialActivity) - Static method in class org.exoplatform.social.service.rest.Util
-
- getOwnerIdentityIdFromActivity(String, ExoSocialActivity) - Static method in class org.exoplatform.social.service.rest.Util
-
Gets a owner identity Id from a provided activity.
- getPeopleInfo(UriInfo, SecurityContext, String, String, String, String) - Method in class org.exoplatform.social.service.rest.PeopleRestService
-
Gets a set of information of the target user.
- getPermaLink() - Method in class org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut
-
Gets the perma link.
- getPortalContainerByName(String) - Static method in class org.exoplatform.social.service.rest.Util
-
Gets a portal container by its name.
- getPosition() - Method in class org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut
-
- getPosition() - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- getPostedTime() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getPostedTime() - Method in class org.exoplatform.social.service.rest.api.models.CommentRestOut
-
- getPosterIdentity() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getPosterIdentity() - Method in class org.exoplatform.social.service.rest.api.models.CommentRestOut
-
- getPrettyId() - Method in class org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut
-
Gets the pretty id.
- getPrettyPostedTime() - Method in class org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut
-
- getPriority() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestIn
-
Gets the activity priority, optional value.
- getPriority() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getProfile() - Method in class org.exoplatform.social.service.rest.api.models.IdentityRestOut
-
Gets profile of Identity
- getProfileUrl() - Method in class org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut
-
- getProfileUrl() - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- getProviderId() - Method in class org.exoplatform.social.service.rest.api.models.IdentityRestOut
-
Gets providerId of Identity
- getRelationshipManager() - Static method in class org.exoplatform.social.service.rest.Util
-
- getRelationshipManager(String) - Static method in class org.exoplatform.social.service.rest.Util
-
Gets RelationshipManager with specified portal container name.
- getRelationshipType() - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- getRemoteId() - Method in class org.exoplatform.social.service.rest.api.models.IdentityRestOut
-
Gets remoteId of Identity
- getResponse(Object, UriInfo, MediaType, Response.Status) - Static method in class org.exoplatform.social.service.rest.Util
-
Gets the response object constructed from the provided params.
- getSpaces() - Method in class org.exoplatform.social.service.rest.SpacesRestService.SpaceList
-
gets space list
- getSpaceService() - Method in class org.exoplatform.social.service.rest.NotificationsRestService
-
Gets a service which manages all things related to spaces.
- getSpaceService() - Method in class org.exoplatform.social.service.rest.PeopleRestService
-
- getSpaceService() - Static method in class org.exoplatform.social.service.rest.Util
-
- getSpaceService(String) - Static method in class org.exoplatform.social.service.rest.Util
-
Gets SpaceService with specified portal container name.
- getSpaceUrl() - Method in class org.exoplatform.social.service.rest.SpaceRest
-
Gets the space url after building url with new navigation controller (used only for MySpaces gadget).
- getSupportedVersions(UriInfo, String) - Method in class org.exoplatform.social.service.rest.api.VersionResources
-
Gets eXo Platform REST service versions that are supported.
- getTemplateParams() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestIn
-
Gets the activity's template params, optional value.
- getTemplateParams() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getText() - Method in class org.exoplatform.social.service.rest.api.models.CommentRestIn
-
Gets the comment text.
- getText() - Method in class org.exoplatform.social.service.rest.api.models.CommentRestOut
-
- getThumbnail() - Method in class org.exoplatform.social.service.rest.Like
-
gets thumbnail
- getTitle() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestIn
-
Gets the activity title, required value.
- getTitle() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getTitle() - Method in class org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut
-
Gets the activity stream title.
- getTitle() - Method in class org.exoplatform.social.service.rest.LinkShare
-
gets title
- getTitleId() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestIn
-
Gets activity's title id, optional value.
- getTitleId() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getTotalNumberOfComments() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getTotalNumberOfLikes() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getType() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestIn
-
Gets the activity type, optional value.
- getType() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- getType() - Method in class org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut
-
Gets the activity stream type.
- getType() - Method in class org.exoplatform.social.service.rest.PeopleRestService.UserInfo
-
- getUrl() - Method in class org.exoplatform.social.service.rest.SpaceRest
-
Gets the url.
- getUserIdentity(String, boolean) - Static method in class org.exoplatform.social.service.rest.Util
-
- getUserIdentity(String, String, boolean) - Static method in class org.exoplatform.social.service.rest.Util
-
Gets identity from the remote id (user name)
- getUsername() - Method in class org.exoplatform.social.service.rest.Like
-
gets userName
- getVersion() - Method in class org.exoplatform.social.service.rest.api.models.Version
-
Gets the latest social rest api version.
- getVersions() - Method in class org.exoplatform.social.service.rest.api.models.Versions
-
Gets the value of the version property.
- getViewerId(UriInfo) - Static method in class org.exoplatform.social.service.rest.Util
-
Get viewerId from servlet request data information provided by OpenSocial signed request.
- getViewerIdentity(String) - Static method in class org.exoplatform.social.service.rest.Util
-
- getViewerIdentity(String, String) - Static method in class org.exoplatform.social.service.rest.Util
-
Gets identity of viewer user (logged-in user).
- IdentityResources - Class in org.exoplatform.social.service.rest.api
-
Provides API to access the identity resources.
- IdentityResources() - Constructor for class org.exoplatform.social.service.rest.api.IdentityResources
-
- IdentityRestOut - Class in org.exoplatform.social.service.rest.api.models
-
The Identity model for Social Rest APIs.
- IdentityRestOut() - Constructor for class org.exoplatform.social.service.rest.api.models.IdentityRestOut
-
Default constructor
- IdentityRestOut(String, String) - Constructor for class org.exoplatform.social.service.rest.api.models.IdentityRestOut
-
Construct the Identity model from Social's identityId.
- IdentityRestOut(Identity) - Constructor for class org.exoplatform.social.service.rest.api.models.IdentityRestOut
-
Construct the Identity model from Social's identity.
- IdentityRestOut.Field - Enum in org.exoplatform.social.service.rest.api.models
-
- IdentityRestService - Class in org.exoplatform.social.service.rest
-
Provides services to work with identities.
- IdentityRestService() - Constructor for class org.exoplatform.social.service.rest.IdentityRestService
-
constructor
- IdentityRestService.UserId - Class in org.exoplatform.social.service.rest
-
UserId class to be exposed
- IdentityRestService.UserId() - Constructor for class org.exoplatform.social.service.rest.IdentityRestService.UserId
-
constructor
- IdentityRestService.UserId(String) - Constructor for class org.exoplatform.social.service.rest.IdentityRestService.UserId
-
constructor
- ignoreInvitationToConnect(String, String) - Method in class org.exoplatform.social.service.rest.NotificationsRestService
-
Processes the "Deny the invitation to connect" action between 2 users, then redirects to the receiver's page of received invitations.
- ignoreInvitationToJoinSpace(String, String) - Method in class org.exoplatform.social.service.rest.NotificationsRestService
-
Processes the "Deny the invitation to join a space" action, then redirects to the page of all spaces.
- inviteToConnect(UriInfo, String, String) - Method in class org.exoplatform.social.service.rest.NotificationsRestService
-
Processes the "Invite to connect" action between two users, sender and receiver, then redirects to the receiver's profile page.
- isLikedByIdentity(String, ExoSocialActivity) - Static method in class org.exoplatform.social.service.rest.Util
-
Check if identityId contained in liked Identity, if yes return true else return false.
- isValid() - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestIn
-
Utility to check if this object contains valid inputs.
- isValid() - Method in class org.exoplatform.social.service.rest.api.models.CommentRestIn
-
Checks if this is a valid input, including all required fields.
- isValidURL(String) - Static method in class org.exoplatform.social.service.rest.Util
-
Checks a url is in a valid form or not.
- searchConnection(UriInfo, SecurityContext, String, String, int, int, String, String) - Method in class org.exoplatform.social.service.rest.PeopleRestService
-
Gets the information of people who have had connection with the current user.
- SecurityManager - Class in org.exoplatform.social.service.rest
-
The security manager helper class for Social Rest APIs.
- SecurityManager() - Constructor for class org.exoplatform.social.service.rest.SecurityManager
-
- setActivityId(String) - Method in class org.exoplatform.social.service.rest.ActivitiesRestService.CommentList
-
sets activityId
- setActivityId(String) - Method in class org.exoplatform.social.service.rest.ActivitiesRestService.LikeList
-
sets activityId
- setActivityId(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut
-
- setActivityStream(ActivityStreamRestOut) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setActivityTitle(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut
-
- setActivityTitle(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- setAppId(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setAppId(String) - Method in class org.exoplatform.social.service.rest.AppsRestService.App
-
sets appId
- setAppName(String) - Method in class org.exoplatform.social.service.rest.AppsRestService.App
-
sets application name
- setApps(List<AppsRestService.App>) - Method in class org.exoplatform.social.service.rest.AppsRestService.AppList
-
sets application list
- setAvatar(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.UserInfo
-
- setAvatarUrl(String) - Method in class org.exoplatform.social.service.rest.api.models.ProfileRestOut
-
Sets avatarURL of profile
- setAvatarUrl(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut
-
- setAvatarURL(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- setBody(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setComments(List<ExoSocialActivity>) - Method in class org.exoplatform.social.service.rest.ActivitiesRestService.CommentList
-
sets comment list
- setComments(List<CommentRestOut>) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setCreatedAt(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setCreatedAt(String) - Method in class org.exoplatform.social.service.rest.api.models.CommentRestOut
-
- setDeleted(Boolean) - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- setDescription(String) - Method in class org.exoplatform.social.service.rest.LinkShare
-
Set new value for description.
- setDisplayName(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut
-
- setFaviconUrl(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut
-
Sets the favicon url.
- setFullName(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut
-
Sets the full name.
- setFullName(String) - Method in class org.exoplatform.social.service.rest.api.models.ProfileRestOut
-
Sets fullName of profile
- setFullName(String) - Method in class org.exoplatform.social.service.rest.Like
-
sets user full name
- setFullName(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- setFullNames(List<String>) - Method in class org.exoplatform.social.service.rest.PeopleRestService.UserNameList
-
Sets user full name list
- setGroupId(String) - Method in class org.exoplatform.social.service.rest.SpaceRest
-
Sets the group id.
- setId(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setId(String) - Method in class org.exoplatform.social.service.rest.api.models.CommentRestOut
-
- setId(String) - Method in class org.exoplatform.social.service.rest.api.models.IdentityRestOut
-
Sets Id of Identity
- setId(String) - Method in class org.exoplatform.social.service.rest.IdentityRestService.UserId
-
sets id
- setId(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- setId(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.UserInfo
-
- setIdentityId(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setIdentityId(String) - Method in class org.exoplatform.social.service.rest.Like
-
sets identityId who likes
- setLang(String) - Method in class org.exoplatform.social.service.rest.LinkShareRequest
-
sets language
- setLastUpdatedTime(Long) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setLiked(Boolean) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setLikedByIdentities(List<IdentityRestOut>) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setLikes(List<Like>) - Method in class org.exoplatform.social.service.rest.ActivitiesRestService.LikeList
-
sets like list
- setLink(String) - Method in class org.exoplatform.social.service.rest.LinkShareRequest
-
sets link
- setMoreSpacesUrl(String) - Method in class org.exoplatform.social.service.rest.SpacesRestService.SpaceList
-
Set the url of all spaces.
- setName(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.UserInfo
-
- setName(String) - Method in class org.exoplatform.social.service.rest.SpaceRest
-
Sets the name of the space.
- setNames(List<String>) - Method in class org.exoplatform.social.service.rest.PeopleRestService.UserNameList
-
Sets user name list
- setNames(List<String>) - Method in class org.exoplatform.social.service.rest.SpacesRestService.SpaceNameList
-
Sets space name list
- setNumberOfComments(int, ExoSocialActivity, String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
Sets the number of comments to be returned.
- setNumberOfLikes(int, ExoSocialActivity, String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
Sets the number of likes to be returned.
- setPermaLink(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut
-
Sets the perma link of activity stream.
- setPosition(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut
-
- setPosition(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- setPostedTime(Long) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setPostedTime(Long) - Method in class org.exoplatform.social.service.rest.api.models.CommentRestOut
-
- setPosterIdentity(IdentityRestOut) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setPosterIdentity(IdentityRestOut) - Method in class org.exoplatform.social.service.rest.api.models.CommentRestOut
-
- setPosterIdentity(ExoSocialActivity, String) - Method in class org.exoplatform.social.service.rest.api.models.CommentRestOut
-
- setPrettyId(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut
-
Sets the pretty id.
- setPrettyPostedTime(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut
-
- setPriority(Float) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestIn
-
Sets the activity priority, optional value.
- setPriority(Float) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setProfile(ProfileRestOut) - Method in class org.exoplatform.social.service.rest.api.models.IdentityRestOut
-
Sets profile of Identity
- setProfileUrl(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut
-
- setProfileUrl(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- setProviderId(String) - Method in class org.exoplatform.social.service.rest.api.models.IdentityRestOut
-
Sets providerId of Identity
- setRelationshipType(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.PeopleInfo
-
- setRemoteId(String) - Method in class org.exoplatform.social.service.rest.api.models.IdentityRestOut
-
Sets remoteId of Identity
- setSpaces(List<SpaceRest>) - Method in class org.exoplatform.social.service.rest.SpacesRestService.SpaceList
-
sets space list
- setSpaceUrl(String) - Method in class org.exoplatform.social.service.rest.SpaceRest
-
Sets the space url with new navigation controller (used only for MySpaces gadget).
- setTemplateParams(Map<String, String>) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestIn
-
Sets the activity's template params, optional value.
- setTemplateParams(Map<String, String>) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setText(String) - Method in class org.exoplatform.social.service.rest.api.models.CommentRestIn
-
Sets the comment text.
- setText(String) - Method in class org.exoplatform.social.service.rest.api.models.CommentRestOut
-
- setThumbnail(String) - Method in class org.exoplatform.social.service.rest.Like
-
sets thumbnail url
- setTitle(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestIn
-
Sets the activity title, required value.
- setTitle(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setTitle(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut
-
Sets the activity stream title.
- setTitle(String) - Method in class org.exoplatform.social.service.rest.LinkShare
-
Set new value for title.
- setTitleId(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestIn
-
Sets activity's title id, optional value.
- setTitleId(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setTotalNumberOfComments(Integer) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setTotalNumberOfLikes(Integer) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setType(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestIn
-
Sets the activity type, optional value.
- setType(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityRestOut
-
- setType(String) - Method in class org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut
-
Sets the activity stream type.
- setType(String) - Method in class org.exoplatform.social.service.rest.PeopleRestService.UserInfo
-
- setUrl(String) - Method in class org.exoplatform.social.service.rest.SpaceRest
-
Sets the url.
- setUsername(String) - Method in class org.exoplatform.social.service.rest.Like
-
sets userName
- setVersion(String) - Method in class org.exoplatform.social.service.rest.api.models.Version
-
Sets the latest social rest api version.
- showApps(UriInfo, String) - Method in class org.exoplatform.social.service.rest.AppsRestService
-
Gets applications from the application registry service of the portal.
- showComments(UriInfo, String, String, String) - Method in class org.exoplatform.social.service.rest.ActivitiesRestService
-
Gets comments on the activity.
- showComments(UriInfo, String, String, String, Integer, Integer) - Method in class org.exoplatform.social.service.rest.ActivitiesRestService
-
Gets a limit number of comments on the activity.
- showLikes(UriInfo, String, String, String) - Method in class org.exoplatform.social.service.rest.ActivitiesRestService
-
Gets a list of users who like the activity.
- showMySpaceList(UriInfo, String, String) - Method in class org.exoplatform.social.service.rest.SpacesRestService
-
Gets the current user's spaces and pending spaces.
- showPendingSpaceList(UriInfo, String, String) - Method in class org.exoplatform.social.service.rest.SpacesRestService
-
Gets a user's pending spaces.
- SpaceRest - Class in org.exoplatform.social.service.rest
-
- SpaceRest(Space) - Constructor for class org.exoplatform.social.service.rest.SpaceRest
-
The constructor.
- SpacesRestService - Class in org.exoplatform.social.service.rest
-
Provides services for the space gadget to display a user's spaces and pending spaces.
- SpacesRestService() - Constructor for class org.exoplatform.social.service.rest.SpacesRestService
-
constructor
- SpacesRestService.SpaceList - Class in org.exoplatform.social.service.rest
-
List that contains space from space service.
Need this class for converter from rest
service.
- SpacesRestService.SpaceList() - Constructor for class org.exoplatform.social.service.rest.SpacesRestService.SpaceList
-
- SpacesRestService.SpaceNameList - Class in org.exoplatform.social.service.rest
-
- SpacesRestService.SpaceNameList() - Constructor for class org.exoplatform.social.service.rest.SpacesRestService.SpaceNameList
-
- startElement(QName, XMLAttributes, Augmentations) - Method in class org.exoplatform.social.service.rest.LinkShare
-
filter method is called back when scanning meets start element tag
- suggestSpacenames(UriInfo, String, String, String, String, String) - Method in class org.exoplatform.social.service.rest.SpacesRestService
-
Suggests the space's name for searching.
- suggestUsernames(UriInfo, String, String, String, String, String) - Method in class org.exoplatform.social.service.rest.PeopleRestService
-
Gets users' names that match the input string for suggestion.
- suggestUsernames(UriInfo, SecurityContext, String) - Method in class org.exoplatform.social.service.rest.PeopleRestService
-
Gets users' information that matches the input string.
- SUPPORTED_VERSIONS - Static variable in class org.exoplatform.social.service.rest.api.VersionResources
-
The supported versions
- validateRequestToJoinSpace(String, String) - Method in class org.exoplatform.social.service.rest.NotificationsRestService
-
Adds a member to a space, then redirects to the space's members page.
- valueOf(String) - Static method in enum org.exoplatform.social.service.rest.api.models.ActivityRestListOut.Field
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.exoplatform.social.service.rest.api.models.ActivityRestOut.Field
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut.Field
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.exoplatform.social.service.rest.api.models.CommentRestOut.Field
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.exoplatform.social.service.rest.api.models.IdentityRestOut.Field
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.exoplatform.social.service.rest.api.models.ProfileRestOut.Field
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.exoplatform.social.service.rest.NotificationsRestService.URL_TYPE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut.Field
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.exoplatform.social.service.rest.api.models.ActivityRestListOut.Field
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.exoplatform.social.service.rest.api.models.ActivityRestOut.Field
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut.Field
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.exoplatform.social.service.rest.api.models.CommentRestOut.Field
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.exoplatform.social.service.rest.api.models.IdentityRestOut.Field
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.exoplatform.social.service.rest.api.models.ProfileRestOut.Field
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.exoplatform.social.service.rest.NotificationsRestService.URL_TYPE
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.exoplatform.social.service.rest.PeopleRestService.ConnectionInfoRestOut.Field
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verify() - Method in class org.exoplatform.social.service.rest.LinkShareRequest
-
verifies if this request is valid
- Version - Class in org.exoplatform.social.service.rest.api.models
-
Version class to expose as json response object.
- Version() - Constructor for class org.exoplatform.social.service.rest.api.models.Version
-
- VersionResources - Class in org.exoplatform.social.service.rest.api
-
Provides the latest REST service version.
- VersionResources() - Constructor for class org.exoplatform.social.service.rest.api.VersionResources
-
- Versions - Class in org.exoplatform.social.service.rest.api.models
-
Java class for anonymous complex type.
- Versions() - Constructor for class org.exoplatform.social.service.rest.api.models.Versions
-
- versions - Variable in class org.exoplatform.social.service.rest.api.models.Versions
-