Class PublicationEntity

    • Method Detail

      • getURI

        public URI getURI()
        Description copied from interface: WebEntity
        Gets the URI at which this web entity is published and can be accessed.
        Specified by:
        getURI in interface WebEntity
        Returns:
        the web entity URI.
      • getId

        public String getId()
        Gets the unique identifier of the publication.
        Returns:
        the publication identifier.
      • getComponentId

        public String getComponentId()
        Gets the identifier of the Silverpeas component instance which the publication belongs to.
        Returns:
        the silverpeas component instance identifier.
      • fromPublicationDetail

        public static PublicationEntity fromPublicationDetail​(PublicationDetail publication,
                                                              URI uri)
        Creates a new publication entity from the specified publication.
        Parameters:
        publication - the publication to entitify.
      • setUri

        public void setUri​(URI uri)
      • setName

        public void setName​(String name)
      • getName

        public String getName()
      • setDescription

        public void setDescription​(String description)
      • getDescription

        public String getDescription()
      • setKeywords

        public void setKeywords​(String keywords)
      • getKeywords

        public String getKeywords()
      • getImportance

        public int getImportance()
      • setImportance

        public void setImportance​(int importance)
      • setUpdateDate

        public void setUpdateDate​(Date updateDate)
      • getUpdateDate

        public Date getUpdateDate()
      • setCreator

        public void setCreator​(UserDetail user)