Class ContentRepositoryFragmentResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.ContentRepositoryFragmentResponse
- All Implemented Interfaces:
Serializable
Response containing a ContentRepository Fragment
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate empty instanceContentRepositoryFragmentResponse
(ContentRepositoryFragmentModel contentRepositoryFragment, ResponseInfo responseInfo) Create instance with response info and cr fragmentContentRepositoryFragmentResponse
(Message message, ResponseInfo responseInfo) Create instance with message and response info -
Method Summary
Modifier and TypeMethodDescriptionContentRepository Fragmentvoid
setContentRepositoryFragment
(ContentRepositoryFragmentModel contentRepositoryFragment) Set the ContentRepository FragmentMethods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
ContentRepositoryFragmentResponse
public ContentRepositoryFragmentResponse()Create empty instance -
ContentRepositoryFragmentResponse
Create instance with message and response info- Parameters:
message
- messageresponseInfo
- response info
-
ContentRepositoryFragmentResponse
public ContentRepositoryFragmentResponse(ContentRepositoryFragmentModel contentRepositoryFragment, ResponseInfo responseInfo) Create instance with response info and cr fragment- Parameters:
contentRepositoryFragment
- crresponseInfo
- response info
-
-
Method Details
-
getContentRepositoryFragment
ContentRepository Fragment- Returns:
- the CR Fragment
-
setContentRepositoryFragment
Set the ContentRepository Fragment- Parameters:
contentRepositoryFragment
- CR Fragment
-