public abstract class GeolocationEndpoint extends SecuredEndpoint
SecuredEndpoint.SecuredType| Modifier and Type | Field and Description |
|---|---|
protected AccountsDao |
accountsDao |
protected org.apache.commons.configuration.Configuration |
configuration |
protected javax.servlet.ServletContext |
context |
protected GeolocationDao |
dao |
protected com.google.gson.Gson |
gson |
protected com.thoughtworks.xstream.XStream |
xstream |
extensions, identityContext, userIdentityContextbaseRecordingsPath| Constructor and Description |
|---|
GeolocationEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.ws.rs.core.Response |
deleteGeolocation(String accountSid,
String sid) |
protected javax.ws.rs.core.Response |
getGeolocation(String accountSid,
String sid,
javax.ws.rs.core.MediaType responseType) |
protected javax.ws.rs.core.Response |
getGeolocations(String accountSid,
javax.ws.rs.core.MediaType responseType) |
void |
init() |
javax.ws.rs.core.Response |
putGeolocation(String accountSid,
javax.ws.rs.core.MultivaluedMap<String,String> data,
Geolocation.GeolocationType geolocationType,
javax.ws.rs.core.MediaType responseType) |
protected javax.ws.rs.core.Response |
updateGeolocation(String accountSid,
String sid,
javax.ws.rs.core.MultivaluedMap<String,String> data,
javax.ws.rs.core.MediaType responseType) |
allowOnlySuperAdmin, checkAuthenticatedAccount, checkPermission, executePostApiAction, executePreApiAction, getAdministratorRole, hasAccountRole, init, isSecuredByPermission, isSuperAdmin, secure, secure, securegetApiVersion, getBigInteger, getBoolean, getDateTime, getHasVoiceCallerIdLookup, getInteger, getLong, getMethod, getPhoneNumber, getSid, getUrl, isEmpty@Context protected javax.servlet.ServletContext context
protected org.apache.commons.configuration.Configuration configuration
protected GeolocationDao dao
protected com.google.gson.Gson gson
protected com.thoughtworks.xstream.XStream xstream
protected AccountsDao accountsDao
@PostConstruct public void init()
protected javax.ws.rs.core.Response getGeolocation(String accountSid, String sid, javax.ws.rs.core.MediaType responseType)
protected javax.ws.rs.core.Response getGeolocations(String accountSid, javax.ws.rs.core.MediaType responseType)
protected javax.ws.rs.core.Response deleteGeolocation(String accountSid, String sid)
public javax.ws.rs.core.Response putGeolocation(String accountSid, javax.ws.rs.core.MultivaluedMap<String,String> data, Geolocation.GeolocationType geolocationType, javax.ws.rs.core.MediaType responseType)
Copyright © 2017. All Rights Reserved.