All Classes and Interfaces
Class
Description
A page of activities, saying whether more remain.
Tells which space an activity belongs to: the space whose stream holds it.
An activity as an item of a list of activities: the fields of
ActivityModel, with its author, the author of its pin and its space
reduced to what names them.Tells which space a comment belongs to: the space of the activity it
comments on.
A single work-experience entry of a user profile (rides
Profile.EXPERIENCES).Visibility state of the current user's profile fields: which fields are
currently hidden and the full set of fields whose visibility can be toggled
(the valid
field_name values for set_profile_field_visibility).One hit of
search_spaces: just enough for an assistant to tell the
space it was asked about from its neighbours and to act on it, without the
full SpaceModel.Finds a space by the words of its name or description, so that an assistant
resolves the space a user names with one call instead of listing every
space.
A space as an item of a list names it: the id to call another tool with,
and the name to show.
A page of sub-spaces.
The upload link
start_upload opens: the id of the upload to come,
where and how to send the file, and what to do next.Lets an agent send a file from its own machine to the platform without
passing the bytes through the conversation:
start_upload opens a
one-time upload link on the platform's upload endpoint, the agent sends the
file with the returned curl command, and passes the returned
upload_id to the tool that consumes the file, which reads it through
the owner-checked accessor of UploadService and removes it.The state of an upload opened with
start_upload, as this server
node holds it for the current user.Helpers to turn an image (from a URL or base64) into a platform
UploadService uploadId that any upload-consuming API
(activity/comment attachments, note featured image, avatars, documents…)
accepts.A downloaded image: its bytes, resolved mime type and a file name.
The mutually exclusive ways to provide an image to
UploadToolUtils.resolveImage(AttachmentService, FileService, Identity, UploadToolUtils.ImageSource, long): a
public http(s) URL, base64-encoded bytes, a reference to an existing
platform attachment (attachmentObjectType +
attachmentObjectId), or the id of a file the user sent through
an upload link (uploadId, see
UploadService.createUploadToken(String, String, long)).Presence status a user can set, mapped to the values stored by
org.exoplatform.services.user.UserStateService.A user as an item of a list names it: the username to call another tool
with, and the name to show.