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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentRepositoryFragmentResponse()
Create 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentRepositoryFragmentModel
getContentRepositoryFragment()
ContentRepository Fragmentvoid
setContentRepositoryFragment(ContentRepositoryFragmentModel contentRepositoryFragment)
Set the ContentRepository Fragment-
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
-
-
-
Constructor Detail
-
ContentRepositoryFragmentResponse
public ContentRepositoryFragmentResponse()
Create empty instance
-
ContentRepositoryFragmentResponse
public ContentRepositoryFragmentResponse(Message message, ResponseInfo responseInfo)
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 Detail
-
getContentRepositoryFragment
public ContentRepositoryFragmentModel getContentRepositoryFragment()
ContentRepository Fragment- Returns:
- the CR Fragment
-
setContentRepositoryFragment
public void setContentRepositoryFragment(ContentRepositoryFragmentModel contentRepositoryFragment)
Set the ContentRepository Fragment- Parameters:
contentRepositoryFragment
- CR Fragment
-
-