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 boolean
equals(Object obj)
Long
getAbstractCardTypeId()
Long
getCardContentId()
Long
getCardId()
String
getCategory()
List<Document>
getDocuments()
TextDataBlock
getTeaser()
String
getTitle()
int
hashCode()
boolean
isPublished()
void
setAbstractCardTypeId(Long abstractCardTypeId)
void
setCardContentId(Long cardContentId)
void
setCardId(Long cardId)
void
setCategory(String category)
void
setDocuments(List<Document> documents)
void
setPublished(boolean published)
void
setTeaser(TextDataBlock teaser)
void
setTitle(String title)
String
toString()
-
-
-
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
-
-