Class ContentRepositoryResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.ContentRepositoryResponse
- All Implemented Interfaces:
Serializable
Response containing a ContentRepository
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate empty instanceContentRepositoryResponse
(ContentRepositoryModel contentRepository, ResponseInfo responseInfo) Create instance with response info and crContentRepositoryResponse
(Message message, ResponseInfo responseInfo) Create instance with message and response info -
Method Summary
Modifier and TypeMethodDescriptionContentRepositoryvoid
setContentRepository
(ContentRepositoryModel contentRepository) Set the ContentRepositoryMethods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
ContentRepositoryResponse
public ContentRepositoryResponse()Create empty instance -
ContentRepositoryResponse
Create instance with message and response info- Parameters:
message
- messageresponseInfo
- response info
-
ContentRepositoryResponse
public ContentRepositoryResponse(ContentRepositoryModel contentRepository, ResponseInfo responseInfo) Create instance with response info and cr- Parameters:
contentRepository
- crresponseInfo
- response info
-
-
Method Details
-
getContentRepository
ContentRepository- Returns:
- the CR
-
setContentRepository
Set the ContentRepository- Parameters:
contentRepository
- CR
-