public class ExternalApplicationAdapter extends Object implements JsonAdapter<ExternalApplication>
| Constructor and Description |
|---|
ExternalApplicationAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected ExternalApplication |
create(com.google.gson.JsonElement json) |
ExternalApplication |
create(com.google.gson.JsonElement json,
JsonBuilder ctx) |
protected String |
getDefaultValue(com.google.gson.JsonObject obj,
String property,
String defaultValue) |
protected String |
getRedirectUrl(com.google.gson.JsonObject jObj) |
protected String |
getRequiredValue(com.google.gson.JsonObject obj,
String property) |
protected boolean |
isManager(User user) |
ExternalApplication |
update(com.google.gson.JsonElement json,
ExternalApplication app,
JsonBuilder ctx) |
com.google.gson.JsonElement |
view(ExternalApplication obj,
JsonBuilder ctx) |
protected boolean isManager(User user)
protected ExternalApplication create(com.google.gson.JsonElement json)
public ExternalApplication create(com.google.gson.JsonElement json, JsonBuilder ctx)
create in interface JsonCreator<ExternalApplication>protected String getRedirectUrl(com.google.gson.JsonObject jObj)
public ExternalApplication update(com.google.gson.JsonElement json, ExternalApplication app, JsonBuilder ctx)
update in interface JsonUpdater<ExternalApplication>public com.google.gson.JsonElement view(ExternalApplication obj, JsonBuilder ctx)
view in interface JsonViewer<ExternalApplication>Copyright © 2018 FenixEdu. All rights reserved.