|
||||||||||
| 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.albums.GetStats
com.kallasoft.smugmug.api.json.v1_2_1.albums.GetStats
public class GetStats
This class is a convenience class extending the base
GetStats implementation.
GetStats| Nested Class Summary | |
|---|---|
class |
GetStats.GetStatsResponse
This class is a convenience class extending the base GetStats.GetStatsResponse
implementation. |
| Field Summary |
|---|
| Fields inherited from class com.kallasoft.smugmug.api.json.v1_2_0.albums.GetStats |
|---|
ARGUMENTS, METHOD_NAME |
| Constructor Summary | |
|---|---|
GetStats()
Construct a new method instance that can be executed. |
|
GetStats(String methodName,
String[] arguments)
Construct a new method instance that can be executed with the given arguments. |
|
| Method Summary | |
|---|---|
GetStats.GetStatsResponse |
execute(String url,
String[] argumentValues)
Used to execute the smugmug.albums.getStats method, returning the transfer stats for an album, and if the response is heavy, returning transfer stats for all the images in the album as well. |
GetStats.GetStatsResponse |
execute(String url,
String apiKey,
String sessionID,
Integer albumID,
Integer month,
Integer year)
Convenience method used to execute the smugmug.albums.getStats method. |
GetStats.GetStatsResponse |
execute(String url,
String apiKey,
String sessionID,
Integer albumID,
Integer month,
Integer year,
Boolean heavy)
Convenience method used to execute the smugmug.albums.getStats 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 |
| Constructor Detail |
|---|
public GetStats()
public GetStats(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 GetStats.GetStatsResponse execute(String url,
String[] argumentValues)
GetStats
execute in interface Methodexecute in class GetStatsurl - The URL of the SmugMug server to communicate with.argumentValues - The argument values to pass to this method.
public GetStats.GetStatsResponse execute(String url,
String apiKey,
String sessionID,
Integer albumID,
Integer month,
Integer year)
GetStats
This method performs necessary conversions on all the argument values
before calling GetStats.execute(String, String[]).
execute in class GetStatsurl - 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 to get the transfer stats for.month - The number of the month (1-12) to get the transfer stats for
the given album.year - The year (e.g. 2007) to get the transfer stats for the given
album.
GetStats.execute(String, String[])
public GetStats.GetStatsResponse execute(String url,
String apiKey,
String sessionID,
Integer albumID,
Integer month,
Integer year,
Boolean heavy)
GetStats
This method performs necessary conversions on all the argument values
before calling GetStats.execute(String, String[]).
execute in class GetStatsurl - 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 to get the transfer stats for.month - The number of the month (1-12) to get the transfer stats for
the given album.year - The year (e.g. 2007) to get the transfer stats for the given
album.heavy - Set to true to return heavy results, including
transfer stats for all the images in the album as well,
otherwise set to false.
GetStats.execute(String, String[])
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||