Class ActivityObject

    • Constructor Detail

      • ActivityObject

        public ActivityObject()
    • Method Detail

      • getId

        public String getId()
        Returns the identifier of this object. Typically a content identifier.
        Returns:
        the identifier of this object, or null if it does not have a direct object.
        Since:
        8.2.0
      • setId

        public void setId​(String id)
        Sets the identifier of this object.
        Parameters:
        objectId - the identifier of this object.
        Since:
        8.2.0
      • getType

        public ActivityObjectType getType()
        Returns the type of this object.
        Returns:
        the type of this object, or null if it does not have a direct object.
        Since:
        8.2.0
      • setType

        public void setType​(ActivityObjectType type)
        Sets the type of this object.
        Parameters:
        type - the type to set.
        Since:
        8.2.0
      • getDisplayName

        public String getDisplayName()
        Returns the display name of this object.
        Returns:
        a plain-text value that is the display name of this object, or null if this object does not have a display name.
        Since:
        8.2.0
      • setDisplayName

        public void setDisplayName​(String displayName)
        Sets the display name of this object.
        Parameters:
        displayName - plain-text value to use as the display name of this object.
        Since:
        8.2.0
      • getIntroduction

        public String getIntroduction()
        Returns the introduction text of this object.
        Returns:
        a plain-text value that is the introduction of this object, or null if this object does not have an introduction.
        Since:
        8.2.0
      • setIntroduction

        public void setIntroduction​(String introduction)
        Sets the introduction text of this object.
        Parameters:
        introduction - plain-text value to use as the introduction of this object.
        Since:
        8.2.0
      • getIntroductionImageUrl

        public String getIntroductionImageUrl()
        Returns the URL of the introduction image of this object.
        Returns:
        an absolute URL; a URI relative to portal application root; or null if there is no image.
        Since:
        8.2.0
      • setIntroductionImageUrl

        public void setIntroductionImageUrl​(String introductionImageUrl)
        Sets the introduction image URL of this object.
        Parameters:
        introductionImageUrl - an absolute URL or a URI relative to portal application root that will be post-processed during rendering.
        Since:
        8.2.0
      • getUrl

        public String getUrl()
        Returns the URL to the main page of this object.
        Returns:
        an absolute URL; a URI relative to portal application root; or null if there is no URL for this object.
        Since:
        8.2.0
      • setUrl

        public void setUrl​(String url)
        Sets the URL to the main page of this object.
        Parameters:
        url - an absolute URL or a URI relative to portal application root that will be post-processed during rendering.
        Since:
        8.2.0
      • getLocale

        public Locale getLocale()
        Returns the locale of this object.
        Returns:
        the locale of this object, or null if this object has no locale specified.
        Since:
        8.2.0
      • setLocale

        public void setLocale​(Locale locale)
        Sets the locale of this object.
        Parameters:
        locale - the locale, or null if the locale is undefined.
        Since:
        8.2.0