|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OMediaLinkExtension
An optional extension that a producer can expose to work with Media Link Entries.
| Method Summary | |
|---|---|
OEntity |
createMediaLinkEntry(EdmEntitySet entitySet,
HttpHeaders httpHeaders)
Creates an OEntity for a new media link entry request just received. |
void |
deleteStream(OEntity mle,
QueryInfo query)
Deletes the media resource defined by the given media link entry entity. |
InputStream |
getInputStreamForMediaLinkEntry(OEntity mle,
String etag,
EntityQueryInfo query)
Gets an InputStream that streams the bytes of the media resource associated with the given media link entry entity. |
String |
getMediaLinkContentDisposition(OEntity mle)
Gets the mime content disposition for the given media link entry entity. |
String |
getMediaLinkContentType(OEntity mle)
Gets the mime content type for the given media link entry entity. |
OEntity |
getMediaLinkEntryForUpdateOrDelete(EdmEntitySet entitySet,
OEntityKey key,
HttpHeaders httpHeaders)
Gets an OEntity for an existing media link entry with the given key. |
OutputStream |
getOutputStreamForMediaLinkEntryCreate(OEntity mle,
String etag,
QueryInfo query)
Gets an OutputStream for the purpose of creating a media resource. |
OutputStream |
getOutputStreamForMediaLinkEntryUpdate(OEntity mle,
String etag,
QueryInfo query)
Gets an OutputStream for the purpose of updating an existing media resource. |
OEntity |
updateMediaLinkEntry(OEntity mle,
OutputStream outStream)
Updates an OEntity for an existing media link entry. |
| Method Detail |
|---|
OEntity createMediaLinkEntry(EdmEntitySet entitySet,
HttpHeaders httpHeaders)
entitySet - entity-sethttpHeaders - Atom protocol says the Slug header can contain additional create info.
void deleteStream(OEntity mle,
QueryInfo query)
mle - an existing media link entryquery - additional request information
InputStream getInputStreamForMediaLinkEntry(OEntity mle,
String etag,
EntityQueryInfo query)
mle - the media link entry entityetag - for future extensionquery - additional request information
String getMediaLinkContentDisposition(OEntity mle)
mle - an existing media link entry
String getMediaLinkContentType(OEntity mle)
mle - an existing media link entry
OEntity getMediaLinkEntryForUpdateOrDelete(EdmEntitySet entitySet,
OEntityKey key,
HttpHeaders httpHeaders)
entitySet - entity-setkey - entity keyhttpHeaders - Atom protocol says the Slug header can contain additional create info.
OutputStream getOutputStreamForMediaLinkEntryCreate(OEntity mle,
String etag,
QueryInfo query)
mle - the media link entry entityetag - for future extensionquery - additional request information
OutputStream getOutputStreamForMediaLinkEntryUpdate(OEntity mle,
String etag,
QueryInfo query)
mle - the media link entry entityetag - for future extensionquery - additional request information
OEntity updateMediaLinkEntry(OEntity mle,
OutputStream outStream)
mle - an existing media link entryoutStream - media stream
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||