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
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static Messages deleteById(AbstractClient client, long is24Id, long attachmentId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- is24Id
- attachmentId
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static Attachments getAll(AbstractClient client, String externalId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- externalId
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static Attachments getAll(AbstractClient client, long is24Id) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- is24Id
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static Attachment getById(AbstractClient client, String externalId, long attachmentId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- externalId
- attachmentId
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static Attachment getById(AbstractClient client, long is24Id, long attachmentId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- is24Id
- attachmentId
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public 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
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public 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
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static Messages putById(AbstractClient client, String externalId, long attachmentId, Attachment attachment) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- externalId
- attachmentId
- attachment
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static Messages putById(AbstractClient client, long is24Id, long attachmentId, Attachment attachment) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- is24Id
- attachmentId
- attachment
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
Copyright © 2014 OpenEstate. All rights reserved.