|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.shephertz.app42.paas.sdk.jme.gallery.AlbumService
public class AlbumService
Create Photo Gallery on the cloud. This service allows to manage i.e. create, retrieve and remove albums on the cloud. Its useful for Mobile/Device App and Web App developer who want Photo Gallery functionality. It gives them a complete Photo Gallery out of the box and reduces the footprint on the device. Developers can focus on how the Photo Gallery will be rendered and this Cloud API will manage the Gallery on the cloud thereby reducing development time.
Album
,
Album.Photo
Constructor Summary | |
---|---|
AlbumService(java.lang.String apiKey,
java.lang.String secretKey,
java.lang.String baseURL)
The costructor for the Service |
Method Summary | |
---|---|
Album |
createAlbum(java.lang.String userName,
java.lang.String albumName,
java.lang.String albumDescription)
Creates Album on the cloud |
Album |
getAlbumByName(java.lang.String userName,
java.lang.String albumName)
Fetch all Albums based on userName and albumName |
java.util.Vector |
getAlbums(java.lang.String userName)
Fetches all the Albums based on the userName |
java.util.Vector |
getAlbums(java.lang.String userName,
java.lang.Integer max,
java.lang.Integer offset)
Fetches all the Albums based on the userName by Paging. |
App42Response |
getAlbumsCount(java.lang.String userName)
Fetches the count of all the Albums based on the userName |
App42Response |
removeAlbum(java.lang.String userName,
java.lang.String albumName)
Removes a particular album based on the userName and albumName. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlbumService(java.lang.String apiKey, java.lang.String secretKey, java.lang.String baseURL)
apiKey
- secretKey
- baseURL
- Method Detail |
---|
public Album createAlbum(java.lang.String userName, java.lang.String albumName, java.lang.String albumDescription) throws App42Exception
userName
- - The user to which the album belongsalbumName
- - Name of the album to be created on the cloudalbumDescription
- - Description of the album to be created
App42Exception
public Album getAlbumByName(java.lang.String userName, java.lang.String albumName) throws App42Exception
userName
- - The user for which the album has to be fetchedalbumName
- - Name of the album that has to be fetched
App42Exception
public java.util.Vector getAlbums(java.lang.String userName) throws App42Exception
userName
- - The user for which the albums have to be fetched
App42Exception
public java.util.Vector getAlbums(java.lang.String userName, java.lang.Integer max, java.lang.Integer offset) throws App42Exception
userName
- - The user for which the albums have to be fetchedmax
- - Maximum number of records to be fetchedoffset
- - From where the records are to be fetched
App42Exception
public App42Response getAlbumsCount(java.lang.String userName) throws App42Exception
userName
- - The user for which the count of albums have to be fetched
App42Exception
public App42Response removeAlbum(java.lang.String userName, java.lang.String albumName) throws App42Exception
userName
- - The user for which the album has to be removedalbumName
- - Name of the album that has to be removed
App42Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |