A B C D E F G H I J K L M N O P Q R S T V W X 

A

AbstractFactory - Class in org.restsql.core
Base class for generic factories.
AbstractFactory() - Constructor for class org.restsql.core.AbstractFactory
 
AbstractFactory.FactoryHelper - Class in org.restsql.core
Helps lookup implementation configuration, load the class and construct an instance.
AbstractFactory.FactoryHelper(String, String) - Constructor for class org.restsql.core.AbstractFactory.FactoryHelper
 
AbstractSqlResourceMetaData - Class in org.restsql.core.impl
Represents meta data for sql resource.
AbstractSqlResourceMetaData() - Constructor for class org.restsql.core.impl.AbstractSqlResourceMetaData
 
AbstractTrigger - Class in org.restsql.core
Contains no-op implementation of Trigger interface.
AbstractTrigger() - Constructor for class org.restsql.core.AbstractTrigger
 
addColumn(ColumnMetaData) - Method in class org.restsql.core.impl.TableMetaDataImpl
 
addPrimaryKey(ColumnMetaData) - Method in class org.restsql.core.impl.TableMetaDataImpl
 
addSql(String) - Method in class org.restsql.core.impl.RequestLoggerImpl
Adds a SQL statement generated during request processing.
addSql(String) - Method in interface org.restsql.core.RequestLogger
Adds a SQL statement generated during request processing.
afterDelete(Request) - Method in class org.restsql.core.AbstractTrigger
 
afterDelete(Request) - Method in interface org.restsql.core.Trigger
 
afterInsert(Request) - Method in class org.restsql.core.AbstractTrigger
 
afterInsert(Request) - Method in interface org.restsql.core.Trigger
 
afterSelect(Request) - Method in class org.restsql.core.AbstractTrigger
 
afterSelect(Request) - Method in interface org.restsql.core.Trigger
 
afterUpdate(Request) - Method in class org.restsql.core.AbstractTrigger
 
afterUpdate(Request) - Method in interface org.restsql.core.Trigger
 
appendClauseToMain() - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
Authorizer - Interface in org.restsql.security
Authorizes restSQL requests.
AuthorizerImpl - Class in org.restsql.security.impl
Authorizes restSQL requests using privileges properties file, which maps roles to request types on SQL Resources.
AuthorizerImpl() - Constructor for class org.restsql.security.impl.AuthorizerImpl
For use by the Factory.

B

beforeDelete(Request) - Method in class org.restsql.core.AbstractTrigger
 
beforeDelete(Request) - Method in interface org.restsql.core.Trigger
 
beforeInsert(Request) - Method in class org.restsql.core.AbstractTrigger
 
beforeInsert(Request) - Method in interface org.restsql.core.Trigger
 
beforeSelect(Request) - Method in class org.restsql.core.AbstractTrigger
 
beforeSelect(Request) - Method in interface org.restsql.core.Trigger
 
beforeUpdate(Request) - Method in class org.restsql.core.AbstractTrigger
 
beforeUpdate(Request) - Method in interface org.restsql.core.Trigger
 
bestMatch(Collection<String>, String) - Static method in class org.restsql.core.impl.MediaTypeParser
Takes a list of supported mime-types and finds the best match for all the media-ranges listed in header.
buildSelectSql(SqlResourceMetaData, String, List<NameValuePair>, List<NameValuePair>) - Method in class org.restsql.core.impl.SqlBuilderImpl
Creates select SQL.
buildSelectSql(SqlResourceMetaData, String, List<NameValuePair>, List<NameValuePair>) - Method in interface org.restsql.core.SqlBuilder
Creates select SQL.
buildSqlResourceListing(UriInfo) - Static method in class org.restsql.service.HttpRequestHelper
Builds HTML page with SQL Resources and actions for each.
buildWriteSql(SqlResourceMetaData, Request, boolean) - Method in class org.restsql.core.impl.SqlBuilderImpl
Creates update, insert or delete SQL.
buildWriteSql(SqlResourceMetaData, Request, boolean) - Method in interface org.restsql.core.SqlBuilder
Creates update, insert or delete SQL.

C

checkForInvalidMultipleParameters(List<NameValuePair>) - Static method in class org.restsql.core.RequestUtil
Checks for parameter list validity.
ColumnMetaData - Interface in org.restsql.core
Encapsulates column (or field) metadata of an SQL Resource.
ColumnMetaDataImpl - Class in org.restsql.core.impl
Represents column (field) metadata.
ColumnMetaDataImpl() - Constructor for class org.restsql.core.impl.ColumnMetaDataImpl
 
Config - Class in org.restsql.core
Loads properties from user-supplied file, defines property keys and defaults, and configures logging for framework.
Config() - Constructor for class org.restsql.core.Config
 
Config.ImmutableProperties - Class in org.restsql.core
Wraps a java.util.Properties, exposing only the property getter.
Config.ImmutableProperties() - Constructor for class org.restsql.core.Config.ImmutableProperties
 
ConfResource - Class in org.restsql.service
Provides access to framework, resource, logging and security configuration.
ConfResource() - Constructor for class org.restsql.service.ConfResource
 
ConnectionFactoryImpl - Class in org.restsql.core.impl
Simple non-pooled connection factory that creates a new connection on every call.
ConnectionFactoryImpl() - Constructor for class org.restsql.core.impl.ConnectionFactoryImpl
 
containsKey(String) - Method in class org.restsql.core.Config.ImmutableProperties
 
contextDestroyed(ServletContextEvent) - Method in class org.restsql.service.LifecycleListener
 
contextInitialized(ServletContextEvent) - Method in class org.restsql.service.LifecycleListener
 
convertToStandardInternetMediaType(String) - Static method in class org.restsql.core.RequestUtil
Converts short form of media type to the proper internet standard, e.g.
createDatabase() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of Database
createHttpConfig() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of HttpConfig
createHttpResponse() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of HttpResponse
createMetaData() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of MetaData
createQuery() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of Query
createSqlResource(SqlResourceDefinition) - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of JAXBElement<SqlResourceDefinition>}
createSqlResourceDefinition() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of SqlResourceDefinition
createTable() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of Table
createValidatedAttribute() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of ValidatedAttribute

D

Database - Class in org.restsql.core.sqlresource
Java class for Database complex type.
Database() - Constructor for class org.restsql.core.sqlresource.Database
 
DEFAULT_AUTHORIZER - Static variable in class org.restsql.core.Config
 
DEFAULT_CONNECTION_FACTORY - Static variable in class org.restsql.core.Config
 
DEFAULT_DATABASE_DRIVER_CLASSNAME - Static variable in class org.restsql.core.Config
 
DEFAULT_DATABASE_PASSWORD - Static variable in class org.restsql.core.Config
 
DEFAULT_DATABASE_URL - Static variable in class org.restsql.core.Config
 
DEFAULT_DATABASE_USER - Static variable in class org.restsql.core.Config
 
DEFAULT_HTTP_CACHE_CONTROL - Static variable in class org.restsql.core.Config
 
DEFAULT_HTTP_REQUEST_ATTRIBUTES - Static variable in class org.restsql.core.Config
 
DEFAULT_JAVA_LOGGING_CONFIG - Static variable in class org.restsql.core.Config
 
