Uses of Record Class
io.meeds.mcp.server.tool.model.ActivityModel

Packages that use ActivityModel
  • Uses of ActivityModel in io.meeds.mcp.server.tool

    Modifier and Type
    Method
    Description
    ActivityMcpTool.attachImageToActivity(long activityId, String imageUrl, String imageBase64, String attachmentObjectType, String attachmentObjectId, String uploadId, String altText)
    Attaches an image to an activity the current user may edit.
    ActivityMcpTool.createActivity(Long spaceId, String htmlContent, String publicationStartTime)
    Posts an activity as the current user, in a space or in the user's stream.
    ActivityMcpTool.createActivityWithImage(Long spaceId, String htmlContent, String imageUrl, String imageBase64, String attachmentObjectType, String attachmentObjectId, String uploadId, String altText)
    Posts an activity carrying an image, as the current user; when the image can't be attached the post is deleted again.
    ActivityMcpTool.getActivity(long activityId)
     
    ActivityMcpTool.pinActivity(long activityId)
    Pins an activity to its space stream as the current user.
    ActivityMcpTool.publishScheduledActivityNow(long activityId)
    Publishes a scheduled activity immediately instead of waiting for its publication time.
    ActivityMcpTool.removeImageFromActivity(long activityId, String fileId)
     
    ActivityMcpTool.shareActivityToSpace(long activityId, long spaceId)
     
    ActivityMcpTool.unpinActivity(long activityId)
    Unpins an activity from its space stream as the current user.
    ActivityMcpTool.updateActivity(long activityId, String htmlContent, String publicationStartTime)
    Changes the text of an activity the current user can edit, or the publication time of one still scheduled.
  • Uses of ActivityModel in io.meeds.mcp.server.tool.util

    Modifier and Type
    Method
    Description
    ActivityToolUtils.toActivityModel(org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.portal.config.UserACL userAcl, io.meeds.portal.permlink.service.PermanentLinkService permanentLinkService, org.exoplatform.social.core.profileproperty.ProfilePropertyService profilePropertyService, io.meeds.social.translation.service.TranslationService translationService, org.exoplatform.social.core.processor.I18NActivityProcessor i18NActivityProcessor, org.exoplatform.portal.config.UserPortalConfigService portalConfigService, String activityId, org.exoplatform.services.security.Identity currentUserAclIdentity, Locale currentUserLocale)
    Reads an activity and builds it as the current user sees it.
    ActivityToolUtils.toActivityModel(org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.portal.config.UserACL userAcl, io.meeds.portal.permlink.service.PermanentLinkService permanentLinkService, org.exoplatform.social.core.profileproperty.ProfilePropertyService profilePropertyService, io.meeds.social.translation.service.TranslationService translationService, org.exoplatform.social.core.processor.I18NActivityProcessor i18NActivityProcessor, org.exoplatform.portal.config.UserPortalConfigService portalConfigService, org.exoplatform.social.core.activity.model.ExoSocialActivity activity, org.exoplatform.services.security.Identity currentUserAclIdentity, Locale currentUserLocale)
    Builds an activity already read as the current user sees it, without reading it again.
    Methods in io.meeds.mcp.server.tool.util with parameters of type ActivityModel
    Modifier and Type
    Method
    Description
    ActivityToolUtils.toActivitySummaryModel(ActivityModel activity)
    Reduces an activity to the item a list of activities returns: the same fields, its author, the author of its pin and its space reduced to what names them.