public interface SlideshowOperations
| Modifier and Type | Method and Description |
|---|---|
String |
deleteSlideshow(String username,
String password,
String slideshowId)
Delete a slideshow.
|
String |
editSlideshow(String username,
String password,
String slideshowId,
String slideshowTitle,
String slideshowDescription,
Collection<String> slideshowTags,
Boolean makeSlideshowPrivate,
Boolean generateSecretUrl,
Boolean allowEmbeds,
Boolean shareWithContacts)
Edit existing slideshow.
|
String |
editSlideshow(String username,
String password,
String slideshowId,
String slideshowTitle,
String slideshowDescription,
Collection<String> slideshowTags,
PrivacySetting privacySetting)
Edit existing slideshow with
PrivacySetting. |
Slideshow |
getSlideshow(String slideshowId,
String slideshowUrl)
Get slideshow from either slideshow id or url (detailed=true).
|
Slideshow |
getSlideshow(String slideshowId,
String slideshowUrl,
String username,
String password)
Get slideshow from either slideshow id or url (detailed=true).
|
Slideshow |
getSlideshow(String slideshowId,
String slideshowUrl,
String username,
String password,
boolean excludeTags,
boolean detailed,
boolean transcript)
Get slideshow from either slideshow id or url (detailed=true).
|
Slideshow |
getSlideshowById(String slideshowId)
Get slideshow by slideshow_id (detailed=true).
|
Slideshow |
getSlideshowById(String slideshowId,
String username,
String password)
Get slideshow by slideshow_id (detailed=true).
|
Slideshow |
getSlideshowById(String slideshowId,
String username,
String password,
boolean excludeTags,
boolean detailed,
boolean transcript)
Get slideshow by slideshow_id
|
Slideshow |
getSlideshowByUrl(String slideshowUrl)
Get slideshow by slideshow url (detailed=true).
|
Slideshow |
getSlideshowByUrl(String slideshowUrl,
String username,
String password)
Get slideshow by slideshow url (detailed=true).
|
Slideshow |
getSlideshowByUrl(String slideshowUrl,
String username,
String password,
boolean excludeTags,
boolean detailed,
boolean transcript)
Get slideshow by slideshow url.
|
GetSlideshowsResponse |
getSlideshowsByGroup(String groupName,
int limit)
Get slideshows by group (detailed=true).
|
GetSlideshowsResponse |
getSlideshowsByGroup(String groupName,
int limit,
int offset,
boolean detailed)
Get slideshows by group.
|
GetSlideshowsResponse |
getSlideshowsByTag(String tag,
int limit)
Get slideshows by tag (detailed=true).
|
GetSlideshowsResponse |
getSlideshowsByTag(String tag,
int limit,
int offset,
boolean detailed)
Get slideshows by tag.
|
GetSlideshowsResponse |
getSlideshowsByUser(String usernameFor,
int limit)
Get slideshows by username (detailed=true).
|
GetSlideshowsResponse |
getSlideshowsByUser(String usernameFor,
String username,
String password,
int limit)
Get slideshows by username (detailed=true).
|
GetSlideshowsResponse |
getSlideshowsByUser(String usernameFor,
String username,
String password,
int limit,
int offset,
boolean detailed,
boolean getUnconverted)
Get slideshows by username.
|
SearchSlideshowsResponse |
searchSlideshows(String q)
Returns slideshows according to the search criteria
Use default page which is set to 1
Use default itemsPerPage which is set to 12
|
SearchSlideshowsResponse |
searchSlideshows(String q,
int page)
Returns slideshows according to the search criteria
Use default itemsPerPage which is set to 12
|
SearchSlideshowsResponse |
searchSlideshows(String q,
int page,
int itemsPerPage)
Returns slideshows according to the search criteria
|
SearchSlideshowsResponse |
searchSlideshows(String q,
int page,
int itemsPerPage,
SearchOptions.Language lang,
SearchOptions.Sort sort,
SearchOptions.UploadDate uploadDate,
SearchOptions.SearchType what,
boolean isDownloadable,
SearchOptions.FileFormat fileFormat,
SearchOptions.FileType fileType,
boolean isCC,
boolean isCCAdapt,
boolean isCCCommercial,
boolean detailed,
boolean transcript)
Returns slideshows according to the search criteria
|
String |
uploadSlideshowFromContent(String username,
String password,
byte[] slideshowContent,
String filename,
String title,
String description,
Collection<String> tags,
boolean makeSrcPublic,
Boolean makeSlideshowPrivate,
Boolean generateSecretUrl,
Boolean allowEmbeds,
Boolean shareWithContacts)
Create a new slideshow from its content.
|
String |
uploadSlideshowFromContent(String username,
String password,
String slideshowContent,
String filename,
String title,
String description,
Collection<String> tags,
boolean makeSrcPublic,
Boolean makeSlideshowPrivate,
Boolean generateSecretUrl,
Boolean allowEmbeds,
Boolean shareWithContacts)
Create a new slideshow from its content.
|
String |
uploadSlideshowFromContent(String username,
String password,
String slideshowContent,
String filename,
String title,
String description,
Collection<String> tags,
boolean makeSrcPublic,
PrivacySetting privacySetting)
Create a new slideshow from its content with
PrivacySetting. |
String |
uploadSlideshowFromFile(String username,
String password,
File slideshowFile,
String title,
String description)
Create a new slideshow from local file.
|
String |
uploadSlideshowFromFile(String username,
String password,
File slideshowFile,
String title,
String description,
Collection<String> tags,
boolean makeSrcPublic,
Boolean makeSlideshowPrivate,
Boolean generateSecretUrl,
Boolean allowEmbeds,
Boolean shareWithContacts)
Create a new slideshow from local file.
|
String |
uploadSlideshowFromFile(String username,
String password,
File slideshowFile,
String title,
String description,
Collection<String> tags,
boolean makeSrcPublic,
PrivacySetting privacySetting)
Create a new slideshow from local file with
PrivacySetting. |
String |
uploadSlideshowFromFile(String username,
String password,
String slideshowFilePath,
String title,
String description,
Collection<String> tags,
boolean makeSrcPublic,
Boolean makeSlideshowPrivate,
Boolean generateSecretUrl,
Boolean allowEmbeds,
Boolean shareWithContacts)
Create a new slideshow from local file path.
|
String |
uploadSlideshowFromUrl(String username,
String password,
String uploadUrl,
String title,
String description,
Collection<String> tags,
Boolean makeSrcPublic)
Create a new slideshow from url.
|
String |
uploadSlideshowFromUrl(String username,
String password,
String uploadUrl,
String title,
String description,
Collection<String> tags,
Boolean makeSrcPublic,
Boolean makeSlideshowPrivate,
Boolean generateSecretUrl,
Boolean allowEmbeds,
Boolean shareWithContacts)
Create a new slideshow from url.
|
String |
uploadSlideshowFromUrl(String username,
String password,
String uploadUrl,
String title,
String description,
Collection<String> tags,
Boolean makeSrcPublic,
PrivacySetting privacySetting)
Create a new slideshow from url with
PrivacySetting. |
String |
uploadSlideshowResource(String username,
String password,
org.springframework.core.io.Resource slideshowResource,
String title,
String description,
Collection<String> tags,
boolean makeSrcPublic,
Boolean makeSlideshowPrivate,
Boolean generateSecretUrl,
Boolean allowEmbeds,
Boolean shareWithContacts)
Create a new slideshow from
Resource. |
Slideshow getSlideshowById(String slideshowId)
slideshowId - slideshow idSlideshow getSlideshowById(String slideshowId, String username, String password)
slideshowId - slideshow idusername - username of the requesting userpassword - password of the requesting userSlideshow getSlideshowById(String slideshowId, String username, String password, boolean excludeTags, boolean detailed, boolean transcript)
slideshowId - slideshow idusername - username of the requesting userpassword - password of the requesting userexcludeTags - exclude tags if set to truedetailed - get detailed info if set to truetranscript - get transcript if set to trueSlideshow getSlideshowByUrl(String slideshowUrl)
slideshowUrl - URL of the slideshow to be fetchedSlideshow getSlideshowByUrl(String slideshowUrl, String username, String password)
slideshowUrl - URL of the slideshow to be fetchedusername - username of the requesting userpassword - password of the requesting userSlideshow getSlideshowByUrl(String slideshowUrl, String username, String password, boolean excludeTags, boolean detailed, boolean transcript)
slideshowUrl - URL of the slideshow to be fetchedusername - username of the requesting userpassword - password of the requesting userexcludeTags - exclude tags if set to truedetailed - get detailed info if set to truetranscript - get transcript if set to trueSlideshow getSlideshow(String slideshowId, String slideshowUrl)
slideshowId - slideshow idslideshowUrl - URL of the slideshow to be fetchedSlideshow getSlideshow(String slideshowId, String slideshowUrl, String username, String password)
slideshowId - slideshow idslideshowUrl - URL of the slideshow to be fetchedusername - username of the requesting userpassword - password of the requesting userSlideshow getSlideshow(String slideshowId, String slideshowUrl, String username, String password, boolean excludeTags, boolean detailed, boolean transcript)
slideshowId - slideshow idslideshowUrl - URL of the slideshow to be fetchedusername - username of the requesting userpassword - password of the requesting userexcludeTags - exclude tags if set to truedetailed - get detailed info if set to truetranscript - get transcript if set to trueGetSlideshowsResponse getSlideshowsByTag(String tag, int limit)
tag - a tag namelimit - number of items to returnGetSlideshowsResponse getSlideshowsByTag(String tag, int limit, int offset, boolean detailed)
tag - a tag namelimit - number of items to returnoffset - offsetdetailed - get detailed info if set to trueGetSlideshowsResponse getSlideshowsByGroup(String groupName, int limit)
groupName - a gropu namelimit - number of items to returnGetSlideshowsResponse getSlideshowsByGroup(String groupName, int limit, int offset, boolean detailed)
groupName - a group namelimit - number of items to returnoffset - offsetdetailed - get detailed info if set to trueGetSlideshowsResponse getSlideshowsByUser(String usernameFor, int limit)
usernameFor - username of owner of slideshowslimit - number of items to returnGetSlideshowsResponse getSlideshowsByUser(String usernameFor, String username, String password, int limit)
usernameFor - username of owner of slideshowsusername - username of the requesting userpassword - password of the requesting userlimit - number of items to returnGetSlideshowsResponse getSlideshowsByUser(String usernameFor, String username, String password, int limit, int offset, boolean detailed, boolean getUnconverted)
usernameFor - username of owner of slideshowsusername - username of the requesting userpassword - password of the requesting userlimit - number of items to returnoffset - offsetdetailed - get detailed info if set to truegetUnconverted - include unconverted slideshows if set to trueSearchSlideshowsResponse searchSlideshows(String q)
q - search keywordSearchSlideshowsResponse searchSlideshows(String q, int page)
q - search keywordpage - page number of the resultsSearchSlideshowsResponse searchSlideshows(String q, int page, int itemsPerPage)
q - search keywordpage - page number of the resultsitemsPerPage - number of results to return per page,SearchSlideshowsResponse searchSlideshows(String q, int page, int itemsPerPage, SearchOptions.Language lang, SearchOptions.Sort sort, SearchOptions.UploadDate uploadDate, SearchOptions.SearchType what, boolean isDownloadable, SearchOptions.FileFormat fileFormat, SearchOptions.FileType fileType, boolean isCC, boolean isCCAdapt, boolean isCCCommercial, boolean detailed, boolean transcript)
q - search keywordpage - page number of the resultsitemsPerPage - number of results to return per page,lang - language of slideshows (default is English, 'en')sort - sort order (default is relevance)uploadDate - time period you want to restrict your search to (default is 'any')what - what type of search (default is text search)isDownloadable - slideshows that are available to download (default is 'all')fileFormat - file format to search for (default is 'all')fileType - file type to search for (default is 'all')isCC - retrieve results under the Creative Commons license if set to true (default is false)isCCAdapt - retrieve results under the Creative Commons that allow adaption, modification if set to
true (default is false)isCCCommercial - retrieve results under the Commercial Creative Commons license (default is false)detailed - get detailed info if set to true (default is false)transcript - get transcript if set to true (default is false)String editSlideshow(String username, String password, String slideshowId, String slideshowTitle, String slideshowDescription, Collection<String> slideshowTags, PrivacySetting privacySetting)
PrivacySetting.username - username of the requesting userpassword - password of the requesting userslideshowId - slideshow idslideshowTitle - slidesow titleslideshowDescription - slideshow descriptionslideshowTags - slideshow tags (comma separated list of tags)privacySetting - privacy setting object (can be null)String editSlideshow(String username, String password, String slideshowId, String slideshowTitle, String slideshowDescription, Collection<String> slideshowTags, Boolean makeSlideshowPrivate, Boolean generateSecretUrl, Boolean allowEmbeds, Boolean shareWithContacts)
username - username of the requesting userpassword - password of the requesting userslideshowId - slideshow idslideshowTitle - slidesow titleslideshowDescription - slideshow descriptionslideshowTags - slideshow tags (comma separated list of tags)makeSlideshowPrivate - make slideshow private if set to true. If false is set, slideshow becomes public.
(can be null)generateSecretUrl - generate a secret URL for the slideshow if set to true.
'makeSlideshowPrivate' needs to be true. (can be null)allowEmbeds - allow web site to embed the slideshow if set to true
'makeSlideshowPrivate' needs to be true. (can be null)shareWithContacts - allow contacts can be viewed on slideshow if set to true
'makeSlideshowPrivate' needs to be true. (can be null)String deleteSlideshow(String username, String password, String slideshowId)
username - username of the requesting userpassword - password of the requesting userslideshowId - slideshow id to deleteString uploadSlideshowFromUrl(String username, String password, String uploadUrl, String title, String description, Collection<String> tags, Boolean makeSrcPublic)
username - username of the requesting userpassword - password of the requesting useruploadUrl - url pointing to the presentation filetitle - slideshow titledescription - slideshow descriptiontags - slideshow tagsmakeSrcPublic - allow user to download uploaded file if set to true. (default is true) (can be null)String uploadSlideshowFromUrl(String username, String password, String uploadUrl, String title, String description, Collection<String> tags, Boolean makeSrcPublic, PrivacySetting privacySetting)
PrivacySetting.
This method requires extra permissions on your slideshare account.username - username of the requesting userpassword - password of the requesting useruploadUrl - url pointing to the presentation filetitle - slideshow titledescription - slideshow descriptiontags - slideshow tagsmakeSrcPublic - allow user to download uploaded file if set to true. (default is true) (can be null)privacySetting - privacy setting object (can be null)String uploadSlideshowFromUrl(String username, String password, String uploadUrl, String title, String description, Collection<String> tags, Boolean makeSrcPublic, Boolean makeSlideshowPrivate, Boolean generateSecretUrl, Boolean allowEmbeds, Boolean shareWithContacts)
username - username of the requesting userpassword - password of the requesting useruploadUrl - url pointing to the presentation filetitle - slideshow titledescription - slideshow descriptiontags - slideshow tagsmakeSrcPublic - allow user to download uploaded file if set to true. (default is true) (can be null)makeSlideshowPrivate - make slideshow private if set to true. If false is set, slideshow becomes public.
(can be null)generateSecretUrl - generate a secret URL for the slideshow if set to true.
'makeSlideshowPrivate' needs to be true. (can be null)allowEmbeds - allow web site to embed the slideshow if set to true
'makeSlideshowPrivate' needs to be true. (can be null)shareWithContacts - allow contacts can be viewed on slideshow if set to true
'makeSlideshowPrivate' needs to be true. (can be null)String uploadSlideshowFromFile(String username, String password, File slideshowFile, String title, String description)
username - username of the requesting userpassword - password of the requesting userslideshowFile - local presentation filetitle - slideshow titledescription - slideshow descriptionString uploadSlideshowFromFile(String username, String password, File slideshowFile, String title, String description, Collection<String> tags, boolean makeSrcPublic, PrivacySetting privacySetting)
PrivacySetting.
This method requires extra permissions on your slideshare account.username - username of the requesting userpassword - password of the requesting userslideshowFile - local presentation filetitle - slideshow titledescription - slideshow descriptiontags - slideshow tagsmakeSrcPublic - allow user to download uploaded file if set to true. (default is true) (can be null)privacySetting - privacy setting object (can be null)String uploadSlideshowFromFile(String username, String password, File slideshowFile, String title, String description, Collection<String> tags, boolean makeSrcPublic, Boolean makeSlideshowPrivate, Boolean generateSecretUrl, Boolean allowEmbeds, Boolean shareWithContacts)
username - username of the requesting userpassword - password of the requesting userslideshowFile - local presentation filetitle - slideshow titledescription - slideshow descriptiontags - slideshow tagsmakeSrcPublic - allow user to download uploaded file if set to true. (default is true) (can be null)makeSlideshowPrivate - make slideshow private if set to true. If false is set, slideshow becomes public.
(can be null)generateSecretUrl - generate a secret URL for the slideshow if set to true.
'makeSlideshowPrivate' needs to be true. (can be null)allowEmbeds - allow web site to embed the slideshow if set to true
'makeSlideshowPrivate' needs to be true. (can be null)shareWithContacts - allow contacts can be viewed on slideshow if set to true
'makeSlideshowPrivate' needs to be true. (can be null)String uploadSlideshowFromFile(String username, String password, String slideshowFilePath, String title, String description, Collection<String> tags, boolean makeSrcPublic, Boolean makeSlideshowPrivate, Boolean generateSecretUrl, Boolean allowEmbeds, Boolean shareWithContacts)
username - username of the requesting userpassword - password of the requesting userslideshowFilePath - path to the local presentation filetitle - slideshow titledescription - slideshow descriptiontags - slideshow tagsmakeSrcPublic - allow user to download uploaded file if set to true. (default is true) (can be null)makeSlideshowPrivate - make slideshow private if set to true. If false is set, slideshow becomes public.
(can be null)generateSecretUrl - generate a secret URL for the slideshow if set to true.
'makeSlideshowPrivate' needs to be true. (can be null)allowEmbeds - allow web site to embed the slideshow if set to true
'makeSlideshowPrivate' needs to be true. (can be null)shareWithContacts - allow contacts can be viewed on slideshow if set to true
'makeSlideshowPrivate' needs to be true. (can be null)String uploadSlideshowFromContent(String username, String password, String slideshowContent, String filename, String title, String description, Collection<String> tags, boolean makeSrcPublic, PrivacySetting privacySetting)
PrivacySetting.username - username of the requesting userpassword - password of the requesting userslideshowContent - slideshow contentfilename - filename (used to detect file type from extension)title - slideshow titledescription - slideshow descriptiontags - slideshow tagsmakeSrcPublic - allow user to download uploaded file if set to true. (default is true) (can be null)privacySetting - privacy setting object (can be null)String uploadSlideshowFromContent(String username, String password, byte[] slideshowContent, String filename, String title, String description, Collection<String> tags, boolean makeSrcPublic, Boolean makeSlideshowPrivate, Boolean generateSecretUrl, Boolean allowEmbeds, Boolean shareWithContacts)
username - username of the requesting userpassword - password of the requesting userslideshowContent - slideshow contentfilename - filename (used to detect file type from extension)title - slideshow titledescription - slideshow descriptiontags - slideshow tagsmakeSrcPublic - allow user to download uploaded file if set to true. (default is true) (can be null)makeSlideshowPrivate - make slideshow private if set to true. If false is set, slideshow becomes public.
(can be null)generateSecretUrl - generate a secret URL for the slideshow if set to true.
'makeSlideshowPrivate' needs to be true. (can be null)allowEmbeds - allow web site to embed the slideshow if set to true
'makeSlideshowPrivate' needs to be true. (can be null)shareWithContacts - allow contacts can be viewed on slideshow if set to true
'makeSlideshowPrivate' needs to be true. (can be null)String uploadSlideshowFromContent(String username, String password, String slideshowContent, String filename, String title, String description, Collection<String> tags, boolean makeSrcPublic, Boolean makeSlideshowPrivate, Boolean generateSecretUrl, Boolean allowEmbeds, Boolean shareWithContacts)
username - username of the requesting userpassword - password of the requesting userslideshowContent - slideshow contentfilename - filename (used to detect file type from extension)title - slideshow titledescription - slideshow descriptiontags - slideshow tagsmakeSrcPublic - allow user to download uploaded file if set to true. (default is true) (can be null)makeSlideshowPrivate - make slideshow private if set to true. If false is set, slideshow becomes public.
(can be null)generateSecretUrl - generate a secret URL for the slideshow if set to true.
'makeSlideshowPrivate' needs to be true. (can be null)allowEmbeds - allow web site to embed the slideshow if set to true
'makeSlideshowPrivate' needs to be true. (can be null)shareWithContacts - allow contacts can be viewed on slideshow if set to true
'makeSlideshowPrivate' needs to be true. (can be null)String uploadSlideshowResource(String username, String password, org.springframework.core.io.Resource slideshowResource, String title, String description, Collection<String> tags, boolean makeSrcPublic, Boolean makeSlideshowPrivate, Boolean generateSecretUrl, Boolean allowEmbeds, Boolean shareWithContacts)
Resource.username - username of the requesting userpassword - password of the requesting userslideshowResource - slideshow resourcetitle - slideshow titledescription - slideshow descriptiontags - slideshow tagsmakeSrcPublic - allow user to download uploaded file if set to true. (default is true) (can be null)makeSlideshowPrivate - make slideshow private if set to true. If false is set, slideshow becomes public.
(can be null)generateSecretUrl - generate a secret URL for the slideshow if set to true.
'makeSlideshowPrivate' needs to be true. (can be null)allowEmbeds - allow web site to embed the slideshow if set to true
'makeSlideshowPrivate' needs to be true. (can be null)shareWithContacts - allow contacts can be viewed on slideshow if set to true
'makeSlideshowPrivate' needs to be true. (can be null)Copyright © 2015. All rights reserved.