public static final class ImportExport.PublishService extends Object
| Modifier and Type | Method and Description |
|---|---|
static Messages |
deleteById(AbstractClient client,
String publishId)
Calls the DELETEBYID method.
|
static PublishObjects |
get(AbstractClient client,
long is24Id,
long publishChannelId)
Calls the GET method.
|
static PublishObject |
getById(AbstractClient client,
String publishId)
Calls the GETBYID method.
|
static Messages |
post(AbstractClient client,
PublishObject publishObject)
Calls the POST method.
|
public static Messages deleteById(AbstractClient client, String publishId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - publishId - the unique publish id, generated by Immobilienscout24IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionpublic static PublishObjects get(AbstractClient client, long is24Id, long publishChannelId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - is24Id - the immoscout object id of the real estate objectpublishChannelId - the ID of a certain publish channel (optional, default 0)IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionpublic static PublishObject getById(AbstractClient client, String publishId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - publishId - the unique publish id, generated by Immobilienscout24IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionpublic static Messages post(AbstractClient client, PublishObject publishObject) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - publishObject - IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionCopyright © 2014 OpenEstate. All rights reserved.