Class ContentRepositoryResponse
- java.lang.Object
-
- com.gentics.contentnode.rest.model.response.GenericResponse
-
- com.gentics.contentnode.rest.model.response.ContentRepositoryResponse
-
- All Implemented Interfaces:
Serializable
public class ContentRepositoryResponse extends GenericResponse
Response containing a ContentRepository- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentRepositoryResponse()
Create 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentRepositoryModel
getContentRepository()
ContentRepositoryvoid
setContentRepository(ContentRepositoryModel contentRepository)
Set the ContentRepository-
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
-
-
-
Constructor Detail
-
ContentRepositoryResponse
public ContentRepositoryResponse()
Create empty instance
-
ContentRepositoryResponse
public ContentRepositoryResponse(Message message, ResponseInfo responseInfo)
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 Detail
-
getContentRepository
public ContentRepositoryModel getContentRepository()
ContentRepository- Returns:
- the CR
-
setContentRepository
public void setContentRepository(ContentRepositoryModel contentRepository)
Set the ContentRepository- Parameters:
contentRepository
- CR
-
-