- 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
-
- 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
-
- 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.