|
||||||||||
| 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.ReSort
com.kallasoft.smugmug.api.json.v1_2_1.albums.ReSort
public class ReSort
This class is a convenience class extending the base
ReSort implementation.
ReSort| Nested Class Summary | |
|---|---|
class |
ReSort.ReSortResponse
This class is a convenience class extending the base ReSort.ReSortResponse
implementation. |
| Field Summary |
|---|
| Fields inherited from class com.kallasoft.smugmug.api.json.v1_2_0.albums.ReSort |
|---|
ARGUMENTS, BY_CAPTION, BY_DATE_TIME, BY_FILE_NAME, DIRECTION_ASCENDING, DIRECTION_DESCENDING, METHOD_NAME |
| Constructor Summary | |
|---|---|
ReSort()
Construct a new method instance that can be executed. |
|
ReSort(String methodName,
String[] arguments)
Construct a new method instance that can be executed with the given arguments. |
|
| Method Summary | |
|---|---|
ReSort.ReSortResponse |
execute(String url,
String[] argumentValues)
Used to execute the smugmug.albums.reSort method, returning confirmation that the sort has been executed. |
ReSort.ReSortResponse |
execute(String url,
String apiKey,
String sessionID,
Integer albumID,
String by,
String direction)
Convenience method used to execute the smugmug.albums.reSort method, returning confirmation that the sort has been executed. |
| 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 ReSort()
public ReSort(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 ReSort.ReSortResponse execute(String url,
String[] argumentValues)
ReSort
execute in interface Methodexecute in class ReSorturl - The URL of the SmugMug server to communicate with.argumentValues - The argument values to pass to this method.
public ReSort.ReSortResponse execute(String url,
String apiKey,
String sessionID,
Integer albumID,
String by,
String direction)
ReSort
This method performs necessary conversions on all the argument values
before calling ReSort.execute(String, String[]).
execute in class ReSorturl - 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 sort.by - The method to sort the album by. See BY_XXX constants defined
in this class.direction - The direction to sort of the album by. See DIRECTION_XXX
constants defined in this class.
ReSort.execute(String, String[])
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||