Class ResourceCreationData

java.lang.Object
ch.colabproject.colab.api.rest.document.bean.ResourceCreationData
All Implemented Interfaces:
Serializable

public class ResourceCreationData extends Object implements Serializable
Bean with everything needed to create a resource
Author:
sandra
See Also:
  • Constructor Details

    • ResourceCreationData

      public ResourceCreationData()
  • Method Details

    • getTitle

      public String getTitle()
      Returns:
      the title
    • setTitle

      public void setTitle(String title)
      Parameters:
      title - the title
    • getTeaser

      public TextDataBlock getTeaser()
      Returns:
      the teaser
    • setTeaser

      public void setTeaser(TextDataBlock teaser)
      Parameters:
      teaser - the teaser
    • getCategory

      public String getCategory()
      Returns:
      the category
    • setCategory

      public void setCategory(String category)
      Parameters:
      category - the category
    • getAbstractCardTypeId

      public Long getAbstractCardTypeId()
      Returns:
      the abstractCardTypeId
    • setAbstractCardTypeId

      public void setAbstractCardTypeId(Long abstractCardTypeId)
      Parameters:
      abstractCardTypeId - the abstractCardTypeId
    • getCardId

      public Long getCardId()
      Returns:
      the cardId
    • setCardId

      public void setCardId(Long cardId)
      Parameters:
      cardId - the cardId
    • getCardContentId

      public Long getCardContentId()
      Returns:
      the cardContentId
    • setCardContentId

      public void setCardContentId(Long cardContentId)
      Parameters:
      cardContentId - the cardContentId
    • 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
    • getDocuments

      public List<Document> getDocuments()
      Returns:
      the documents
    • setDocuments

      public void setDocuments(List<Document> documents)
      Parameters:
      documents - the documents
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object