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:
  • Constructor Details

    • ContentRepositoryResponse

      public ContentRepositoryResponse()
      Create empty instance
    • ContentRepositoryResponse

      public ContentRepositoryResponse(Message message, ResponseInfo responseInfo)
      Create instance with message and response info
      Parameters:
      message - message
      responseInfo - response info
    • ContentRepositoryResponse

      public ContentRepositoryResponse(ContentRepositoryModel contentRepository, ResponseInfo responseInfo)
      Create instance with response info and cr
      Parameters:
      contentRepository - cr
      responseInfo - response info
  • Method Details

    • getContentRepository

      public ContentRepositoryModel getContentRepository()
      ContentRepository
      Returns:
      the CR
    • setContentRepository

      public void setContentRepository(ContentRepositoryModel contentRepository)
      Set the ContentRepository
      Parameters:
      contentRepository - CR