Class Resource

    • Constructor Detail

      • Resource

        public Resource()
    • Method Detail

      • getTitle

        public String getTitle()
        Returns:
        The title
      • setTitle

        public void setTitle​(String title)
        Parameters:
        title - The title
      • isPublished

        public boolean isPublished()
        Returns:
        if it is at the disposal of the inheritors
      • setPublished

        public void setPublished​(boolean published)
        Parameters:
        published - if it is at the disposal of the inheritors
      • isRequestingForGlory

        public boolean isRequestingForGlory()
        Returns:
        if it asks upper level(s) to integrate the resource
      • setRequestingForGlory

        public void setRequestingForGlory​(boolean requestingForGlory)
        Parameters:
        requestingForGlory - if it asks upper level(s) to integrate the resource
      • isDeprecated

        public boolean isDeprecated()
        Returns:
        if it should not be used anymore
      • setDeprecated

        public void setDeprecated​(boolean deprecated)
        Parameters:
        deprecated - if it should not be used anymore
      • getLexicalConversion

        public ConversionStatus getLexicalConversion()
        Returns:
        the conversion status : conversion status of documents for lexical
      • setLexicalConversion

        public void setLexicalConversion​(ConversionStatus lexicalConversion)
        Parameters:
        lexicalConversion - the new conversion status : conversion status of documents for lexical
      • getTeaser

        public TextDataBlock getTeaser()
        Returns:
        the teaser / abstract
      • setTeaser

        public void setTeaser​(TextDataBlock teaser)
        Parameters:
        teaser - the teaser / abstract
      • getTeaserId

        public Long getTeaserId()
        get the id of the teaser. To be sent to client.
        Returns:
        the id of the teaser
      • setTeaserId

        public void setTeaserId​(Long teaserId)
        set the id of the teaser. For serialization only.
        Parameters:
        teaserId - the id of the teaser
      • getDocuments

        public List<Document> getDocuments()
        Returns:
        the content of the resource
      • setDocuments

        public void setDocuments​(List<Document> documents)
        Parameters:
        documents - the content of the resource