public static final class ImportExport.AttachmentService extends Object
| Modifier and Type | Method and Description |
|---|---|
static Messages |
deleteById(AbstractClient client,
long is24Id,
long attachmentId)
Calls the DELETEBYID method.
|
static Messages |
deleteById(AbstractClient client,
String externalId,
long attachmentId)
Calls the DELETEBYID method.
|
static Attachments |
getAll(AbstractClient client,
long is24Id)
Calls the GETALL method.
|
static Attachments |
getAll(AbstractClient client,
String externalId)
Calls the GETALL method.
|
static Attachment |
getById(AbstractClient client,
long is24Id,
long attachmentId)
Calls the GETBYID method.
|
static Attachment |
getById(AbstractClient client,
String externalId,
long attachmentId)
Calls the GETBYID method.
|
static Messages |
post(AbstractClient client,
long is24Id,
Attachment attachment,
InputStream input,
String fileName,
String mimeType)
Calls the POST method.
|
static Messages |
post(AbstractClient client,
String externalId,
Attachment attachment,
InputStream input,
String fileName,
String mimeType)
Calls the POST method.
|
static Messages |
putById(AbstractClient client,
long is24Id,
long attachmentId,
Attachment attachment)
Calls the PUTBYID method.
|
static Messages |
putById(AbstractClient client,
String externalId,
long attachmentId,
Attachment attachment)
Calls the PUTBYID method.
|
public static Messages deleteById(AbstractClient client, String externalId, long attachmentId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - externalId - attachmentId - IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionpublic static Messages deleteById(AbstractClient client, long is24Id, long attachmentId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - is24Id - attachmentId - IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionpublic static Attachments getAll(AbstractClient client, String externalId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - externalId - IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionpublic static Attachments getAll(AbstractClient client, long is24Id) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - is24Id - IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionpublic static Attachment getById(AbstractClient client, String externalId, long attachmentId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - externalId - attachmentId - IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionpublic static Attachment getById(AbstractClient client, long is24Id, long attachmentId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - is24Id - attachmentId - IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionpublic static Messages post(AbstractClient client, String externalId, Attachment attachment, InputStream input, String fileName, String mimeType) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - externalId - attachment - input - fileName - mimeType - IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionpublic static Messages post(AbstractClient client, long is24Id, Attachment attachment, InputStream input, String fileName, String mimeType) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - is24Id - attachment - input - fileName - mimeType - IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionpublic static Messages putById(AbstractClient client, String externalId, long attachmentId, Attachment attachment) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - externalId - attachmentId - attachment - IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionpublic static Messages putById(AbstractClient client, long is24Id, long attachmentId, Attachment attachment) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - is24Id - attachmentId - attachment - IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionCopyright © 2014 OpenEstate. All rights reserved.