public static final class ImportExport.RealEstateService extends Object
Modifier and Type | Method and Description |
---|---|
static Messages |
deleteByExternalId(AbstractClient client,
String externalId)
Calls the DELETEbyID method.
|
static Messages |
deleteByIs24Id(AbstractClient client,
long is24Id)
Calls the DELETEbyID method.
|
static RealEstates |
getAll(AbstractClient client,
String inPublishChannel,
String notInPublishChannel,
int pageSize,
int pageNumber,
boolean archivedObjectsIncluded)
Calls the GETALL method.
|
static RealEstate |
getByExternalId(AbstractClient client,
String externalId)
Calls the GETBYID method.
|
static RealEstate |
getByIs24Id(AbstractClient client,
long is24Id)
Calls the GETBYID method.
|
static Messages |
post(AbstractClient client,
RealEstate realEstate)
Calls the POST method.
|
static Messages |
putByExternalId(AbstractClient client,
RealEstate realEstate,
String externalId)
Calls the PUTBYID method.
|
static Messages |
putByIs24Id(AbstractClient client,
RealEstate realEstate,
long is24Id)
Calls the PUTBYID method.
|
public static Messages deleteByExternalId(AbstractClient client, String externalId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- externalId
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static Messages deleteByIs24Id(AbstractClient client, long is24Id) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- is24Id
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static RealEstates getAll(AbstractClient client, String inPublishChannel, String notInPublishChannel, int pageSize, int pageNumber, boolean archivedObjectsIncluded) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- inPublishChannel
- the name of the publish channel to look for propertiesnotInPublishChannel
- the name of the publish channel not to look for propertiespageSize
- the number of properties per page (from min 1 until max 100, default 20)pageNumber
- the page number to return (starts with 1, default 1)archivedObjectsIncluded
- include archived objects into the resultIOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static RealEstate getByExternalId(AbstractClient client, String externalId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- externalId
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static RealEstate getByIs24Id(AbstractClient client, long is24Id) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- is24Id
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static Messages post(AbstractClient client, RealEstate realEstate) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- realEstate
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static Messages putByExternalId(AbstractClient client, RealEstate realEstate, String externalId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- realEstate
- externalId
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static Messages putByIs24Id(AbstractClient client, RealEstate realEstate, long is24Id) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- realEstate
- is24Id
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
Copyright © 2014 OpenEstate. All rights reserved.