public class ExtensionsConfigurationEndpoint extends SecuredEndpoint
SecuredEndpoint.SecuredType| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.configuration.Configuration |
allConfiguration |
protected org.apache.commons.configuration.Configuration |
configuration |
protected ExtensionsConfigurationDao |
extensionsConfigurationDao |
protected com.google.gson.Gson |
gson |
protected com.thoughtworks.xstream.XStream |
xstream |
accountsDao, context, extensions, identityContext, logger, userIdentityContextbaseRecordingsPath| Constructor and Description |
|---|
ExtensionsConfigurationEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.ws.rs.core.Response |
getConfiguration(String extensionId,
javax.ws.rs.core.MediaType responseType)
Will be used to get configuration for extension
|
protected javax.ws.rs.core.Response |
postConfiguration(javax.ws.rs.core.MultivaluedMap<String,String> data,
javax.ws.rs.core.MediaType responseType) |
protected javax.ws.rs.core.Response |
updateConfiguration(String extensionSid,
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, isEmptyprotected org.apache.commons.configuration.Configuration allConfiguration
protected org.apache.commons.configuration.Configuration configuration
protected com.google.gson.Gson gson
protected com.thoughtworks.xstream.XStream xstream
protected ExtensionsConfigurationDao extensionsConfigurationDao
protected javax.ws.rs.core.Response getConfiguration(String extensionId, javax.ws.rs.core.MediaType responseType)
extensionId - responseType - protected javax.ws.rs.core.Response postConfiguration(javax.ws.rs.core.MultivaluedMap<String,String> data, javax.ws.rs.core.MediaType responseType)
Copyright © 2017. All Rights Reserved.