Class SharedContent

    • Method Detail

      • loadContent

        public void loadContent​(ContentContext ctx)
        load content if remote, do nothing if local.
        Parameters:
        ctx -
      • getContent

        public List<ComponentBean> getContent()
        get the content as javlo ComponentBean. Sometime the method need convertion.
        Returns:
      • getTitle

        public String getTitle()
      • setTitle

        public void setTitle​(String title)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getImageURL

        public String getImageURL()
      • setImageUrl

        public void setImageUrl​(String url)
      • getId

        public String getId()
      • addCategory

        public void addCategory​(String category)
      • getLinkInfo

        public String getLinkInfo()
        get information for create a linked content. A linked content change if the source is modified.
        Returns:
        null if content not linkable.
      • setLinkInfo

        public void setLinkInfo​(String linkInfo)
      • getSortOn

        public long getSortOn()
      • setSortOn

        public void setSortOn​(long sortOn)
      • getEditURL

        public String getEditURL()
      • setEditURL

        public void setEditURL​(String editURL)
      • isEditAsModal

        public boolean isEditAsModal()
      • setEditAsModal

        public void setEditAsModal​(boolean editAsPopup)
      • getPhotoPageLink

        public String getPhotoPageLink()
      • setPhotoPageLink

        public void setPhotoPageLink​(String photoPageLink)