|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kallasoft.smugmug.api.json.AbstractMethod
com.kallasoft.smugmug.api.json.v1_2_0.images.Get
public class Get
This method will fetch all the ImageIDs for the album specified by AlbumID.
The album must be owned by the session holder, or else be public (if password-protected, a password must be provided) to return results, otherwise an "invalid user" faultCode will result.
| Nested Class Summary | |
|---|---|
class |
Get.GetResponse
Class used to represent the response for the smugmug.images.get method call. |
| Field Summary | |
|---|---|
static String[] |
ARGUMENTS
Defines all the arguments this method takes. |
static String |
METHOD_NAME
Defines the SmugMug JSON API method name that will be called. |
| Constructor Summary | |
|---|---|
Get()
Construct a new method instance that can be executed. |
|
Get(String methodName,
String[] arguments)
Construct a new method instance that can be executed with the given arguments. |
|
| Method Summary | |
|---|---|
Get.GetResponse |
execute(String url,
String[] argumentValues)
Used to execute the smugmug.images.get method, returning a list of image IDs for the given album. |
Get.GetResponse |
execute(String url,
String apiKey,
String sessionID,
Integer albumID,
String albumKey)
Convenience method used to execute the smugmug.images.get method. |
Get.GetResponse |
execute(String url,
String apiKey,
String sessionID,
Integer albumID,
String albumKey,
Boolean heavy)
Convenience method used to execute the smugmug.images.get method. |
Get.GetResponse |
execute(String url,
String apiKey,
String sessionID,
Integer albumID,
String albumKey,
Boolean heavy,
String password,
String sitePassword)
Convenience method used to execute the smugmug.images.get method. |
| Methods inherited from class com.kallasoft.smugmug.api.json.AbstractMethod |
|---|
executeImpl, getArguments, getMethodName, setupPostParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String METHOD_NAME
public static final String[] ARGUMENTS
Values are: "APIKey", "SessionID", "AlbumID", "AlbumKey", "Heavy", "Password", "SitePassword"
| Constructor Detail |
|---|
public Get()
public Get(String methodName,
String[] arguments)
methodName - The name of the SmugMug JSON API method that this
Method represents.arguments - The names of the arguments that this method accepts.| Method Detail |
|---|
public Get.GetResponse execute(String url,
String[] argumentValues)
url - The URL of the SmugMug server to communicate with.argumentValues - The argument values to pass to this method.
public Get.GetResponse execute(String url,
String apiKey,
String sessionID,
Integer albumID,
String albumKey)
This method performs necessary conversions on all the argument values
before calling execute(String, String[]).
url - The URL of the SmugMug server to communicate with.apiKey - The API Key to use. API keys are issued by SmugMug.sessionID - The logged in SessionID that represents the user's session.albumID - The ID of the album whose image IDs will be returned.albumKey - The security key for the album.
execute(String, String[])
public Get.GetResponse execute(String url,
String apiKey,
String sessionID,
Integer albumID,
String albumKey,
Boolean heavy)
This method performs necessary conversions on all the argument values
before calling execute(String, String[]).
url - The URL of the SmugMug server to communicate with.apiKey - The API Key to use. API keys are issued by SmugMug.sessionID - The logged in SessionID that represents the user's session.albumID - The ID of the album whose image IDs will be returned.albumKey - The security key for the album.heavy - A boolean argument (0 or 1) indicating if you would like
heavy results returned. Heavy results include much
more detail about each image and take longer to process when
requested.
execute(String, String[])
public Get.GetResponse execute(String url,
String apiKey,
String sessionID,
Integer albumID,
String albumKey,
Boolean heavy,
String password,
String sitePassword)
This method performs necessary conversions on all the argument values
before calling execute(String, String[]).
url - The URL of the SmugMug server to communicate with.apiKey - The API Key to use. API keys are issued by SmugMug.sessionID - The logged in SessionID that represents the user's session.albumID - The ID of the album whose image IDs will be returned.albumKey - The security key for the album.heavy - A boolean argument (0 or 1) indicating if you would like
heavy results returned. Heavy results include much
more detail about each image and take longer to process when
requested.password - A password for the album if it is password protected.sitePassword - A site password for the SmugMug site if it is password
protected.
execute(String, String[])
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||