public class CmsClientAliasImportResult
extends java.lang.Object
| 构造器和说明 |
|---|
CmsClientAliasImportResult(java.lang.String line,
CmsAliasImportStatus status,
java.lang.String message)
Creates a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getLine()
Gets the CSV line containing the alias.
|
java.lang.String |
getMessage()
Gets the import message.
|
CmsAliasImportStatus |
getStatus()
Gets the import status.
|
protected static java.lang.String |
getString(com.google.gwt.json.client.JSONObject json,
java.lang.String key)
Helper method to get a string value from a JSON object.
|
static CmsClientAliasImportResult |
parse(com.google.gwt.json.client.JSONObject json)
Parses an alias import result from a JSON object.
|
static java.util.List<CmsClientAliasImportResult> |
parseArray(com.google.gwt.json.client.JSONArray array)
Extracts alias import results from a JSON array.
|
public CmsClientAliasImportResult(java.lang.String line,
CmsAliasImportStatus status,
java.lang.String message)
line - the CSV line containing the aliasstatus - the import statusmessage - the import messagepublic static CmsClientAliasImportResult parse(com.google.gwt.json.client.JSONObject json)
json - the JSON object containing the alias import result datapublic static java.util.List<CmsClientAliasImportResult> parseArray(com.google.gwt.json.client.JSONArray array)
array - the JSON arrayprotected static java.lang.String getString(com.google.gwt.json.client.JSONObject json,
java.lang.String key)
json - the JSON objectkey - the key whose value should be extracted as a stringpublic java.lang.String getLine()
public java.lang.String getMessage()
public CmsAliasImportStatus getStatus()