DEFAULT_LOG4J_CONFIG - Static variable in class org.restsql.core.Config
 
DEFAULT_LOGGING_DIR - Static variable in class org.restsql.core.Config
 
DEFAULT_LOGGING_FACILITY - Static variable in class org.restsql.core.Config
 
DEFAULT_MEDIA_TYPE - Static variable in interface org.restsql.core.HttpRequestAttributes
 
DEFAULT_REQUEST_DESERIALIZER_FACTORY - Static variable in class org.restsql.core.Config
 
DEFAULT_REQUEST_FACTORY - Static variable in class org.restsql.core.Config
 
DEFAULT_REQUEST_LOGGER - Static variable in class org.restsql.core.Config
 
DEFAULT_REQUEST_USE_XML_SCHEMA - Static variable in class org.restsql.core.Config
 
DEFAULT_RESPONSE_SERIALIZER_FACTORY - Static variable in class org.restsql.core.Config
 
DEFAULT_RESPONSE_USE_XML_DIRECTIVE - Static variable in class org.restsql.core.Config
 
DEFAULT_RESPONSE_USE_XML_SCHEMA - Static variable in class org.restsql.core.Config
 
DEFAULT_RESTSQL_PROPERTIES - Static variable in class org.restsql.core.Config
 
DEFAULT_SQL_BUILDER - Static variable in class org.restsql.core.Config
 
DEFAULT_SQL_RESOURCE_FACTORY - Static variable in class org.restsql.core.Config
 
DEFAULT_SQL_RESOURCE_METADATA - Static variable in class org.restsql.core.Config
 
DEFAULT_SQLRESOURCES_DIR - Static variable in class org.restsql.core.Config
 
