|
||||||||||
| 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.subcategories.Rename
public class Rename
This method renames the specified SubCategory with new Name.
| Nested Class Summary | |
|---|---|
class |
Rename.RenameResponse
Class used to represent the response for the smugmug.categories.rename 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 | |
|---|---|
Rename()
Construct a new method instance that can be executed. |
|
Rename(String methodName,
String[] arguments)
Construct a new method instance that can be executed with the given arguments. |
|
| Method Summary | |
|---|---|
Rename.RenameResponse |
execute(String url,
String[] argumentValues)
Used to execute the smugmug.subcategories.rename method, renaming the given subcategory with the given name. |
Rename.RenameResponse |
execute(String url,
String apiKey,
String sessionID,
Integer subCategoryID,
String name)
Convenience method used to execute the smugmug.subcategories.rename method, renaming the given subcategory with the given name. |
| 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", "SubCategoryID", "Name"
| Constructor Detail |
|---|
public Rename()
public Rename(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 Rename.RenameResponse 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 Rename.RenameResponse execute(String url,
String apiKey,
String sessionID,
Integer subCategoryID,
String name)
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.subCategoryID - The ID of the subcategory that will be deleted.name - The new name for the subcategory.
execute(String, String[])
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||