Modifier and Type | Method and Description |
---|---|
void |
RestClient.assertResponse(GenericResponse response)
Analyzes the response of a finished request and asserts that it was executed without errors;
if a problem occurred during the request, a specialized RestException is thrown
|
Modifier and Type | Class and Description |
---|---|
class |
AuthenticationResponse
Authentication Result
|
class |
ConstructListResponse
Response containing a list of constructs
|
class |
ConstructLoadResponse
Class representing the construct load response.
|
class |
ExportSelectionResponse
Response containing the list of subselected folders
|
class |
FileListResponse
Response for a page list request
|
class |
FileLoadResponse
Response object for responses containing a File
|
class |
FileUploadResponse |
class |
FileUsageListResponse
Response for a file/image usage request.
|
class |
FolderExternalLinksResponse
REST Model external links response.
|
class |
FolderListResponse |
class |
FolderLoadResponse |
class |
FolderObjectCountResponse
Response containing object counts in folders
|
class |
FolderStructureLoadResponse
Response to a request for loading a folder structure
|
class |
FolderUsageListResponse
Response for a folder usage request.
|
class |
FoundFilesListResponse
Response for a file list request
|
class |
GroupsPermBitsResponse
Response containing permission and role bits
|
class |
GroupsResponse
Response for the request to get the groups
|
class |
ImageLoadResponse
Response object for responses containing an Image
|
class |
ItemListResponse
Response for a item list request
|
class |
LanguageResponse
Response containing the current session language
|
class |
LocalizationInfo
REST Model for localization info
|
class |
LoginResponse
Response to a login request
|
class |
MessageListResponse
Response containing a list of Inbox Messages
|
class |
NodeFeatureResponse
Response containing the activated features
|
class |
NodeLoadResponse
Response to a request to load a single node
|
class |
PageListResponse
Response for a page list request
|
class |
PageLoadResponse
Response for a page load request.
|
class |
PagePreviewResponse
Response for a page preview request
|
class |
PageRenderResponse
Response for request to render a page
|
class |
PageUsageListResponse
Response for a page usage request.
|
class |
PermBitsResponse
Response containing permission and role bits
|
class |
PermResponse
Response containing the permission flag for a specific permission request
|
class |
PrivilegesResponse
Privileges response
|
class |
TagCreateResponse
Resonse for a tag create request
|
class |
TagListResponse
Response with a list of tags
|
class |
TemplateListResponse
Response for a template list request
|
class |
TemplateLoadResponse |
class |
TemplateUsageListResponse
Response for a page usage response (templates).
|
class |
UserListResponse
Response containing a list of users
|
class |
UserLoadResponse
Response containing a single user
|
class |
VersionResponse
Response for a request asking for the version of the REST API on the server.
|
Modifier and Type | Class and Description |
---|---|
class |
MigrationGetLogResponse
Response to request to retrieve log for a tag type migration
|
class |
MigrationGetLogsResponse
Response to request to retrieve all logs for tag type migration
|
class |
MigrationJobItemsResponse
Response to requests for fetching jobitems.
|
class |
MigrationPartsResponse
Response to request to load parts for a given tag
|
class |
MigrationResponse
The
MigrationResponse is returned when a migration job is invoked or reinvoked. |
class |
MigrationStatusResponse
Response to request to check status of tag type migration
|
class |
MigrationTagsResponse
Response to request to load tags for a list of objects
|
class |
PossiblePartMappingsResponse
Response for possible part type mapping requests
|
Modifier and Type | Method and Description |
---|---|
GenericResponse |
NodeResource.activateFeatures(String nodeId,
NodeFeatureRequest request)
Activate the given list of features (features not listed will not be changed)
|
GenericResponse |
PageResource.cancel(Integer id,
Integer nodeId)
Cancel editing the page.
|
GenericResponse |
NodeResource.deactivateFeatures(String nodeId,
NodeFeatureRequest request)
Deactivate the given list of features (features not listed will not be changed)
|
GenericResponse |
FileResource.delete(Integer id,
Integer nodeId)
Delete the file denoted by id
|
GenericResponse |
ImageResource.delete(Integer id,
Integer nodeId)
Delete the image denoted by id
|
GenericResponse |
FolderResource.delete(String id,
Integer nodeId)
Delete a single folder.
|
GenericResponse |
PageResource.delete(String id,
Integer nodeId)
Delete the page denoted by id.
|
GenericResponse |
ConstructResource.deletePart(String constructId,
String idOrKeyname)
Delete a part of a construct.
|
GenericResponse |
TemplateResource.link(MultiLinkRequest request)
Link the given templates to the given folders.
|
GenericResponse |
TemplateResource.link(String id,
LinkRequest request)
Link the given template to the given folders.
|
GenericResponse |
MessagingResource.list(boolean unread)
List messages for the current user
|
GenericResponse |
FolderResource.localize(Integer id,
LocalizeRequest request)
Localize the given folder
|
GenericResponse |
FileResource.localize(Integer id,
LocalizeRequest request)
Localize the given file
|
GenericResponse |
PageResource.localize(Integer id,
LocalizeRequest request)
Localize the given page
|
GenericResponse |
ImageResource.localize(Integer id,
LocalizeRequest request)
Localize the given image
|
GenericResponse |
AuthenticationResource.logout(String sid)
Do a logout for the current session
|
GenericResponse |
PageResource.publish(Integer nodeId,
MultiPagePublishRequest request)
Publish a list of pages.
|
GenericResponse |
PageResource.publish(String id,
Integer nodeId,
PagePublishRequest request)
Publish the page denoted by id (or send it in the queue when the User has not permission to publish the page).
|
GenericResponse |
TemplateResource.pushToMaster(Integer id,
PushToMasterRequest request)
Push a template from a channel into a master
|
GenericResponse |
FolderResource.pushToMaster(Integer id,
PushToMasterRequest request)
Push a folder from a channel into a master
|
GenericResponse |
FileResource.pushToMaster(Integer id,
PushToMasterRequest request)
Push a file from a channel into a master
|
GenericResponse |
PageResource.pushToMaster(Integer id,
PushToMasterRequest request)
Push a page from a channel into a master
|
GenericResponse |
ImageResource.pushToMaster(Integer id,
PushToMasterRequest request)
Push an image from a channel into a master
|
GenericResponse |
TemplateResource.pushToMaster(MultiPushToMasterRequest request)
Push a list of templates from a channel into a master
|
GenericResponse |
FolderResource.pushToMaster(MultiPushToMasterRequest request)
Push a list of folders from a channel into a master
|
GenericResponse |
FileResource.pushToMaster(MultiPushToMasterRequest request)
Push a list of pages from a channel into a master
|
GenericResponse |
PageResource.pushToMaster(MultiPushToMasterRequest request)
Push a list of pages from a channel into a master
|
GenericResponse |
ImageResource.pushToMaster(MultiPushToMasterRequest request)
Push a list of images from a channel into a master
|
GenericResponse |
MessagingResource.read(MessagesReadRequest request)
Set messages to be read
|
GenericResponse |
ImageResource.resize(ImageResizeRequest imageResizeRequest)
This method will once invoked resize the image and update its binary data
and properties.
|
GenericResponse |
FileResource.save(Integer id,
FileSaveRequest request)
Save the given file
|
GenericResponse |
ImageResource.save(Integer id,
ImageSaveRequest request)
Save the given image
|
GenericResponse |
FileResource.save(Integer id,
com.sun.jersey.multipart.MultiPart multiPart)
Save the posted content into the given file
|
GenericResponse |
FolderResource.save(String id,
FolderSaveRequest request)
Save a single folder
|
GenericResponse |
PageResource.save(String id,
PageSaveRequest request)
Saves a page into GCN
|
GenericResponse |
ImageResource.saveContent(InputStream fileContent)
Save the posted content into the given image
|
GenericResponse |
MessagingResource.send(MessageSendRequest request)
Send a message to users/groups
|
GenericResponse |
NodeResource.setFeatures(String nodeId,
NodeFeatureRequest request)
Set the given list of features.
|
GenericResponse |
I18nResource.setLanguage(SetLanguageRequest request)
Set the current session language
|
GenericResponse |
PermResource.setPermissions(int objType,
int objId,
SetPermsRequest req)
Set the permissions on the identified object according to the posted request
|
GenericResponse |
FolderResource.setStartpage(String id,
StartpageRequest request)
Request to set a startpage for a page
|
GenericResponse |
PageResource.takeOffline(String id)
Take a specific page offline
|
GenericResponse |
TemplateResource.unlink(MultiLinkRequest request)
Unlink the given templates from the given folders.
|
GenericResponse |
TemplateResource.unlink(String id,
LinkRequest request)
Unlink the given template from the given folders.
|
GenericResponse |
TemplateResource.unlocalize(Integer id,
UnlocalizeRequest request)
Unlocalize the given template
|
GenericResponse |
FolderResource.unlocalize(Integer id,
UnlocalizeRequest request)
Unlocalize the given folder
|
GenericResponse |
FileResource.unlocalize(Integer id,
UnlocalizeRequest request)
Unlocalize the given file
|
GenericResponse |
PageResource.unlocalize(Integer id,
UnlocalizeRequest request)
Unlocalize the given page
|
GenericResponse |
ImageResource.unlocalize(Integer id,
UnlocalizeRequest request)
Unlocalize the given image
|
GenericResponse |
TemplateResource.unlocalize(MultiUnlocalizeRequest request)
Unlocalize templates in a channel
|
GenericResponse |
FolderResource.unlocalize(MultiUnlocalizeRequest request)
Unlocalize folders in a channel
|
GenericResponse |
FileResource.unlocalize(MultiUnlocalizeRequest request)
Unlocalize files in a channel
|
GenericResponse |
PageResource.unlocalize(MultiUnlocalizeRequest request)
Unlocalize pages in a channel
|
GenericResponse |
ImageResource.unlocalize(MultiUnlocalizeRequest request)
Unlocalize images in a channel
|
GenericResponse |
PageResource.workflowDecline(String id,
WorkflowRequest request)
Decline the workflow for the page (i.e.
|
GenericResponse |
PageResource.workflowRevoke(Integer id)
Revoke the last step of the workflow
|
Modifier and Type | Method and Description |
---|---|
GenericResponse |
MigrationResource.cancelMigration()
Cancel the current tag type migration job, if one is being executed
|
Copyright © 2015 Gentics Software GmbH. All rights reserved.