Class ContentRepositoryFragmentResponse

java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.ContentRepositoryFragmentResponse
All Implemented Interfaces:
Serializable

public class ContentRepositoryFragmentResponse extends GenericResponse
Response containing a ContentRepository Fragment
See Also:
  • Constructor Details

    • ContentRepositoryFragmentResponse

      public ContentRepositoryFragmentResponse()
      Create empty instance
    • ContentRepositoryFragmentResponse

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

      public ContentRepositoryFragmentResponse(ContentRepositoryFragmentModel contentRepositoryFragment, ResponseInfo responseInfo)
      Create instance with response info and cr fragment
      Parameters:
      contentRepositoryFragment - cr
      responseInfo - response info
  • Method Details

    • getContentRepositoryFragment

      public ContentRepositoryFragmentModel getContentRepositoryFragment()
      ContentRepository Fragment
      Returns:
      the CR Fragment
    • setContentRepositoryFragment

      public void setContentRepositoryFragment(ContentRepositoryFragmentModel contentRepositoryFragment)
      Set the ContentRepository Fragment
      Parameters:
      contentRepositoryFragment - CR Fragment