com.gentics.contentnode.rest.model.response
Class GenericResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
- Direct Known Subclasses:
- AuthenticationResponse, ConstructListResponse, ConstructLoadResponse, ExportSelectionResponse, FileListResponse, FileLoadResponse, FileUploadResponse, FolderListResponse, FolderLoadResponse, FolderObjectCountResponse, FolderStructureLoadResponse, FoundFilesListResponse, GroupsPermBitsResponse, GroupsResponse, ImageLoadResponse, ItemListResponse, LanguageResponse, LocalizationInfo, MessageListResponse, MigrationGetLogResponse, MigrationGetLogsResponse, MigrationJobItemsResponse, MigrationPartsResponse, MigrationResponse, MigrationStatusResponse, MigrationTagsResponse, NodeFeatureResponse, NodeLoadResponse, PageListResponse, PageLoadResponse, PagePreviewResponse, PageRenderResponse, PermBitsResponse, PermResponse, PossiblePartMappingsResponse, PrivilegesResponse, TagCreateResponse, TagListResponse, TemplateListResponse, TemplateLoadResponse, UserListResponse, UserLoadResponse, VersionResponse
public class GenericResponse
- extends Object
Generic response containing the response code and response messages (no additional objects)
- Author:
- norbert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericResponse
public GenericResponse()
- Constructor used by JAXB
GenericResponse
public GenericResponse(Message message,
ResponseInfo responseInfo)
- Creates a GenericResponse with the provided single message and ResponseInfo.
- Parameters:
message
- The message that should be displayed to the userresponse
- ResponseInfo with the status of the response
getMessages
public List<Message> getMessages()
addMessage
public void addMessage(Message message)
setMessages
public void setMessages(List<Message> messages)
getResponseInfo
public ResponseInfo getResponseInfo()
setResponseInfo
public void setResponseInfo(ResponseInfo responseInfo)
Copyright © 2015 Gentics Software GmbH. All Rights Reserved.