public static final class ImportExport.AttachmentsOrderService extends Object
The AttachmentsOrder Webservice is used in the Import-/Export-API to set a specific ordering for the attachments of a real estate object.
Constructor and Description |
---|
ImportExport.AttachmentsOrderService() |
Modifier and Type | Method and Description |
---|---|
static List |
get(AbstractClient client,
long is24RealEstateIdId)
Calls the GET method of the AttachmentsOrder Webservice.
|
static List |
get(AbstractClient client,
String externalRealEstateId)
Calls the GET method of the AttachmentsOrder Webservice.
|
static Messages |
put(AbstractClient client,
long is24RealEstateIdId,
List list)
Calls the PUT method of the AttachmentsOrder Webservice.
|
static Messages |
put(AbstractClient client,
String externalRealEstateId,
List list)
Calls the PUT method of the AttachmentsOrder Webservice.
|
public ImportExport.AttachmentsOrderService()
public static List get(AbstractClient client, String externalRealEstateId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
This method returns the attachment ordering for a specific real estate object.
client
- AbstractClient
, that is used to communicate with the WebserviceexternalRealEstateId
- user defined ID of the real estate object, for which the attachment
ordering is retrievedIOException
- if communication with the Webservice failedoauth.signpost.exception.OAuthException
- if authorization failedJAXBException
- if XML reading / writing failedRequestFailedException
- if the Webservice did not respond with a success messagepublic static List get(AbstractClient client, long is24RealEstateIdId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
This method returns the attachment ordering for a specific real estate object.
client
- AbstractClient
, that is used to communicate with the Webserviceis24RealEstateIdId
- ID of the real estate object, that was returned by
ImportExport.RealEstateService.post(org.openestate.is24.restapi.AbstractClient, org.openestate.is24.restapi.xml.realestates.RealEstate)
,
for which the attachment ordering is retrievedIOException
- if communication with the Webservice failedoauth.signpost.exception.OAuthException
- if authorization failedJAXBException
- if XML reading / writing failedRequestFailedException
- if the Webservice did not respond with a success messagepublic static Messages put(AbstractClient client, String externalRealEstateId, List list) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
This method changes the attachment ordering for a specific real estate object.
client
- AbstractClient
, that is used to communicate with the WebserviceexternalRealEstateId
- user defined ID of the real estate object, for which the attachment
ordering is changedlist
- attachment ordering to setIOException
- if communication with the Webservice failedoauth.signpost.exception.OAuthException
- if authorization failedJAXBException
- if XML reading / writing failedRequestFailedException
- if the Webservice did not respond with a success messagepublic static Messages put(AbstractClient client, long is24RealEstateIdId, List list) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
This method changes the attachment ordering for a specific real estate object.
client
- AbstractClient
, that is used to communicate with the Webserviceis24RealEstateIdId
- ID of the real estate object, that was returned by
ImportExport.RealEstateService.post(org.openestate.is24.restapi.AbstractClient, org.openestate.is24.restapi.xml.realestates.RealEstate)
,
for which the attachment ordering is changedlist
- attachment ordering to setIOException
- if communication with the Webservice failedoauth.signpost.exception.OAuthException
- if authorization failedJAXBException
- if XML reading / writing failedRequestFailedException
- if the Webservice did not respond with a success messageCopyright © 2014 OpenEstate. All rights reserved.