delete(String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
delete(String, String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
delete(String, String, String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
delete(String, UriInfo, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
destroy() - Method in interface org.restsql.core.Factory.ConnectionFactory
 
destroy() - Method in class org.restsql.core.impl.ConnectionFactoryImpl
 
dumpConfig(boolean) - Static method in class org.restsql.core.Config
Returns string representation of all non-logging framework properties as name-value pairs.
dumpConfig() - Method in interface org.restsql.security.Authorizer
Returns implementation configuration, e.g.
dumpConfig() - Method in class org.restsql.security.impl.AuthorizerImpl
Returns status message and string representation of all roles and associated privileges.
dumpConfig() - Method in class org.restsql.service.ConfResource
 
dumpLoggingConfig() - Static method in class org.restsql.core.Config
Returns string representation of all logging properties as name-value pairs.
dumpLoggingConfig() - Method in class org.restsql.service.ConfResource
 
dumpSecurityConfig() - Method in class org.restsql.service.ConfResource
 

E

equals(Request.Type) - Method in enum org.restsql.security.SqlResourceRolePrivileges.Privilege
 
executeTriggers(String, Request, boolean) - Static method in class org.restsql.core.impl.TriggerManager
Executes all trigger defined for the resource.
execWrite(HttpRequestAttributes, Request.Type, List<NameValuePair>, SqlResource, String, RequestLogger) - Method in class org.restsql.core.impl.JsonRequestDeserializer
 
execWrite(HttpRequestAttributes, Request.Type, List<NameValuePair>, SqlResource, String, RequestLogger) - Method in class org.restsql.core.impl.XmlRequestDeserializer
Executes write request.
execWrite(HttpRequestAttributes, Request.Type, List<NameValuePair>, SqlResource, String, RequestLogger) - Method in interface org.restsql.core.RequestDeserializer
Executes write request.

F

Factory - Class in org.restsql.core
Creates implementations and also is a facade for other framework factories.
Factory() - Constructor for class org.restsql.core.Factory
 
Factory.ConnectionFactory - Interface in org.restsql.core
Creates JDBC connection objects.
Factory.RequestDeserializerFactory - Interface in org.restsql.core
Creates RequestDeserializer objects.
Factory.RequestFactory - Interface in org.restsql.core
Creates Request objects.
Factory.ResponseSerializerFactory - Interface in org.restsql.core
Creates ResponseSerializer objects.
Factory.SqlResourceFactory - Interface in org.restsql.core
Creates SQLResource objects.
Factory.SqlResourceFactoryException - Exception in org.restsql.core
Indicates an error in creating a SQL Resource object from a definition.
Factory.SqlResourceFactoryException(String) - Constructor for exception org.restsql.core.Factory.SqlResourceFactoryException
 
Factory.SqlResourceFactoryException(Throwable) - Constructor for exception org.restsql.core.Factory.SqlResourceFactoryException
 
fromHttpMethod(String) - Static method in enum org.restsql.core.Request.Type
 
fromString(String) - Static method in enum org.restsql.security.SqlResourceRolePrivileges.Privilege
 

G

get(String, String, UriInfo, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
get(String, String, String, UriInfo, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
get(String, String, String, String, UriInfo, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
get(String, UriInfo, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
getAlias() - Method in class org.restsql.core.sqlresource.Table
Gets the value of the alias property.
getAllReadColumns() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getAllReadColumns() - Method in interface org.restsql.core.SqlResourceMetaData
 
getAuthorizer() - Static method in class org.restsql.security.SecurityFactory
Returns authorizer singleton.
getCacheControl() - Method in class org.restsql.core.sqlresource.HttpResponse
Gets the value of the cacheControl property.
getChild() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getChild() - Method in interface org.restsql.core.SqlResourceMetaData
 
getChildPlusExtTables() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getChildPlusExtTables() - Method in interface org.restsql.core.SqlResourceMetaData
 
getChildReadColumns() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getChildReadColumns() - Method in interface org.restsql.core.SqlResourceMetaData
 
getChildrenParameters() - Method in class org.restsql.core.impl.RequestImpl
 
getChildrenParameters() - Method in interface org.restsql.core.Request
Returns children CUD requests to a single parent for a hierarchical SQL Resource.
getChildRequest(Request) - Static method in class org.restsql.core.Factory
Creates request for child record with blank params.
getChildRequest(Request) - Method in interface org.restsql.core.Factory.RequestFactory
 
getChildRequest(Request) - Method in class org.restsql.core.impl.RequestFactoryImpl
 
getClause() - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
getClient() - Method in interface org.restsql.core.HttpRequestAttributes
Returns client IP or hostname.
getClient() - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
getColumnLabel() - Method in interface org.restsql.core.ColumnMetaData
Returns column label, a string identified in double quotes after columns in the select clause in the SQL Resource definition query.
getColumnLabel() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getColumnName() - Method in interface org.restsql.core.ColumnMetaData
Returns column name, as it is known by the database.
getColumnName() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getColumnNumber() - Method in interface org.restsql.core.ColumnMetaData
Returns column number in the in the select clause in the SQL Resource definition query.
getColumnNumber() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getColumns() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
getColumns() - Method in interface org.restsql.core.TableMetaData
Returns map of column meta data, keyed by the column label (the alias if provided, otherwise the name).
getColumnType() - Method in interface org.restsql.core.ColumnMetaData
Returns column type from java.sql.Types.
getColumnType() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getColumnTypeName() - Method in interface org.restsql.core.ColumnMetaData
Returns column type name as given by the database JDBC driver.
getColumnTypeName() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getConnection(String) - Method in interface org.restsql.core.Factory.ConnectionFactory
 
getConnection(String) - Static method in class org.restsql.core.Factory
Returns connection.
getConnection(String) - Method in class org.restsql.core.impl.ConnectionFactoryImpl
 
getConnectionFactory() - Static method in class org.restsql.core.Factory
Return connection factory.
getCurrentAccessLog() - Method in class org.restsql.service.LogResource
 
getCurrentErrorLog() - Method in class org.restsql.service.LogResource
 
getCurrentInternalLog() - Method in class org.restsql.service.LogResource
 
getCurrentTraceLog() - Method in class org.restsql.service.LogResource
 
getDatabase() - Method in class org.restsql.core.sqlresource.MetaData
Gets the value of the database property.
getDatabaseName() - Method in interface org.restsql.core.ColumnMetaData
Returns database name.
getDatabaseName() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getDatabaseName() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
getDatabaseName() - Method in interface org.restsql.core.TableMetaData
Returns database name.
getDefault() - Method in class org.restsql.core.sqlresource.Database
Gets the value of the default property.
getDefaultDatabase(SqlResourceDefinition) - Static method in class org.restsql.core.sqlresource.SqlResourceDefinitionUtils
Returns default database.
getDefinition() - Method in class org.restsql.core.impl.SqlResourceImpl
 
getDefinition() - Method in interface org.restsql.core.SqlResource
Returns SQL resource information defined by the user, including query, validated attributes and trigger.
getDefinition(String, HttpServletRequest) - Method in class org.restsql.service.ConfResource
 
getHttp() - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Gets the value of the http property.
getHttpRequestAttributes(String, String, String, String, String, String) - Static method in class org.restsql.core.Factory
Creates HTTP request attributes.
getHttpRequestAttributes() - Method in class org.restsql.core.impl.RequestImpl
 
getHttpRequestAttributes() - Method in interface org.restsql.core.Request
Returns http request attributes.
getHttpRequestAttributes(HttpServletRequest, String, String, String) - Static method in class org.restsql.service.HttpRequestHelper
Creates attributes helper object from http request with a request body.
getImplName() - Method in class org.restsql.core.AbstractFactory.FactoryHelper
 
getInstance() - Method in class org.restsql.core.AbstractFactory.FactoryHelper
 
getInstance(String, String) - Static method in class org.restsql.core.AbstractFactory
Returns singleton instance of the interface implementation, creating it on first access.
getInterfaceName() - Method in class org.restsql.core.AbstractFactory.FactoryHelper
 
getInValues() - Method in class org.restsql.core.NameValuePair
Returns the In list values.
getJoin() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getJoin() - Method in interface org.restsql.core.SqlResourceMetaData
 
getJoinList() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getJoinList() - Method in interface org.restsql.core.SqlResourceMetaData
 
getLimit() - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
getLog(String) - Method in class org.restsql.service.LogResource
 
getLogger() - Method in class org.restsql.core.impl.RequestImpl
 
getLogger() - Method in interface org.restsql.core.Request
Returns request logger.
getLogList(UriInfo) - Method in class org.restsql.service.LogResource
 
getMain() - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
getMaxLength() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the maxLength property.
getMaxValue() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the maxValue property.
getMenu() - Method in class org.restsql.service.ConfResource
 
getMessage() - Method in exception org.restsql.core.SqlResourceException
 
getMetaData() - Method in class org.restsql.core.impl.SqlResourceImpl
 
getMetaData() - Method in interface org.restsql.core.SqlResource
Returns meta data for SQL resource.
getMetadata() - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Gets the value of the metadata property.
getMetadata(String, HttpServletRequest) - Method in class org.restsql.service.ConfResource
 
getMethod() - Method in interface org.restsql.core.HttpRequestAttributes
Returns HTTP method.
getMethod() - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
getMinLength() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the minLength property.
getMinValue() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the minValue property.
getName() - Method in class org.restsql.core.impl.SqlResourceImpl
 
getName() - Method in class org.restsql.core.NameValuePair
Returns name.
getName() - Method in interface org.restsql.core.SqlResource
Returns SQL resource name.
getName() - Method in class org.restsql.core.sqlresource.Table
Gets the value of the name property.
getName() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the name property.
getNumberTables() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getNumberTables() - Method in interface org.restsql.core.SqlResourceMetaData
 
getOffset() - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
getOperator() - Method in class org.restsql.core.NameValuePair
 
getParameters() - Method in class org.restsql.core.impl.RequestImpl
 
getParameters() - Method in interface org.restsql.core.Request
Returns ordered list of parameters, for example the selection filter for update request.
getParent() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getParent() - Method in class org.restsql.core.impl.RequestImpl
 
getParent() - Method in interface org.restsql.core.Request
Returns parent, if any.
getParent() - Method in interface org.restsql.core.SqlResourceMetaData
 
getParentPlusExtTables() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getParentPlusExtTables() - Method in interface org.restsql.core.SqlResourceMetaData
 
getParentReadColumns() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getParentReadColumns() - Method in interface org.restsql.core.SqlResourceMetaData
 
getPrimaryKeys() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
getPrimaryKeys() - Method in interface org.restsql.core.TableMetaData
Returns ordered list of columns that are primary keys.
getPrivileges() - Method in class org.restsql.security.SqlResourceRolePrivileges
 
getProperty(String, String) - Method in class org.restsql.core.Config.ImmutableProperties
 
getQualifiedColumnName() - Method in interface org.restsql.core.ColumnMetaData
Returns fully qualified column name in database-specific form for use in SQL statements.
getQualifiedColumnName() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getQualifiedTableName() - Method in interface org.restsql.core.ColumnMetaData
Returns fully qualified table name in database-specific form for use in SQL statements.
getQualifiedTableName() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getQualifiedTableName() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
getQualifiedTableName() - Method in interface org.restsql.core.TableMetaData
Returns fully qualified table name in database-specific form for use in SQL statements.
getQuery() - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Gets the value of the query property.
getRegex() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the regex property.
getRequest(Request.Type, String, List<NameValuePair>, List<NameValuePair>, List<List<NameValuePair>>, RequestLogger) - Static method in class org.restsql.core.Factory
Returns request object with pre-parsed data from the URI.
getRequest(HttpRequestAttributes, Request.Type, String, List<NameValuePair>, List<NameValuePair>, List<List<NameValuePair>>, RequestLogger) - Static method in class org.restsql.core.Factory
Returns request object with pre-parsed data from the URI.
getRequest(HttpRequestAttributes) - Static method in class org.restsql.core.Factory
Builds request from URI.
getRequest(HttpRequestAttributes) - Method in interface org.restsql.core.Factory.RequestFactory
 
getRequest(HttpRequestAttributes, Request.Type, String, List<NameValuePair>, List<NameValuePair>, List<List<NameValuePair>>, RequestLogger) - Method in interface org.restsql.core.Factory.RequestFactory
 
getRequest(HttpRequestAttributes) - Method in class org.restsql.core.impl.RequestFactoryImpl
Builds request from URI.
getRequest(HttpRequestAttributes, Request.Type, String, List<NameValuePair>, List<NameValuePair>, List<List<NameValuePair>>, RequestLogger) - Method in class org.restsql.core.impl.RequestFactoryImpl
Returns request object with pre-parsed data from the URI.
getRequestBody() - Method in interface org.restsql.core.HttpRequestAttributes
Returns request body, if any.
getRequestBody() - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
getRequestBodyFromFormParams(MultivaluedMap<String, String>) - Static method in class org.restsql.service.HttpRequestHelper
Converts form params into string.
getRequestDeserializer(String) - Static method in class org.restsql.core.Factory
Returns request deserializer.
getRequestDeserializer(String) - Method in interface org.restsql.core.Factory.RequestDeserializerFactory
 
getRequestDeserializer(String) - Method in class org.restsql.core.impl.RequestDeserializerFactoryImpl
Returns request deserializer for media type.
getRequestLogger() - Static method in class org.restsql.core.Factory
Returns request logger.
getRequestMediaType() - Method in interface org.restsql.core.HttpRequestAttributes
Returns request media type.
getRequestMediaType() - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
getRequestMediaType(String) - Static method in class org.restsql.core.RequestUtil
Returns best match for Content-Type header or the original media type if it doesn't match.
getResIds(SqlResource, String[]) - Static method in class org.restsql.core.RequestUtil
Returns name-value pairs, resourceId and value, for given resource and ordered value array.
getResourceIdentifiers() - Method in class org.restsql.core.impl.RequestImpl
 
getResourceIdentifiers() - Method in interface org.restsql.core.Request
Returns ordered list of primary key values for a CRUD request on a single object (row).
getResources(UriInfo) - Method in class org.restsql.service.ConfResource
 
getResources(UriInfo) - Method in class org.restsql.service.ResResource
 
getResponse() - Method in class org.restsql.core.sqlresource.HttpConfig
Gets the value of the response property.
getResponseMediaType() - Method in interface org.restsql.core.HttpRequestAttributes
Returns response media type.
getResponseMediaType() - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
getResponseMediaType(List<NameValuePair>, String, String) - Static method in class org.restsql.core.RequestUtil
Determines content type from parameters, and removing the output param if present.
getResponseSerializer(String) - Static method in class org.restsql.core.Factory
Returns response serializer for media type.
getResponseSerializer(String) - Method in interface org.restsql.core.Factory.ResponseSerializerFactory
 
getResponseSerializer(String) - Method in class org.restsql.core.impl.ResponseSerializerFactoryImpl
Returns response serializer for media type.
getRole() - Method in class org.restsql.core.sqlresource.Table
Gets the value of the role property.
getRoleName() - Method in class org.restsql.security.SqlResourceRolePrivileges
 
getSql() - Method in class org.restsql.core.impl.RequestLoggerImpl
Returns list of SQL statements generated during request processing.
getSql() - Method in interface org.restsql.core.RequestLogger
Returns list of SQL statements generated during request processing.
getSql() - Method in exception org.restsql.core.SqlResourceException
 
getSqlBuilder() - Static method in class org.restsql.core.Factory
Creates SqlBuilder instance.
getSqlResource(String) - Static method in class org.restsql.core.Factory
Returns SQL Resource for named resource.
getSqlResource(String) - Method in interface org.restsql.core.Factory.SqlResourceFactory
 
getSqlResource() - Method in class org.restsql.core.impl.RequestImpl
 
getSqlResource(String) - Method in class org.restsql.core.impl.SqlResourceFactoryImpl
 
getSqlResource() - Method in interface org.restsql.core.Request
Returns SQL Resource name.
getSqlResource() - Method in class org.restsql.security.SqlResourceRolePrivileges
 
getSqlResourceDefinition(String) - Static method in class org.restsql.core.Factory
Returns definition content as input stream.
getSqlResourceDefinition(String) - Method in interface org.restsql.core.Factory.SqlResourceFactory
 
getSqlResourceDefinition(String) - Method in class org.restsql.core.impl.SqlResourceFactoryImpl
 
getSqlResourceMetaData(String, SqlResourceDefinition) - Static method in class org.restsql.core.Factory
Returns meta data object for definition.
getSqlResourceNames() - Static method in class org.restsql.core.Factory
Returns available SQL Resource names.
getSqlResourceNames() - Method in interface org.restsql.core.Factory.SqlResourceFactory
 
getSqlResourceNames() - Method in class org.restsql.core.impl.SqlResourceFactoryImpl
Returns available SQL Resource names using the configured directory.
getSqlResourcesDir() - Static method in class org.restsql.core.Factory
 
getSqlResourcesDir() - Method in interface org.restsql.core.Factory.SqlResourceFactory
 
getSqlResourcesDir() - Method in class org.restsql.core.impl.SqlResourceFactoryImpl
Returns the configured resources directory name.
getStatus() - Method in class org.restsql.service.StatsResource
 
getSupportedMediaType() - Method in class org.restsql.core.impl.JsonRequestDeserializer
 
getSupportedMediaType() - Method in class org.restsql.core.impl.JsonResponseSerializer
 
getSupportedMediaType() - Method in class org.restsql.core.impl.XmlRequestDeserializer
 
getSupportedMediaType() - Method in class org.restsql.core.impl.XmlResponseSerializer
 
getSupportedMediaType() - Method in interface org.restsql.core.RequestDeserializer
Returns supported media type.
getSupportedMediaType() - Method in interface org.restsql.core.ResponseSerializer
Returns supported media type.
getTable() - Method in class org.restsql.core.sqlresource.MetaData
Gets the value of the table property.
getTable(SqlResourceDefinition, ColumnMetaData) - Static method in class org.restsql.core.sqlresource.SqlResourceDefinitionUtils
Returns table with specified qualfied name.
getTable(SqlResourceDefinition, TableMetaData.TableRole) - Static method in class org.restsql.core.sqlresource.SqlResourceDefinitionUtils
Returns table with desired role.
getTableAlias() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
getTableAlias() - Method in interface org.restsql.core.TableMetaData
Returns table alias.
getTableList(SqlResourceDefinition, TableMetaData.TableRole) - Static method in class org.restsql.core.sqlresource.SqlResourceDefinitionUtils
Returns list of tables with specified role.
getTableMap() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getTableMap() - Method in interface org.restsql.core.SqlResourceMetaData
 
getTableName() - Method in interface org.restsql.core.ColumnMetaData
Returns table name.
getTableName() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getTableName() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
getTableName() - Method in interface org.restsql.core.TableMetaData
Returns table name.
getTableRole() - Method in interface org.restsql.core.ColumnMetaData
Returns role of table in the SQL Resource.
getTableRole() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getTableRole() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
getTableRole() - Method in interface org.restsql.core.TableMetaData
Returns role of table in the SQL Resource.
getTables() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getTables() - Method in interface org.restsql.core.SqlResourceMetaData
 
getTriggers() - Method in class org.restsql.core.impl.SqlResourceImpl
 
getTriggers() - Method in interface org.restsql.core.SqlResource
Returns triggers classes.
getType() - Method in class org.restsql.core.impl.RequestImpl
 
getType() - Method in interface org.restsql.core.Request
Returns request type.
getType() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the type property.
getUri() - Method in interface org.restsql.core.HttpRequestAttributes
Returns URI.
getUri() - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
getUserPrincipal() - Method in interface org.restsql.security.SecurityContext
Returns a java.security.Principal object containing the name of the current authenticated user.
getUserPrincipal() - Method in class org.restsql.service.SecurityContextAdapter
 
getValidatedAttribute() - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Gets the value of the validatedAttribute property.
getValidatorClass() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the validatorClass property.
getValue() - Method in class org.restsql.core.NameValuePair
Returns value.
getValue() - Method in class org.restsql.core.sqlresource.Query
Gets the value of the value property.
getWadl() - Method in class org.restsql.service.WadlResource
 

H

handleException(HttpServletRequest, String, String, SqlResourceException, RequestLogger) - Static method in class org.restsql.service.HttpRequestHelper
Determines exception type, logs issue and returns appropriate http status with the exception message in the body.
hasJoinTable() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
hasJoinTable() - Method in interface org.restsql.core.SqlResourceMetaData
 
hasMultipleDatabases() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
hasMultipleDatabases() - Method in interface org.restsql.core.SqlResourceMetaData
 
hasPrivilege(Request.Type) - Method in class org.restsql.security.SqlResourceRolePrivileges
 
HttpConfig - Class in org.restsql.core.sqlresource
Java class for HttpConfig complex type.
HttpConfig() - Constructor for class org.restsql.core.sqlresource.HttpConfig
 
HttpRequestAttributes - Interface in org.restsql.core
Contains HTTP request attributes.
HttpRequestAttributesImpl - Class in org.restsql.core.impl
Simple http request attributes implementation.
HttpRequestAttributesImpl() - Constructor for class org.restsql.core.impl.HttpRequestAttributesImpl
 
HttpRequestHelper - Class in org.restsql.service
Contains service utilities.
HttpRequestHelper() - Constructor for class org.restsql.service.HttpRequestHelper
 
HttpResponse - Class in org.restsql.core.sqlresource
Java class for HttpResponse complex type.
HttpResponse() - Constructor for class org.restsql.core.sqlresource.HttpResponse
 

I

InvalidRequestException - Exception in org.restsql.core
Exception is thrown when a request does not meet expectations.
InvalidRequestException(String) - Constructor for exception org.restsql.core.InvalidRequestException
Creates exception with the provided message.
InvalidRequestException(String, Object...) - Constructor for exception org.restsql.core.InvalidRequestException
Creates exception with a formatted message and arguments.
InvalidRequestException(Throwable) - Constructor for exception org.restsql.core.InvalidRequestException
Creates exception from a throwable.
isAuthorizationEnabled() - Method in interface org.restsql.security.Authorizer
Returns true if authorization is enabled.
isAuthorizationEnabled() - Method in class org.restsql.security.impl.AuthorizerImpl
Returns true if authorization is enabled.
isAuthorized(SecurityContext, Request) - Method in interface org.restsql.security.Authorizer
Checks if user is assigned a role that may perform the request.
isAuthorized(SecurityContext, Request.Type, String) - Method in interface org.restsql.security.Authorizer
Checks if user is assigned a role that may perform the request.
isAuthorized(SecurityContext, Request) - Method in class org.restsql.security.impl.AuthorizerImpl
 
isAuthorized(SecurityContext, Request.Type, String) - Method in class org.restsql.security.impl.AuthorizerImpl
Returns true if user is authorized (or authorization is disabled), false otherwise.
isCharOrDateTimeType() - Method in interface org.restsql.core.ColumnMetaData
Returns true if column is a character string or date, time or timestamp.
isCharOrDateTimeType() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
isChild() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
isChild() - Method in interface org.restsql.core.TableMetaData
Returns true if the SQL Resource role is child.
isClauseEmpty() - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
isHierarchical() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
isHierarchical() - Method in interface org.restsql.core.SqlResourceMetaData
 
isNonqueriedForeignKey() - Method in interface org.restsql.core.ColumnMetaData
Returns true for foreign key columns not declared in the SQL Resource query but added by the framework.
isNonqueriedForeignKey() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
isParent() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
isParent() - Method in interface org.restsql.core.TableMetaData
Returns true if the SQL Resource role is parent.
isPrimaryKey() - Method in interface org.restsql.core.ColumnMetaData
Returns true if the column is a primary key.
isPrimaryKey() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
isReadOnly() - Method in interface org.restsql.core.ColumnMetaData
Returns true if the column is read-only, for example derived from SQL function or a database view.
isReadOnly() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
isSqlResourceLoaded(String) - Method in class org.restsql.core.impl.SqlResourceFactoryImpl
Returns true if the resource has been loaded, i.e.
isUserInRole(String) - Method in interface org.restsql.security.SecurityContext
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
isUserInRole(String) - Method in class org.restsql.service.SecurityContextAdapter
 

J

JsonRequestDeserializer - Class in org.restsql.core.impl
Processes requests represented in a JSON string.
JsonRequestDeserializer() - Constructor for class org.restsql.core.impl.JsonRequestDeserializer
 
JsonResponseSerializer - Class in org.restsql.core.impl
Converts read/write results to a JSON string.
JsonResponseSerializer() - Constructor for class org.restsql.core.impl.JsonResponseSerializer
 
JsonUtil - Class in org.restsql.core.impl
Contains JSON processing utilities.
JsonUtil() - Constructor for class org.restsql.core.impl.JsonUtil
 

K

KEY_AUTHORIZER - Static variable in class org.restsql.core.Config
 
KEY_CONNECTION_FACTORY - Static variable in class org.restsql.core.Config
 
KEY_DATABASE_DRIVER_CLASSNAME - Static variable in class org.restsql.core.Config
 
KEY_DATABASE_PASSWORD - Static variable in class org.restsql.core.Config
 
KEY_DATABASE_URL - Static variable in class org.restsql.core.Config
 
KEY_DATABASE_USER - Static variable in class org.restsql.core.Config
 
KEY_HTTP_CACHE_CONTROL - Static variable in class org.restsql.core.Config
 
KEY_HTTP_REQUEST_ATTRIBUTES - Static variable in class org.restsql.core.Config
 
KEY_JAVA_LOGGING_CONFIG - Static variable in class org.restsql.core.Config
 
KEY_LOG4J_CONFIG - Static variable in class org.restsql.core.Config
 
KEY_LOGGING_CONFIG - Static variable in class org.restsql.core.Config
 
KEY_LOGGING_DIR - Static variable in class org.restsql.core.Config
 
KEY_LOGGING_FACILITY - Static variable in class org.restsql.core.Config
 
KEY_REQUEST_DESERIALIZER_FACTORY - Static variable in class org.restsql.core.Config
 
KEY_REQUEST_FACTORY - Static variable in class org.restsql.core.Config
 
KEY_REQUEST_LOGGER - Static variable in class org.restsql.core.Config
 
KEY_REQUEST_USE_XML_SCHEMA - Static variable in class org.restsql.core.Config
 
KEY_RESPONSE_SERIALIZER_FACTORY - Static variable in class org.restsql.core.Config
 
KEY_RESPONSE_USE_XML_DIRECTIVE - Static variable in class org.restsql.core.Config
 
KEY_RESPONSE_USE_XML_SCHEMA - Static variable in class org.restsql.core.Config
 
KEY_RESTSQL_PROPERTIES - Static variable in class org.restsql.core.Config
 
KEY_SECURITY_PRIVILEGES - Static variable in class org.restsql.core.Config
 
KEY_SQL_BUILDER - Static variable in class org.restsql.core.Config
 
KEY_SQL_RESOURCE_FACTORY - Static variable in class org.restsql.core.Config
 
KEY_SQL_RESOURCE_METADATA - Static variable in class org.restsql.core.Config
 
KEY_SQLRESOURCES_DIR - Static variable in class org.restsql.core.Config
 
KEY_TRIGGERS_CLASSPATH - Static variable in class org.restsql.core.Config
 
KEY_TRIGGERS_DEFINITION - Static variable in class org.restsql.core.Config
 

L

LifecycleListener - Class in org.restsql.service
Loads properties file from servlet context.
LifecycleListener() - Constructor for class org.restsql.service.LifecycleListener
 
loadAllProperties() - Static method in class org.restsql.core.Config
Loads all properties.
log(int) - Method in class org.restsql.core.impl.RequestLoggerImpl
Logs exceptional response without an exception.
log(int, Exception) - Method in class org.restsql.core.impl.RequestLoggerImpl
Logs exceptional response with an exception.
log(String) - Method in class org.restsql.core.impl.RequestLoggerImpl
Logs normal response.
log(int) - Method in interface org.restsql.core.RequestLogger
Logs exceptional response without an exception.
log(int, Exception) - Method in interface org.restsql.core.RequestLogger
Logs exceptional response with an exception.
log(String) - Method in interface org.restsql.core.RequestLogger
Logs normal response.
logger - Static variable in class org.restsql.core.Config
The internal logger, for software troubleshooting
loggingProperties - Static variable in class org.restsql.core.Config
Read-only version of configuration settings for other classes
LogResource - Class in org.restsql.service
Provides access to logs.
LogResource() - Constructor for class org.restsql.service.LogResource
 

M

MediaTypeParser - Class in org.restsql.core.impl
MIME-Type Parser This class provides basic functions for handling mime-types.
MESSAGE_INVALID_PARAMS - Static variable in exception org.restsql.core.InvalidRequestException
 
MESSAGE_LIMIT_REQUIRED - Static variable in exception org.restsql.core.InvalidRequestException
 
MESSAGE_OFFSET_REQUIRED - Static variable in exception org.restsql.core.InvalidRequestException
 
MESSAGE_READONLY_PARAM - Static variable in exception org.restsql.core.InvalidRequestException
 
MESSAGE_SQLRESOURCE_REQUIRED - Static variable in exception org.restsql.core.InvalidRequestException
 
MESSSAGE_INSERT_MISSING_PARAMS - Static variable in exception org.restsql.core.InvalidRequestException
 
MESSSAGE_UPDATE_MISSING_PARAMS - Static variable in exception org.restsql.core.InvalidRequestException
 
MetaData - Class in org.restsql.core.sqlresource
Java class for MetaData complex type.
MetaData() - Constructor for class org.restsql.core.sqlresource.MetaData
 

N

NAME_LOGGER_ACCESS - Static variable in class org.restsql.core.Config
 
NAME_LOGGER_ERROR - Static variable in class org.restsql.core.Config
 
NAME_LOGGER_INTERNAL - Static variable in class org.restsql.core.Config
 
NAME_LOGGER_TRACE - Static variable in class org.restsql.core.Config
 
NameValuePair - Class in org.restsql.core
Encapsulates name and value for collections of request identifiers and parameters.
NameValuePair(String, String) - Constructor for class org.restsql.core.NameValuePair
Creates object, parsing value for comparison operator.
NameValuePair(String, String, NameValuePair.Operator) - Constructor for class org.restsql.core.NameValuePair
Creates object with equals operator.
NameValuePair.Operator - Enum in org.restsql.core
Represents all operations for parameters.
newInstance() - Method in class org.restsql.core.AbstractFactory.FactoryHelper
 
newInstance(String, String) - Static method in class org.restsql.core.AbstractFactory
Returns new instance of the interface implementation.

O

ObjectFactory - Class in org.restsql.core.sqlresource
This object contains factory methods for each Java content interface and Java element interface generated in the org.restsql.core.sqlresource package.
ObjectFactory() - Constructor for class org.restsql.core.sqlresource.ObjectFactory
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.restsql.core.sqlresource
org.restsql.core - package org.restsql.core
Contains core framework interfaces, an API for deployments that use restSQL as a library, rather than an HTTP service.
org.restsql.core.impl - package org.restsql.core.impl
Contains core framework implementation.
org.restsql.core.sqlresource - package org.restsql.core.sqlresource
Contains classes that model the SQL Resource definition XML document.
org.restsql.security - package org.restsql.security
Contains classes that provide security, such as authorization.
org.restsql.security.impl - package org.restsql.security.impl
Contains security implementations.
org.restsql.service - package org.restsql.service
Contains HTTP interface classes.

P

PARAM_NAME_LIMIT - Static variable in interface org.restsql.core.Request
 
PARAM_NAME_OFFSET - Static variable in interface org.restsql.core.Request
 
PARAM_NAME_OUTPUT - Static variable in interface org.restsql.core.Request
 
parseInValues(String) - Static method in class org.restsql.core.NameValuePair
Parses list of comma separated values from a string.
parseOperatorFromValue(String) - Static method in class org.restsql.core.NameValuePair
Parses operator from beginning of value (<, <=, > or >=) or enclosing brackets for the In operator.
post(String, MultivaluedMap<String, String>, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
post(String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
post(String, String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
post(String, String, String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
post(String, UriInfo, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
properties - Static variable in class org.restsql.core.Config
Read-only version of configuration settings for other classes
put(String, MultivaluedMap<String, String>, UriInfo, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
put(String, String, MultivaluedMap<String, String>, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
put(String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
put(String, String, String, MultivaluedMap<String, String>, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
put(String, String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
put(String, String, String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
put(String, UriInfo, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 

Q

quality(String, String) - Static method in class org.restsql.core.impl.MediaTypeParser
Returns the quality 'q' of a mime-type when compared against the mediaRanges in ranges.
Query - Class in org.restsql.core.sqlresource
Java class for Query complex type.
Query() - Constructor for class org.restsql.core.sqlresource.Query
 
quote(String) - Static method in class org.restsql.core.impl.JsonUtil
Produce a string in double quotes with backslash sequences in all the right places.

R

read(Request) - Method in class org.restsql.core.impl.SqlResourceImpl
Executes query returning results as an object collection.
read(Request, String) - Method in class org.restsql.core.impl.SqlResourceImpl
Executes query returning results as a string.
read(Request) - Method in interface org.restsql.core.SqlResource
Executes query returning results as an object collection.
read(Request, String) - Method in interface org.restsql.core.SqlResource
Executes query returning results as a string.
reloadDefinition(String, HttpServletRequest) - Method in class org.restsql.service.ConfResource
 
reloadSqlResource(String) - Static method in class org.restsql.core.Factory
Reloads definition from the source.
reloadSqlResource(String) - Method in interface org.restsql.core.Factory.SqlResourceFactory
 
reloadSqlResource(String) - Method in class org.restsql.core.impl.SqlResourceFactoryImpl
Reloads definition using the current file.
Request - Interface in org.restsql.core
Represents a single CRUD request on a specific SQL Resource.
Request.Type - Enum in org.restsql.core
Represents request types, mapping to CRUD operations.
RequestDeserializer - Interface in org.restsql.core
Processes requests represented in some string form, e.g.
RequestDeserializerFactoryImpl - Class in org.restsql.core.impl
Implements factory using default org.restsql.core.impl request deserializers.
RequestDeserializerFactoryImpl() - Constructor for class org.restsql.core.impl.RequestDeserializerFactoryImpl
 
RequestFactoryImpl - Class in org.restsql.core.impl
Creates requests.
RequestFactoryImpl() - Constructor for class org.restsql.core.impl.RequestFactoryImpl
 
RequestImpl - Class in org.restsql.core.impl
Represents a restSQL request.
RequestImpl(HttpRequestAttributes, Request.Type, String, List<NameValuePair>, List<NameValuePair>, List<List<NameValuePair>>, RequestLogger) - Constructor for class org.restsql.core.impl.RequestImpl
Constructs object.
RequestLogger - Interface in org.restsql.core
Logs request for troubleshooting applications.
RequestLoggerImpl - Class in org.restsql.core.impl
Logs request for troubleshooting applications.
RequestLoggerImpl() - Constructor for class org.restsql.core.impl.RequestLoggerImpl
 
RequestUtil - Class in org.restsql.core
Contains utility methods to assist request processing.
RequestUtil() - Constructor for class org.restsql.core.RequestUtil
 
ResponseSerializer - Interface in org.restsql.core
Converts read/write results to a string, e.g.
ResponseSerializerFactoryImpl - Class in org.restsql.core.impl
Implements factory using default org.restsql.core.impl response serializers.
ResponseSerializerFactoryImpl() - Constructor for class org.restsql.core.impl.ResponseSerializerFactoryImpl
 
ResResource - Class in org.restsql.service
Contains core JAX-RS Resource of the service, processing SQL Resource CRUD requests.
ResResource() - Constructor for class org.restsql.service.ResResource
 

S

SecurityContext - Interface in org.restsql.security
Provides user principal and role check method.
SecurityContextAdapter - Class in org.restsql.service
Adapts JAX-RS's SecurityContext to restSQL's SecurityContext .
SecurityContextAdapter(SecurityContext) - Constructor for class org.restsql.service.SecurityContextAdapter
 
SecurityFactory - Class in org.restsql.security
Constructs security implementations.
SecurityFactory() - Constructor for class org.restsql.security.SecurityFactory
 
serializeReadFlat(SqlResource, ResultSet) - Method in class org.restsql.core.impl.JsonResponseSerializer
Converts flat select results to a JSON array.
serializeReadFlat(SqlResource, ResultSet) - Method in class org.restsql.core.impl.XmlResponseSerializer
Converts flat select results to an XML document.
serializeReadFlat(SqlResource, ResultSet) - Method in interface org.restsql.core.ResponseSerializer
Converts flat select results to a string.
serializeReadHierarchical(SqlResource, List<Map<String, Object>>) - Method in class org.restsql.core.impl.JsonResponseSerializer
Converts hierarchical select results to a JSON array.
serializeReadHierarchical(SqlResource, List<Map<String, Object>>) - Method in class org.restsql.core.impl.XmlResponseSerializer
Converts hierarchical select results to an XML document.
serializeReadHierarchical(SqlResource, List<Map<String, Object>>) - Method in interface org.restsql.core.ResponseSerializer
Converts hierarchical select results to a string.
serializeWrite(int) - Method in class org.restsql.core.impl.JsonResponseSerializer
Converts write results to a JSON object.
serializeWrite(int) - Method in class org.restsql.core.impl.XmlResponseSerializer
Converts write results to an XML document.
serializeWrite(int) - Method in interface org.restsql.core.ResponseSerializer
Converts write results to a string.
setAlias(String) - Method in class org.restsql.core.sqlresource.Table
Sets the value of the alias property.
setAttributes(String, String, String, String, String, String) - Method in interface org.restsql.core.HttpRequestAttributes
Sets attributes of an HTTP request.
setAttributes(String, String, String, String, String, String) - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
setCacheControl(String) - Method in class org.restsql.core.sqlresource.HttpResponse
Sets the value of the cacheControl property.
setClient(String) - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
setDatabase(Database) - Method in class org.restsql.core.sqlresource.MetaData
Sets the value of the database property.
setDefault(String) - Method in class org.restsql.core.sqlresource.Database
Sets the value of the default property.
setDefinition(String, SqlResourceDefinition) - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Populates metadata using definition.
setDefinition(String, SqlResourceDefinition) - Method in interface org.restsql.core.SqlResourceMetaData
 
setHttp(HttpConfig) - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Sets the value of the http property.
setHttpRequestAttributes(HttpRequestAttributes) - Method in class org.restsql.core.impl.RequestLoggerImpl
Sets attributes of an HTTP request.
setHttpRequestAttributes(HttpRequestAttributes) - Method in interface org.restsql.core.RequestLogger
Sets attributes of an HTTP request.
setLimit(int) - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
setMaxLength(Integer) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the maxLength property.
setMaxValue(Double) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the maxValue property.
setMetadata(MetaData) - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Sets the value of the metadata property.
setMethod(String) - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
setMinLength(Integer) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the minLength property.
setMinValue(Double) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the minValue property.
setName(String) - Method in class org.restsql.core.sqlresource.Table
Sets the value of the name property.
setName(String) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the name property.
setOffset(int) - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
setParameters(List<NameValuePair>) - Method in class org.restsql.core.impl.RequestImpl
Sets parameters for request.
setParameters(List<NameValuePair>) - Method in interface org.restsql.core.Request
Sets parameters for request.
setParent(Request) - Method in class org.restsql.core.impl.RequestImpl
 
setParent(Request) - Method in interface org.restsql.core.Request
Sets parent request.
setQuery(Query) - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Sets the value of the query property.
setRegex(String) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the regex property.
setRequest(Request) - Method in class org.restsql.core.impl.RequestLoggerImpl
Sets request.
setRequest(Request) - Method in interface org.restsql.core.RequestLogger
Sets request.
setRequestBody(String) - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
setRequestMediaType(String) - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
setResponse(HttpResponse) - Method in class org.restsql.core.sqlresource.HttpConfig
Sets the value of the response property.
setResponseMediaType(String) - Method in interface org.restsql.core.HttpRequestAttributes
Sets response media type.
setResponseMediaType(String) - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
setRole(String) - Method in class org.restsql.core.sqlresource.Table
Sets the value of the role property.
setType(String) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the type property.
setUri(String) - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
setUseXmlDirective(boolean) - Static method in class org.restsql.core.impl.XmlResponseSerializer
Overrides configuration.
setUseXmlSchema(boolean) - Static method in class org.restsql.core.impl.XmlResponseSerializer
Overrides configuration.
setValidatorClass(String) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the validatorClass property.
setValue(String) - Method in class org.restsql.core.sqlresource.Query
Sets the value of the value property.
SqlBuilder - Interface in org.restsql.core
Builds SQL for an operation on a SQL Resource.
SqlBuilder.SqlStruct - Class in org.restsql.core
Helper struct for building SQL.
SqlBuilder.SqlStruct(int, int) - Constructor for class org.restsql.core.SqlBuilder.SqlStruct
 
SqlBuilderImpl - Class in org.restsql.core.impl
Builds SQL for an operation on a SQL Resource.
SqlBuilderImpl() - Constructor for class org.restsql.core.impl.SqlBuilderImpl
 
SqlResource - Interface in org.restsql.core
Represents an SQL Resource, a queryable and updatable database "view".
SqlResourceDefinition - Class in org.restsql.core.sqlresource
Java class for SqlResource complex type.
SqlResourceDefinition() - Constructor for class org.restsql.core.sqlresource.SqlResourceDefinition
 
SqlResourceDefinitionUtils - Class in org.restsql.core.sqlresource
Contains utilities to process definitions.
SqlResourceDefinitionUtils() - Constructor for class org.restsql.core.sqlresource.SqlResourceDefinitionUtils
 
SqlResourceException - Exception in org.restsql.core
Represents a restSQL error, typically wrapping an SQLException and adding an SQL String.
SqlResourceException(String) - Constructor for exception org.restsql.core.SqlResourceException
 
SqlResourceException(Throwable) - Constructor for exception org.restsql.core.SqlResourceException
 
SqlResourceException(Throwable, String) - Constructor for exception org.restsql.core.SqlResourceException
 
SqlResourceException(String, String) - Constructor for exception org.restsql.core.SqlResourceException
 
SqlResourceFactoryImpl - Class in org.restsql.core.impl
Manages SQL Resource construction.
SqlResourceFactoryImpl() - Constructor for class org.restsql.core.impl.SqlResourceFactoryImpl
 
SqlResourceImpl - Class in org.restsql.core.impl
Represents a SQL Resource, a queryable and updatable database "view".
SqlResourceImpl(String, SqlResourceDefinition, SqlResourceMetaData, SqlBuilder, List<Trigger>) - Constructor for class org.restsql.core.impl.SqlResourceImpl
 
SqlResourceMetaData - Interface in org.restsql.core
Represents meta data for sql resource.
SqlResourceMetaDataMySql - Class in org.restsql.core.impl
Implements SqlResourceMetaData for MySQL.
SqlResourceMetaDataMySql() - Constructor for class org.restsql.core.impl.SqlResourceMetaDataMySql
 
SqlResourceMetaDataPostgreSql - Class in org.restsql.core.impl
Implements SqlResourceMetaData for PostgreSQL.
SqlResourceMetaDataPostgreSql() - Constructor for class org.restsql.core.impl.SqlResourceMetaDataPostgreSql
 
SqlResourceRolePrivileges - Class in org.restsql.security
Models actions available to a role on SQL Resource.
SqlResourceRolePrivileges(String, List<SqlResourceRolePrivileges.Privilege>, String) - Constructor for class org.restsql.security.SqlResourceRolePrivileges
 
SqlResourceRolePrivileges.Privilege - Enum in org.restsql.security
 
StatsResource - Class in org.restsql.service
 
StatsResource() - Constructor for class org.restsql.service.StatsResource
 
stripOperatorFromValue(NameValuePair.Operator, String) - Static method in class org.restsql.core.NameValuePair
Returns value without leading operator.

T

Table - Class in org.restsql.core.sqlresource
Java class for Table complex type.
Table() - Constructor for class org.restsql.core.sqlresource.Table
 
TableMetaData - Interface in org.restsql.core
Encapsulates table information for an SQL Resource.
TableMetaData.TableRole - Enum in org.restsql.core
Represents all of the roles a table may plan in a SQL Resource.
TableMetaDataImpl - Class in org.restsql.core.impl
Encapsulates table information for an SQL Resource.
TableMetaDataImpl() - Constructor for class org.restsql.core.impl.TableMetaDataImpl
 
TableMetaDataImpl(String, String, String, TableMetaData.TableRole) - Constructor for class org.restsql.core.impl.TableMetaDataImpl
 
TOKEN_WILDCARD - Static variable in class org.restsql.security.SqlResourceRolePrivileges
 
toString() - Method in class org.restsql.core.Config.ImmutableProperties
 
toString() - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
toString() - Method in class org.restsql.core.impl.RequestImpl
Returns string representation, using HttpRequestAttributes string if present.
toString() - Method in class org.restsql.core.NameValuePair
Returns string representation.
toString() - Method in enum org.restsql.security.SqlResourceRolePrivileges.Privilege
 
toString() - Method in class org.restsql.security.SqlResourceRolePrivileges
 
toXml() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Returns XML representation.
toXml() - Method in interface org.restsql.core.SqlResourceMetaData
 
Trigger - Interface in org.restsql.core
Provides a mechanism for executing non-trivial domain validation or business logic on all CRUD operations.
TriggerManager - Class in org.restsql.core.impl
Manages trigger instantiation and execution.
TriggerManager() - Constructor for class org.restsql.core.impl.TriggerManager
 

V

validate(SqlResourceDefinition) - Static method in class org.restsql.core.sqlresource.SqlResourceDefinitionUtils
Throws SqlResourceException if definition meets one of the following criteria: No query element No metadata element No database element with default database name No Parent table element More than one Parent, Child or Join table elements
ValidatedAttribute - Class in org.restsql.core.sqlresource
Java class for ValidatedAttribute complex type.
ValidatedAttribute() - Constructor for class org.restsql.core.sqlresource.ValidatedAttribute
 
valueOf(String) - Static method in enum org.restsql.core.NameValuePair.Operator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.restsql.core.Request.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.restsql.core.TableMetaData.TableRole
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.restsql.security.SqlResourceRolePrivileges.Privilege
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.restsql.core.NameValuePair.Operator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.restsql.core.Request.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.restsql.core.TableMetaData.TableRole
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.restsql.security.SqlResourceRolePrivileges.Privilege
Returns an array containing the constants of this enum type, in the order they are declared.

W

WadlResource - Class in org.restsql.service
Redirects wadl request to the wadl file.
WadlResource() - Constructor for class org.restsql.service.WadlResource
 
write(Request) - Method in class org.restsql.core.impl.SqlResourceImpl
Executes database write (insert, update or delete).
write(Request) - Method in interface org.restsql.core.SqlResource
Executes insert, update or delete.

X

XmlRequestDeserializer - Class in org.restsql.core.impl
Processes requests represented in an XML document using a SAX parser.
XmlRequestDeserializer() - Constructor for class org.restsql.core.impl.XmlRequestDeserializer
 
XmlResponseSerializer - Class in org.restsql.core.impl
Converts read/write results to an XML document.
XmlResponseSerializer() - Constructor for class org.restsql.core.impl.XmlResponseSerializer
 
A B C D E F G H I J K L M N O P Q R S T V W X 

Copyright © 2011 restSQL Project Contributors