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 Immobilienscout24IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public 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)IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static PublishObject getById(AbstractClient client, String publishId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- publishId
- the unique publish id, generated by Immobilienscout24IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static Messages post(AbstractClient client, PublishObject publishObject) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- publishObject
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
Copyright © 2014 OpenEstate. All rights reserved.