Class ResourceCreationData
java.lang.Object
ch.colabproject.colab.api.rest.document.bean.ResourceCreationData
- All Implemented Interfaces:
Serializable
Bean with everything needed to create a resource
- Author:
- sandra
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetTitle()inthashCode()booleanvoidsetAbstractCardTypeId(Long abstractCardTypeId) voidsetCardContentId(Long cardContentId) voidvoidsetCategory(String category) voidsetDocuments(List<Document> documents) voidsetPublished(boolean published) voidsetTeaser(TextDataBlock teaser) voidtoString()
-
Constructor Details
-
ResourceCreationData
public ResourceCreationData()
-
-
Method Details
-
getTitle
- Returns:
- the title
-
setTitle
- Parameters:
title- the title
-
getCategory
- Returns:
- the category
-
setCategory
- Parameters:
category- the category
-
getAbstractCardTypeId
- Returns:
- the abstractCardTypeId
-
setAbstractCardTypeId
- Parameters:
abstractCardTypeId- the abstractCardTypeId
-
getCardId
- Returns:
- the cardId
-
setCardId
- Parameters:
cardId- the cardId
-
getCardContentId
- Returns:
- the cardContentId
-
setCardContentId
- 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
- Returns:
- the documents
-
setDocuments
- Parameters:
documents- the documents
-
hashCode
public int hashCode() -
equals
-
toString
-