Class ActivityStreamImpl

    • Constructor Detail

      • ActivityStreamImpl

        public ActivityStreamImpl()
    • Method Detail

      • setType

        public final void setType​(String name)
        Sets type (could be "space" or "user").
        Specified by:
        setType in interface ActivityStream
        Parameters:
        name - the type name
      • getId

        public final String getId()
        Gets stream Id (internal activityStorage).
        Specified by:
        getId in interface ActivityStream
        Returns:
        stream uuid
      • setId

        public final void setId​(String uuid)
        Sets stream Id (internal activityStorage).
        Specified by:
        setId in interface ActivityStream
        Parameters:
        uuid - the uuid of published-node
      • getPrettyId

        public final String getPrettyId()
        Gets prettyId name. Can be: "root" or "space_abc".
        Specified by:
        getPrettyId in interface ActivityStream
        Returns:
        pretty id
      • setPrettyId

        public final void setPrettyId​(String sPrettyId)
        Sets prettyId name.
        Specified by:
        setPrettyId in interface ActivityStream
        Parameters:
        sPrettyId - the prettyId name
      • getFaviconUrl

        public final String getFaviconUrl()
        Gets a string specifying the URL for the stream's favicon.
        Specified by:
        getFaviconUrl in interface ActivityStream
        Returns:
        the favicon Url
      • setFaviconUrl

        public final void setFaviconUrl​(String sFaviconUrl)
        Sets a string specifying the URL for the stream's favicon.
        Specified by:
        setFaviconUrl in interface ActivityStream
        Parameters:
        sFaviconUrl - the favicon Url
      • getTitle

        public final String getTitle()
        Gets a human-readable name for this stream. This property MAY be null if the stream has no title or name.
        Specified by:
        getTitle in interface ActivityStream
        Returns:
        the stream's title
      • setTitle

        public final void setTitle​(String sTitle)
        Sets a human-readable name for this stream. This property MAY be null if the stream has no title or name.
        Specified by:
        setTitle in interface ActivityStream
        Parameters:
        sTitle - the stream title
      • getPermaLink

        public final String getPermaLink()
        Gets the link to the UI endpoint of the stream in portal.
        A string specifying the stream's URL
        Specified by:
        getPermaLink in interface ActivityStream
        Returns:
        the permanent link for this activity stream
      • setPermaLink

        public final void setPermaLink​(String sPermaLink)
        Sets the link to the UI endpoint of the stream in portal.
        A string specifying the stream's URL
        Specified by:
        setPermaLink in interface ActivityStream
        Parameters:
        sPermaLink - the permanent link for this activity stream