public class SlideShareApiImpl extends Object implements SlideShareApi
Modifier and Type | Field and Description |
---|---|
protected com.benfante.jslideshare.SlideShareConnector |
connector |
static String |
URL_DELETE_SLIDESHOW |
static String |
URL_GET_SLIDESHOW |
static String |
URL_GET_SLIDESHOW_BY_GROUP |
static String |
URL_GET_SLIDESHOW_BY_TAG |
static String |
URL_GET_SLIDESHOW_BY_USER |
static String |
URL_GET_SLIDESHOW_INFO |
static String |
URL_UPLOAD_SLIDESHOW |
Constructor and Description |
---|
SlideShareApiImpl() |
SlideShareApiImpl(com.benfante.jslideshare.SlideShareConnector connector) |
Modifier and Type | Method and Description |
---|---|
String |
deleteSlideshow(String username,
String password,
String id) |
com.benfante.jslideshare.SlideShareConnector |
getConnector() |
com.benfante.jslideshare.messages.Slideshow |
getSlideshow(String id) |
com.benfante.jslideshare.messages.Group |
getSlideshowByGroup(String groupName) |
com.benfante.jslideshare.messages.Group |
getSlideshowByGroup(String groupName,
int offset,
int limit) |
com.benfante.jslideshare.messages.Tag |
getSlideshowByTag(String tag) |
com.benfante.jslideshare.messages.Tag |
getSlideshowByTag(String tag,
int offset,
int limit) |
com.benfante.jslideshare.messages.User |
getSlideshowByUser(String username) |
com.benfante.jslideshare.messages.User |
getSlideshowByUser(String username,
int offset,
int limit) |
com.benfante.jslideshare.messages.SlideshowInfo |
getSlideshowInfo(String id,
String url) |
void |
setApiUrls(Map<String,String> urls) |
void |
setConnector(com.benfante.jslideshare.SlideShareConnector connector) |
void |
setPassword(String password) |
void |
setUsername(String username) |
String |
uploadSlideshow(String username,
String password,
String title,
File src,
String description,
String tags,
boolean makeSrcPublic,
boolean makeSlideshowPrivate,
boolean generateSecretUrl,
boolean allowEmbeds,
boolean shareWithContacts) |
public static final String URL_GET_SLIDESHOW
public static final String URL_GET_SLIDESHOW_INFO
public static final String URL_GET_SLIDESHOW_BY_USER
public static final String URL_GET_SLIDESHOW_BY_TAG
public static final String URL_GET_SLIDESHOW_BY_GROUP
public static final String URL_UPLOAD_SLIDESHOW
public static final String URL_DELETE_SLIDESHOW
protected com.benfante.jslideshare.SlideShareConnector connector
public SlideShareApiImpl()
public SlideShareApiImpl(com.benfante.jslideshare.SlideShareConnector connector)
public com.benfante.jslideshare.SlideShareConnector getConnector()
public void setConnector(com.benfante.jslideshare.SlideShareConnector connector)
public com.benfante.jslideshare.messages.Slideshow getSlideshow(String id) throws com.benfante.jslideshare.SlideShareException, com.benfante.jslideshare.SlideShareErrorException
getSlideshow
in interface com.benfante.jslideshare.SlideShareAPI
com.benfante.jslideshare.SlideShareException
com.benfante.jslideshare.SlideShareErrorException
public com.benfante.jslideshare.messages.SlideshowInfo getSlideshowInfo(String id, String url) throws com.benfante.jslideshare.SlideShareException, com.benfante.jslideshare.SlideShareErrorException
getSlideshowInfo
in interface com.benfante.jslideshare.SlideShareAPI
com.benfante.jslideshare.SlideShareException
com.benfante.jslideshare.SlideShareErrorException
public com.benfante.jslideshare.messages.User getSlideshowByUser(String username) throws com.benfante.jslideshare.SlideShareException, com.benfante.jslideshare.SlideShareErrorException
getSlideshowByUser
in interface com.benfante.jslideshare.SlideShareAPI
com.benfante.jslideshare.SlideShareException
com.benfante.jslideshare.SlideShareErrorException
public com.benfante.jslideshare.messages.User getSlideshowByUser(String username, int offset, int limit) throws com.benfante.jslideshare.SlideShareException, com.benfante.jslideshare.SlideShareErrorException
getSlideshowByUser
in interface com.benfante.jslideshare.SlideShareAPI
com.benfante.jslideshare.SlideShareException
com.benfante.jslideshare.SlideShareErrorException
public com.benfante.jslideshare.messages.Tag getSlideshowByTag(String tag) throws com.benfante.jslideshare.SlideShareException, com.benfante.jslideshare.SlideShareErrorException
getSlideshowByTag
in interface com.benfante.jslideshare.SlideShareAPI
com.benfante.jslideshare.SlideShareException
com.benfante.jslideshare.SlideShareErrorException
public com.benfante.jslideshare.messages.Tag getSlideshowByTag(String tag, int offset, int limit) throws com.benfante.jslideshare.SlideShareException, com.benfante.jslideshare.SlideShareErrorException
getSlideshowByTag
in interface com.benfante.jslideshare.SlideShareAPI
com.benfante.jslideshare.SlideShareException
com.benfante.jslideshare.SlideShareErrorException
public com.benfante.jslideshare.messages.Group getSlideshowByGroup(String groupName) throws com.benfante.jslideshare.SlideShareException, com.benfante.jslideshare.SlideShareErrorException
getSlideshowByGroup
in interface com.benfante.jslideshare.SlideShareAPI
com.benfante.jslideshare.SlideShareException
com.benfante.jslideshare.SlideShareErrorException
public com.benfante.jslideshare.messages.Group getSlideshowByGroup(String groupName, int offset, int limit) throws com.benfante.jslideshare.SlideShareException, com.benfante.jslideshare.SlideShareErrorException
getSlideshowByGroup
in interface com.benfante.jslideshare.SlideShareAPI
com.benfante.jslideshare.SlideShareException
com.benfante.jslideshare.SlideShareErrorException
public String uploadSlideshow(String username, String password, String title, File src, String description, String tags, boolean makeSrcPublic, boolean makeSlideshowPrivate, boolean generateSecretUrl, boolean allowEmbeds, boolean shareWithContacts) throws com.benfante.jslideshare.SlideShareException, com.benfante.jslideshare.SlideShareErrorException
uploadSlideshow
in interface com.benfante.jslideshare.SlideShareAPI
com.benfante.jslideshare.SlideShareException
com.benfante.jslideshare.SlideShareErrorException
public String deleteSlideshow(String username, String password, String id) throws com.benfante.jslideshare.SlideShareException, com.benfante.jslideshare.SlideShareErrorException
deleteSlideshow
in interface SlideShareApi
com.benfante.jslideshare.SlideShareException
com.benfante.jslideshare.SlideShareErrorException
public void setUsername(String username)
public void setPassword(String password)
Copyright © 2005–2017 Alfresco Software. All rights reserved.