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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceCreationData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)LonggetAbstractCardTypeId()LonggetCardContentId()LonggetCardId()StringgetCategory()List<Document>getDocuments()TextDataBlockgetTeaser()StringgetTitle()inthashCode()booleanisPublished()voidsetAbstractCardTypeId(Long abstractCardTypeId)voidsetCardContentId(Long cardContentId)voidsetCardId(Long cardId)voidsetCategory(String category)voidsetDocuments(List<Document> documents)voidsetPublished(boolean published)voidsetTeaser(TextDataBlock teaser)voidsetTitle(String title)StringtoString()
-
-
-
Method Detail
-
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
-
setDocuments
public void setDocuments(List<Document> documents)
- Parameters:
documents- the documents
-
-