Class UserPostResource


  • @Path("/lumis/service/userpost/rest")
    public class UserPostResource
    extends java.lang.Object
    Supports post ajax calls.
    Since:
    10.1.0
    Version:
    $Revision: 24813 $ $Date: 2022-01-19 00:05:05 -0300 (Wed, 19 Jan 2022) $
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deletePost​(@NotNull java.lang.String postContentId)
      Deletes an user post by it's contentId and all related activities.
      void edit​(HttpServletResponse response, @NotNull java.lang.String userPostContentId, @NotNull java.lang.String pageId)
      Redirects to the edit post page.
      java.lang.String getPublishToPrincipals​(@Size(min=1) java.lang.String serviceInstanceId, java.lang.String term, @Min(0L) @Max(50L) java.lang.Integer maxResults)
      Returns a list of options to choose when selecting the publish to principals field, given a term to search for.
      java.lang.String getUrlMetaInformation​(@NotNull java.lang.String url)
      Given a url returns the meta information extracted from the url.
      java.lang.String getUsers​(@Size(min=1) java.lang.String serviceInstanceId, @NotNull java.lang.String query)
      Returns a list of user information given a query string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserPostResource

        public UserPostResource()