Class ContentActions

  • All Implemented Interfaces:
    Serializable

    public class ContentActions
    extends Object
    implements Serializable
    User actions available on the content. All actions are optional and all actions are executed simultaneously.
    See Also:
    Serialized Form
    • Constructor Detail

      • ContentActions

        public ContentActions()
    • Method Detail

      • getUrl

        public String getUrl()
      • setUrl

        public void setUrl​(String url)
      • urlTarget

        public ContentActions urlTarget​(String urlTarget)
        The target window in which to open the URL. If empty will open a blank page or tab.
      • getUrlTarget

        public String getUrlTarget()
      • setUrlTarget

        public void setUrlTarget​(String urlTarget)
      • textback

        public ContentActions textback​(String textback)
        Text to be returned as the payload from a ButtonResponse when a button is clicked. The textback and title are a combination which will have to be unique across each card and carousel in order to determine which button was clicked in that card or carousel.
      • getTextback

        public String getTextback()
      • setTextback

        public void setTextback​(String textback)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object