Angular ResourceUrlTypeFactory
Angular ResourceUrlTypeFactory is an AngularJS library that helps you creating ui-router url matcher types that
resolve the ID component in a URL to the actual resource instance. This way you do not need to bother with fetching
the data in your controllers, redirecting to 404 pages when the fetch was unsuccessful, and dealing with all the
permission stuff. You just have the resource instance available in your $stateParams
.
Note: This library is for AngularJS 1.x only!
Dependencies
Angular ResourceUrlTypeFactory depends on AngularJS 1.x.
Installation
- Via
npm
:npm install --save angular-resource-url-type-factory
- Via
git
:git clone git@github.com:beachmachine/angular-resource-url-type-factory.git
Examples
Type definition
In the following example shows how to define a resource url type, how to use it in your route definitions, and how
to access the data in your controller. We assume we have a resource service called MemberResourceService
defined to
make calls to our RESTful API.
Following libraries may be helpful for you creating resource services:
- angular-resource-factory: A factory build upon $resource helping you to interact with RESTful APIs with advanced features as caches and data stores.
- angular-resource: A factory which creates a resource object that lets you interact with RESTful server-side data sources.
To make things a bit clearer, this is the data we assume to get from our RESTful API:
[
{
"pk": 1,
"url": "http://example.api/member/1/",
"creation_date": "2017-01-11T06:00:00Z",
"last_modification_date": "2017-01-12T08:00:00Z",
"name": "Example Member 1"
},
{
"pk": 2,
"url": "http://example.api/member/2/",
"creation_date": "2017-01-11T06:00:00Z",
"last_modification_date": "2017-01-12T08:00:00Z",
"name": "Example Member 2"
}
]
This is how to define the ui-router url matcher type for that resource:
var module = angular.module('shared');
module.config(
function (ResourceUrlTypeFactoryServiceProvider) {
ResourceUrlTypeFactoryServiceProvider.registerType(
'member', // name of the new type
/\d+/, // regex to match the identifier in the URL
'pk', // attribute name on the instance to get the identifier from
// function (with injection pattern) that is used to fetch the instance from the RESTful API. Should return
// a promise, a `$resource` instance, or a regular object. `$pk` is the string from the URL matched by the
// type definition.
function ($pk, MemberResourceService) {
return MemberResourceService.get({pk: $pk});
}
);
}
);
Now we can use the defined type in our route definitions:
var module = angular.module('app');
module.config(
function ($stateProvider) {
$stateProvider
.state('member', {
url: '/member/{mymember:member}/',
component: 'memberView'
});
}
);
The user now can go the the path "/member/1/"
, ResourceUrlTypeFactory fetches the data from the RESTful API, publishes
the resource instance on the $stateParams
, and transitions to the member
state. This is how to use the data in
your controller then:
var module = angular.module('app');
module.component('memberView', {
controller: 'MemberViewController'
});
module.controller('MemberViewController',
function ($stateParams) {
// Logs "Member name is: Example Member 1"
console.log("Member name is: " + $stateParams.mymember.name);
}
);
Contributions
- Andreas Stocker<EMAIL_ADDRESS>Main developer
License
Angular ResourceUrlTypeFactory, Copyright 2016 Andreas Stocker, MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


If you need help, have questions or any concerns be free to contact us at the following emails:
| Name | Email Address |
|---|---|
| Daneih Ismail |<EMAIL_ADDRESS>|
| Patrick Behrens |<EMAIL_ADDRESS>|
| Katie Kalm |<EMAIL_ADDRESS>|
| Joseph Demma |<EMAIL_ADDRESS>|


#include "detail/setup.hpp"
#include "detail/type_vec2.hpp"
Go to the source code of this file.
Core features
Definition in file vec2.hpp.


- setProfilesPerFile(long) - Method in class io.ebean.config.ProfilingConfig
-
Set the number of profiles to write to a single file.
- setProfiling(boolean) - Method in class io.ebean.config.AutoTuneConfig
-
Set to true if profiling information should be collected.
- setProfilingBase(int) - Method in class io.ebean.config.AutoTuneConfig
-
Set the based number of queries to profile.
- setProfilingConfig(ProfilingConfig) - Method in class io.ebean.config.DatabaseConfig
-
Set the configuration for profiling.
- setProfilingFile(String) - Method in class io.ebean.config.AutoTuneConfig
-
Set the name of the file that profiling information is written to.
- setProfilingRate(double) - Method in class io.ebean.config.AutoTuneConfig
-
Set the rate (%) of queries to be profiled after the 'base' amount of profiling.
- setProfilingUpdateFrequency(int) - Method in class io.ebean.config.AutoTuneConfig
-
Set the frequency in seconds the profiling should be collected and automatically applied to the tuning.
- setProperties(Properties) - Method in class io.ebean.config.ContainerConfig
-
Set the deployment properties.
- setProperty(String) - Method in class io.ebean.OrderBy.Property
-
Set the property name.
- setPropertyLoaded(String, boolean) - Method in class io.ebean.bean.EntityBeanIntercept
-
Set the loaded state of the property given it's name.
- setPropertyLoaded(String, boolean) - Method in interface io.ebean.BeanState
-
Set the loaded state of the property given it's name.
- setPropertyUnloaded(int) - Method in class io.ebean.bean.EntityBeanIntercept
-
Set the property to be treated as unloaded.
- setPutCount(long) - Method in class io.ebean.cache.ServerCacheStatistics
-
Set the put insert count.
- setQuery(Query<T>) - Method in class io.ebean.OrderBy
-
Associate this OrderBy with a query.
- setQueryAdapters(List<BeanQueryAdapter>) - Method in class io.ebean.config.DatabaseConfig
-
Register all the BeanQueryAdapter instances.
- setQueryBatchSize(int) - Method in class io.ebean.config.DatabaseConfig
-
Sets the query batch size.
- setQueryCacheMaxIdleTime(int) - Method in class io.ebean.config.DatabaseConfig
-
Set the L2 query cache default max idle time in seconds.
- setQueryCacheMaxSize(int) - Method in class io.ebean.config.DatabaseConfig
-
Set the L2 query cache default max size.
- setQueryCacheMaxTimeToLive(int) - Method in class io.ebean.config.DatabaseConfig
-
Set the L2 query cache default max time to live in seconds.
- setQueryKey(String) - Method in class io.ebean.event.readaudit.ReadAuditQueryPlan
-
Set the query key.
- setQueryKey(String) - Method in class io.ebean.event.readaudit.ReadEvent
-
Set the query key (relative to the bean type).
- setQueryPlanTTLSeconds(int) - Method in class io.ebean.config.DatabaseConfig
-
Set the query plan time to live.
- setQueryTuning(boolean) - Method in class io.ebean.config.AutoTuneConfig
-
Set to true if the queries should be tuned by autoTune.
- setQueryTuningAddVersion(boolean) - Method in class io.ebean.config.AutoTuneConfig
-
Set to true to force the version property to be always added by the query tuning.
- setQueryTuningFile(String) - Method in class io.ebean.config.AutoTuneConfig
-
Set the name of the file that holds the query tuning information.
- setRaw(String) - Method in interface io.ebean.UpdateQuery
-
Set using a property expression that does not need any bind values.
- setRaw(String, Object...) - Method in interface io.ebean.UpdateQuery
-
Set using a property expression that can contain
?
bind value placeholders. - setRawSql(RawSql) - Method in interface io.ebean.Query
-
Set RawSql to use for this query.
- setReadAuditLogger(ReadAuditLogger) - Method in class io.ebean.config.DatabaseConfig
-
Set the ReadAuditLogger to use.
- setReadAuditPrepare(ReadAuditPrepare) - Method in class io.ebean.config.DatabaseConfig
-
Set the ReadAuditPrepare to use.
- setReadOnly(boolean) - Method in interface io.ebean.bean.BeanCollection
-
Set to true if you want the BeanCollection to be treated as read only.
- setReadOnly(boolean) - Method in class io.ebean.bean.EntityBeanIntercept
-
Set the readOnly status.
- setReadOnly(boolean) - Method in interface io.ebean.BeanState
-
Set the readOnly status for the bean.
- setReadOnly(boolean) - Method in interface io.ebean.Query
-
When set to true when you want the returned beans to be read only.
- setReadOnly(boolean) - Method in interface io.ebean.Transaction
-
Set whether this transaction should be readOnly.
- setReadOnly(boolean) - Method in class io.ebean.TxScope
-
Set if the transaction should be treated as read only.
- setReadOnlyDataSource(DataSource) - Method in class io.ebean.config.DatabaseConfig
-
Set the read only DataSource.
- setReadOnlyDataSourceConfig(DataSourceConfig) - Method in class io.ebean.config.DatabaseConfig
-
Set the configuration for the read only DataSource.
- setReference(int) - Method in class io.ebean.bean.EntityBeanIntercept
-
Set this as a reference object.
- setRegister(boolean) - Method in class io.ebean.config.DatabaseConfig
-
Set to false if you do not want this server to be registered with the Ebean singleton when it is created.
- setRelaxedMode() - Method in interface io.ebean.DtoQuery
-
When resultSet columns are not able to be mapped to a bean property then instead of throwing effectively skip reading that column.
- setRemoveCount(long) - Method in class io.ebean.cache.ServerCacheStatistics
-
Set the remove count.
- setResourceDirectory(String) - Method in class io.ebean.config.DatabaseConfig
-
Sets the resource directory.
- setRollbackFor(Class<?>[]) - Method in class io.ebean.TxScope
-
Set multiple throwable's that will cause a rollback.
- setRollbackFor(Class<? extends Throwable>) - Method in class io.ebean.TxScope
-
Set a Throwable that should explicitly cause a rollback.
- setRollbackOnly() - Static method in class io.ebean.DB
-
Mark the current transaction as rollback only.
- setRollbackOnly() - Static method in class io.ebean.Ebean
-
Deprecated.Mark the current transaction as rollback only.
- setRollbackOnly() - Method in interface io.ebean.Transaction
-
Mark the transaction for rollback only.
- setRootPathVisitor(JsonWriteBeanVisitor<?>) - Method in class io.ebean.text.json.JsonWriteOptions
-
Register a JsonWriteBeanVisitor for the root level.
- setRunMigration(boolean) - Method in class io.ebean.config.DatabaseConfig
-
Set to true to run DB migrations on server start.
- setSchema(String) - Method in class io.ebean.config.AbstractNamingConvention
-
Sets the schema.
- setScore(double) - Method in class io.ebean.docstore.RawDoc
-
Set the score.
- setSelectLastInsertedIdTemplate(String) - Method in class io.ebean.config.dbplatform.DbIdentity
-
Set the template used to build the SQL query to return the LastInsertedId.
- setSequenceBatchMode(boolean) - Method in class io.ebean.config.dbplatform.DatabasePlatform
-
Set to false to not use sequence batch mode but instead STEP mode.
- setSequenceFormat(String) - Method in class io.ebean.config.AbstractNamingConvention
-
Set the sequence format used to generate the sequence name.
- setServerCachePlugin(ServerCachePlugin) - Method in class io.ebean.config.DatabaseConfig
-
Set the ServerCachePlugin to use.
- setServerName(String) - Method in class io.ebean.TxScope
-
Set the serverName (DataSource name) for which this transaction will be.
- setServiceName(String) - Method in class io.ebean.config.ContainerConfig
-
Set the service name.
- setSince(long) - Method in class io.ebean.meta.QueryPlanRequest
-
Set the epoch time (e.g.
- setSize(int) - Method in class io.ebean.cache.ServerCacheStatistics
-
Set the size of the cache.
- setSkipCache(boolean) - Method in interface io.ebean.Transaction
-
Set if the L2 cache should be skipped for "find by id" and "find by natural key" queries.
- setSkipCache(boolean) - Method in class io.ebean.TxScope
-
Set to true if the transaction should skip L2 cache access.
- setSkipCacheAfterWrite(boolean) - Method in class io.ebean.config.DatabaseConfig
-
Set to false when we still want to hit the cache after a write has occurred on a transaction.
- setSkipGarbageCollectionOnShutdown(boolean) - Method in class io.ebean.config.AutoTuneConfig
-
Set to true if triggering garbage collection should be skipped on shutdown.
- setSkipGeneratedKeys() - Method in class io.ebean.TxScope
-
Set if the transaction should skip reading generated keys for inserts.
- setSkipProfileReportingOnShutdown(boolean) - Method in class io.ebean.config.AutoTuneConfig
-
Set to true if profile reporting should be skipped on shutdown.
- setSlowQueryListener(SlowQueryListener) - Method in class io.ebean.config.DatabaseConfig
-
Set the slow query event listener.
- setSlowQueryMillis(long) - Method in class io.ebean.config.DatabaseConfig
-
Set the slow query time in millis.
- setSortOrder(int) - Method in class io.ebean.bean.EntityBeanIntercept
-
Set the sort order value for an order column.
- setSource(String) - Method in class io.ebean.event.changelog.ChangeSet
-
Set the source of the change (like the name of the application).
- setSource(String) - Method in class io.ebean.event.readaudit.ReadEvent
-
Set the source of the change (like the name of the application).
- setSource(Map<String, Object>) - Method in class io.ebean.docstore.RawDoc
-
Set the source document.
- setSql(String) - Method in interface io.ebean.CallableSql
-
Set the callable sql.
- setSql(String) - Method in class io.ebean.event.readaudit.ReadAuditQueryPlan
-
Set the sql statement.
- setSql(String) - Method in class io.ebean.meta.MetricData
- setStart(Timestamp) - Method in class io.ebean.Version
-
Set the effective start date time of this version.
- setSupportsGetGeneratedKeys(boolean) - Method in class io.ebean.config.dbplatform.DbIdentity
-
Set if GetGeneratedKeys is supported.
- setSupportsIdentity(boolean) - Method in class io.ebean.config.dbplatform.DbIdentity
-
Set to true if this DB platform supports identity (autoincrement).
- setSupportsResultSetConcurrencyModeUpdatable(boolean) - Method in class io.ebean.config.dbplatform.DatabasePlatform
-
Set to true if the ResultSet CONCUR_UPDATABLE Hint should be used by default on createNativeSqlTree() PreparedStatements.
- setSupportsSequence(boolean) - Method in class io.ebean.config.dbplatform.DbIdentity
-
Set to true if the database supports sequences.
- setTenantCatalogProvider(TenantCatalogProvider) - Method in class io.ebean.config.DatabaseConfig
-
Set the tenancy catalog provider.
- setTenantDataSourceProvider(TenantDataSourceProvider) - Method in class io.ebean.config.DatabaseConfig
-
Set the tenancy datasource provider.
- setTenantMode(TenantMode) - Method in class io.ebean.config.DatabaseConfig
-
Set the tenancy mode to use.
- setTenantPartitionColumn(String) - Method in class io.ebean.config.DatabaseConfig
-
Set the column name used for TenantMode.PARTITION.
- setTenantSchemaProvider(TenantSchemaProvider) - Method in class io.ebean.config.DatabaseConfig
-
Set the tenancy schema provider.
- setThresholdMicros(long) - Method in class io.ebean.meta.QueryPlanInit
-
Set the query execution time threshold which must be exceeded to initiate query plan collection.
- setTimeout(int) - Method in interface io.ebean.CallableSql
-
Set the statement execution timeout.
- setTimeout(int) - Method in interface io.ebean.DtoQuery
-
Set a timeout on this query.
- setTimeout(int) - Method in interface io.ebean.Query
-
Set a timeout on this query.
- setTimeout(int) - Method in interface io.ebean.SqlQuery
-
Set a timeout on this query.
- setTimeout(int) - Method in interface io.ebean.SqlUpdate
-
Set the timeout in seconds.
- setTimeout(int) - Method in interface io.ebean.Update
-
Set a timeout for statement execution.
- setTotal(Long) - Method in class io.ebean.meta.MetricData
- setTraceCount(int) - Method in interface io.ebean.ProfileLocation
-
Set the number of times to trace the transactions for this profile location.
- setTransactionManager(Object) - Method in interface io.ebean.config.ExternalTransactionManager
-
Set the transaction manager.
- setTransactionRollbackOnChecked(boolean) - Method in class io.ebean.config.DatabaseConfig
-
Set to true if transactions should by default rollback on checked exceptions.
- setTrimFrequency(int) - Method in class io.ebean.cache.ServerCacheOptions
-
Set the trim frequency in seconds.
- setTrue(String) - Method in class io.ebean.config.dbplatform.DbDefaultValue
-
Set the DB true literal.
- setTxnBatch(long) - Method in class io.ebean.event.changelog.ChangeSet
-
Sets the batch id (used by JSON tools).
- setTxnId(String) - Method in class io.ebean.event.changelog.ChangeSet
-
Set the txnId (used by JSON tools).
- setTxnState(TxnState) - Method in class io.ebean.event.changelog.ChangeSet
-
Set the state (used by JSON tools).
- setType(TxType) - Method in class io.ebean.TxScope
-
Set the transaction type.
- setType(String) - Method in class io.ebean.docstore.RawDoc
-
Set the index type.
- setUpdateAllLoadedProperties(boolean) - Method in interface io.ebean.Transaction
-
Set to true when you want all loaded properties to be included in the update (rather than just the changed properties).
- setUpdateAllPropertiesInBatch(boolean) - Method in class io.ebean.config.DatabaseConfig
-
Set to false if by default updates in JDBC batch should not include all properties.
- setUrl(String) - Method in class io.ebean.config.DocStoreConfig
-
Set the URL to the Document store.
- setUseCache(boolean) - Method in interface io.ebean.ExpressionList
-
Set to true when this query should use the bean cache.
- setUseCache(boolean) - Method in interface io.ebean.Query
-
Set this to false to not use the bean cache.
- setUseDocStore(boolean) - Method in interface io.ebean.ExpressionList
-
Set to true if this query should execute against the doc store.
- setUseDocStore(boolean) - Method in interface io.ebean.Query
-
Set to true if this query should execute against the doc store.
- setUseForeignKeyPrefix(boolean) - Method in class io.ebean.config.AbstractNamingConvention
-
Set this to false when the primary key columns matching your foreign key columns.
- setUseJtaTransactionManager(boolean) - Method in class io.ebean.config.DatabaseConfig
-
Set to true if we are running in a JTA Transaction manager.
- setUseQueryCache(boolean) - Method in interface io.ebean.ExpressionList
- setUseQueryCache(boolean) - Method in interface io.ebean.Query
- setUseQueryCache(CacheMode) - Method in interface io.ebean.ExpressionList
-
Set the
CacheMode
to use the query cache for executing this query. - setUseQueryCache(CacheMode) - Method in interface io.ebean.Query
-
Set the
CacheMode
to use the query for executing this query. - setUserContext(Map<String, String>) - Method in class io.ebean.event.changelog.ChangeSet
-
Set a user context value (anything you like).
- setUserContext(Map<String, String>) - Method in class io.ebean.event.readaudit.ReadEvent
-
Set a user context value (anything you like).
- setUserId(String) - Method in class io.ebean.event.changelog.ChangeSet
-
Set the application user Id.
- setUserId(String) - Method in class io.ebean.event.readaudit.ReadEvent
-
Set the application user Id.
- setUserIpAddress(String) - Method in class io.ebean.event.changelog.ChangeSet
-
Set the application users ip address.
- setUserIpAddress(String) - Method in class io.ebean.event.readaudit.ReadEvent
-
Set the application users ip address.
- setUsername(String) - Method in class io.ebean.config.DocStoreConfig
-
Set the user credential for connecting to the document store.
- setUseValidationNotNull(boolean) - Method in class io.ebean.config.DatabaseConfig
-
Controls if Ebean should ignore
&x64;javax.validation.contstraints.NotNull
or&x64;jakarta.validation.contstraints.NotNull
with respect to generating aNOT NULL
column. - setUuidStateFile(String) - Method in class io.ebean.config.DatabaseConfig
-
Set the UUID state file.
- setUuidVersion(DatabaseConfig.UuidVersion) - Method in class io.ebean.config.DatabaseConfig
-
Sets the UUID version mode.
- setVerbose(boolean) - Method in class io.ebean.config.ProfilingConfig
-
Set to true to use verbose mode.
- SHARE - io.ebean.Query.LockType
-
FOR SHARE (Postgres only).
- should() - Method in interface io.ebean.ExpressionList
-
Start a list of expressions that will be joined by SHOULD.
- SHOULD - io.ebean.Junction.Type
-
Text search OR group.
- shutdown() - Method in interface io.ebean.Database
-
Shutdown the Database instance.
- shutdown() - Static method in class io.ebean.DatabaseFactory
-
Shutdown gracefully all Database instances cleaning up any resources as required.
- shutdown() - Static method in class io.ebean.EbeanServerFactory
-
Deprecated.Shutdown gracefully all EbeanServers cleaning up any resources as required.
- shutdown() - Static method in class io.ebean.event.ShutdownManager
-
Shutdown gracefully cleaning up any resources as required.
- shutdown() - Method in interface io.ebean.plugin.Plugin
-
Called when the server is shutting down.
- shutdown() - Method in interface io.ebean.service.SpiContainer
-
Shutdown any Ebean wide resources such as clustering.
- shutdown(boolean) - Method in interface io.ebean.config.TenantDataSourceProvider
-
Shutdown all the DataSources.
- shutdown(boolean, boolean) - Method in interface io.ebean.Database
-
Shutdown the Database instance programmatically.
- ShutdownManager - Class in io.ebean.event
-
Manages the shutdown of the JVM Runtime.
- SimpleSequenceIdGenerator - Class in io.ebean.config.dbplatform
-
A very simple Database sequence based IdGenerator.
- SimpleSequenceIdGenerator(DataSource, String, String) - Constructor for class io.ebean.config.dbplatform.SimpleSequenceIdGenerator
-
Construct given a dataSource and sql to return the next sequence value.
- SingleBeanLoader - Class in io.ebean.bean
-
BeanLoader used when single beans are loaded (which is usually not ideal / N+1).
- SingleBeanLoader.Dflt - Class in io.ebean.bean
-
Single bean lazy loaded when a reference bean.
- SingleBeanLoader.L2 - Class in io.ebean.bean
-
Single bean lazy loaded when bean from L2 cache.
- SingleBeanLoader.Ref - Class in io.ebean.bean
-
Single bean lazy loaded when a reference bean.
- size() - Method in interface io.ebean.bean.BeanCollection
-
Return the number of elements in the List Set or Map.
- size() - Method in interface io.ebean.cache.ServerCache
-
Return the number of entries in the cache.
- size() - Method in class io.ebean.common.BeanList
- size() - Method in class io.ebean.common.BeanMap
- size() - Method in class io.ebean.common.BeanSet
- size() - Method in class io.ebean.common.CopyOnFirstWriteList
- size() - Method in class io.ebean.event.changelog.ChangeSet
-
Return the number of changes in the change set.
- size() - Method in interface io.ebean.SqlRow
-
Return the size of the map.
- size(Class<?>) - Method in interface io.ebean.bean.PersistenceContext
-
Return the number of beans of the given type in the persistence context.
- SKIPLOCKED - io.ebean.Query.LockWait
-
For update with Skip Locked option.
- SlowQueryEvent - Class in io.ebean.config
-
Slow query event.
- SlowQueryEvent(String, long, int, ObjectGraphNode) - Constructor for class io.ebean.config.SlowQueryEvent
-
Construct with the SQL and execution time in millis.
- SlowQueryListener - Interface in io.ebean.config
-
Listener for slow query events.
- SMALLINT - io.ebean.config.dbplatform.DbType
- softDeleted(Object) - Method in class io.ebean.event.AbstractBeanPersistListener
-
Notified that a bean has been soft deleted.
- softDeleted(Object) - Method in interface io.ebean.event.BeanPersistListener
-
Notified that a bean has been soft deleted.
- sort(String) - Method in interface io.ebean.Filter
-
Specify a sortByClause.
- sort(Comparator<? super E>) - Method in class io.ebean.common.CopyOnFirstWriteList
- sort(List<T>, String) - Method in interface io.ebean.Database
-
Sort the list in memory using the sortByClause which can contain a comma delimited list of property names and keywords asc, desc, nullsHigh and nullsLow.
- sort(List<T>, String) - Static method in class io.ebean.DB
-
Sort the list using the sortByClause which can contain a comma delimited list of property names and keywords asc, desc, nullsHigh and nullsLow.
- sort(List<T>, String) - Static method in class io.ebean.Ebean
-
Deprecated.Sort the list using the sortByClause which can contain a comma delimited list of property names and keywords asc, desc, nullsHigh and nullsLow.
- SortMetric - Class in io.ebean.meta
-
Comparator for timed metrics sorted by name and then count.
- SortMetric() - Constructor for class io.ebean.meta.SortMetric
- SortMetric.Count - Class in io.ebean.meta
-
Sort by count desc.
- SortMetric.CountName - Class in io.ebean.meta
-
Sort MetaCountMetric's by name.
- SortMetric.Max - Class in io.ebean.meta
-
Sort by max desc.
- SortMetric.Mean - Class in io.ebean.meta
-
Sort by mean desc.
- SortMetric.Name - Class in io.ebean.meta
-
Sort by name.
- SortMetric.Total - Class in io.ebean.meta
-
Sort by total time desc.
- SpiContainer - Interface in io.ebean.service
-
Creates the Database implementations.
- SpiContainerFactory - Interface in io.ebean.service
-
Provides shutdown of the entire container.
- SpiFetchGroupQuery<T> - Interface in io.ebean.service
-
Extension of Query to build FetchGroup via query beans.
- SpiFetchGroupService - Interface in io.ebean.service
-
Service that parses FetchGroup expressions.
- SpiJsonService - Interface in io.ebean.service
-
JSON service that Ebean is expected to provide.
- SpiProfileLocationFactory - Interface in io.ebean.service
-
Factory for creating profile locations.
- SpiRawSqlService - Interface in io.ebean.service
-
Service provided by Ebean for parsing and column mapping raw SQL queries.
- SpiServer - Interface in io.ebean.plugin
-
Extensions to Database API made available to plugins.
- split(String) - Static method in class io.ebean.util.SplitName
-
Return the name split by last.
- splitBegin(String) - Static method in class io.ebean.util.SplitName
- SplitName - Class in io.ebean.util
-
Helper for dot notation property paths.
- SplitName() - Constructor for class io.ebean.util.SplitName
- splitNames(String) - Static method in class io.ebean.util.StringHelper
-
Splits at any whitespace "," or ";" and trims the result.
- SqlAnywhereLimiter - Class in io.ebean.config.dbplatform.sqlanywhere
-
Use top xx and start at xx to limit sql results.
- SqlAnywhereLimiter() - Constructor for class io.ebean.config.dbplatform.sqlanywhere.SqlAnywhereLimiter
- SqlAnywherePlatform - Class in io.ebean.config.dbplatform.sqlanywhere
-
Sybase SQL Anywhere specific platform.
- SqlAnywherePlatform() - Constructor for class io.ebean.config.dbplatform.sqlanywhere.SqlAnywherePlatform
- SqlCodeTranslator - Class in io.ebean.config.dbplatform
-
Translate SQLException based on SQLState codes.
- SqlCodeTranslator() - Constructor for class io.ebean.config.dbplatform.SqlCodeTranslator
-
Create "No-op" implementation.
- SqlCodeTranslator(Map<String, DataErrorType>) - Constructor for class io.ebean.config.dbplatform.SqlCodeTranslator
-
Create given the map of SQLState codes to error types.
- SqlErrorCodes - Class in io.ebean.config.dbplatform
-
Used to build a SQLCodeTranslator given DB platform specific codes.
- SqlErrorCodes() - Constructor for class io.ebean.config.dbplatform.SqlErrorCodes
- SqlExceptionTranslator - Interface in io.ebean.config.dbplatform
-
Used to translate SQLExceptions to specific persistence exceptions.
- SQLitePlatform - Class in io.ebean.config.dbplatform.sqlite
- SQLitePlatform() - Constructor for class io.ebean.config.dbplatform.sqlite.SQLitePlatform
- SqlLimiter - Interface in io.ebean.config.dbplatform
-
Adds SQL limiting to a query (such as LIMIT OFFSET).
- SqlLimitRequest - Interface in io.ebean.config.dbplatform
-
The request object for the query that can have sql limiting applied to it (such as a LIMIT OFFSET clause).
- SqlLimitResponse - Class in io.ebean.config.dbplatform
-
The resulting SQL from a SqlLimit process.
- SqlLimitResponse(String) - Constructor for class io.ebean.config.dbplatform.SqlLimitResponse
-
Create the response.
- sqlQuery(String) - Method in interface io.ebean.Database
-
Look to execute a native sql query that does not returns beans but instead returns SqlRow or direct access to ResultSet (see
SqlQuery.findList(RowMapper)
. - sqlQuery(String) - Static method in class io.ebean.DB
-
Look to execute a native sql query that does not returns beans but instead returns SqlRow or direct access to ResultSet (see
SqlQuery.findList(RowMapper)
. - SqlQuery - Interface in io.ebean
-
Query object for performing native SQL queries that return SqlRow or directly read ResultSet using a RowMapper.
- SqlQuery.TypeQuery<T> - Interface in io.ebean
-
Query mapping to single scalar values.
- sqlRow(ResultSet, String, boolean) - Static method in interface io.ebean.RawSqlBuilder
-
Create and return a SqlRow based on the resultSet with dbTrueValue and binaryOptimizedUUID options.
- sqlRow(ResultSet, String, boolean) - Method in interface io.ebean.service.SpiRawSqlService
-
Create based on a JDBC ResultSet.
- SqlRow - Interface in io.ebean
-
Used to return raw SQL query results.
- SqlServer16Platform - Class in io.ebean.config.dbplatform.sqlserver
-
Microsoft SQL Server platform that has non-UTF8 types (char, varchar, text) and default to Identity rather than Sequence.
- SqlServer16Platform() - Constructor for class io.ebean.config.dbplatform.sqlserver.SqlServer16Platform
- SqlServer17Platform - Class in io.ebean.config.dbplatform.sqlserver
-
Microsoft SQL Server platform - NVarchar UTF types and Sequence preference.
- SqlServer17Platform() - Constructor for class io.ebean.config.dbplatform.sqlserver.SqlServer17Platform
- SqlServerBasicSqlLimiter - Class in io.ebean.config.dbplatform.sqlserver
-
SQL Server 2012 style limiter for raw sql.
- SqlServerBasicSqlLimiter() - Constructor for class io.ebean.config.dbplatform.sqlserver.SqlServerBasicSqlLimiter
- SqlServerHistorySupport - Class in io.ebean.config.dbplatform.sqlserver
-
History support only valid on SqlServer 2016 or later.
- SqlServerHistorySupport() - Constructor for class io.ebean.config.dbplatform.sqlserver.SqlServerHistorySupport
- SqlServerSqlLimiter - Class in io.ebean.config.dbplatform.sqlserver
-
Use ANSI offset rows syntax or top n - SQL Server 2012 onwards.
- SqlServerSqlLimiter() - Constructor for class io.ebean.config.dbplatform.sqlserver.SqlServerSqlLimiter
- SqlServerStepSequence - Class in io.ebean.config.dbplatform.sqlserver
- SqlServerStepSequence(BackgroundExecutor, DataSource, String, int) - Constructor for class io.ebean.config.dbplatform.sqlserver.SqlServerStepSequence
-
Construct where batchSize is the sequence step size.
- sqlUpdate(String) - Method in interface io.ebean.Database
-
Look to execute a native sql insert update or delete statement.
- sqlUpdate(String) - Static method in class io.ebean.DB
-
Look to execute a native sql insert update or delete statement.
- SqlUpdate - Interface in io.ebean
-
A SqlUpdate for executing insert update or delete statements.
- STARTS_WITH - io.ebean.LikeType
-
The % wildcard is added to the end of the search word and search word is escaped.
- startsWith(String, String) - Static method in class io.ebean.Expr
-
Starts With - property like value%.
- startsWith(String, String) - Method in interface io.ebean.ExpressionFactory
-
Starts With - property like value%.
- startsWith(String, String) - Method in interface io.ebean.ExpressionList
-
Starts With - property like value%.
- startsWith(String, String) - Method in interface io.ebean.Filter
-
Starts With.
- StringFormatter - Interface in io.ebean.text
-
Convert an Object value into a String value.
- StringHelper - Class in io.ebean.util
-
Utility String class that supports String manipulation functions.
- StringHelper() - Constructor for class io.ebean.util.StringHelper
- StringParser - Interface in io.ebean.text
-
Convert a String value into an Object value.
- subList(int, int) - Method in class io.ebean.common.BeanList
- submit(Runnable) - Method in interface io.ebean.BackgroundExecutor
-
Execute a runnable task in the background returning the Future.
- submit(Callable<T>) - Method in interface io.ebean.BackgroundExecutor
-
Execute a callable task in the background returning the Future.
- supports() - Static method in class io.ebean.TxScope
-
Helper method to create a TxScope with SUPPORTS.
- supportsSelect() - Method in class io.ebean.OrderBy
-
Return true if this order by can be used in select clause.
T
- tableAliasMapping(String, String) - Method in interface io.ebean.RawSqlBuilder
-
Modify any column mappings with the given table alias to have the path prefix.
- tableExists(Connection, String, String, String) - Method in class io.ebean.config.dbplatform.DatabasePlatform
-
Return true if the table exists.
- TableName - Class in io.ebean.config
-
TableName holds catalog, schema and table name.
- TableName(String) - Constructor for class io.ebean.config.TableName
-
Construct splitting the qualifiedTableName potentially into catalog, schema and name.
- TableName(String, String, String) - Constructor for class io.ebean.config.TableName
-
Construct with the given catalog schema and table name.
- tablePartitionInit(String, PartitionMode, String, String) - Method in class io.ebean.config.dbplatform.DatabasePlatform
-
Return the SQL to create an initial partition for the given table.
- tablePartitionInit(String, PartitionMode, String, String) - Method in class io.ebean.config.dbplatform.postgres.PostgresPlatform
-
Return SQL using built in partition helper functions to create some initial partitions.
- tablePartitionsExist(Connection, String) - Method in class io.ebean.config.dbplatform.DatabasePlatform
-
Return true if partitions exist for the given table.
- tablePartitionsExist(Connection, String) - Method in class io.ebean.config.dbplatform.postgres.PostgresPlatform
- TenantAwareKey - Class in io.ebean.cache
-
Tenant aware handling for caching.
- TenantAwareKey(CurrentTenantProvider) - Constructor for class io.ebean.cache.TenantAwareKey
-
Construct with a tenant provider than can be null.
- TenantAwareKey.CacheKey - Class in io.ebean.cache
-
We use a combined key, if this serverCache is per tenant.
- TenantCatalogProvider - Interface in io.ebean.config
-
For multi-tenancy via DB CATALOG supply the catalog given the tenantId.
- TenantDataSourceProvider - Interface in io.ebean.config
-
For multi-tenancy via DB supply the DataSource given the tenantId.
- TenantMode - Enum in io.ebean.config
-
The mode to use for multi-tenancy.
- TenantSchemaProvider - Interface in io.ebean.config
-
For multi-tenancy via DB SCHEMA supply the schema given the tenantId.
- text() - Method in interface io.ebean.Query
-
Add Full text search expressions for Document store queries.
- textCommonTerms(String, TextCommonTerms) - Method in interface io.ebean.ExpressionFactory
-
Create a text common terms expression (currently doc store/Elastic only).
- textCommonTerms(String, TextCommonTerms) - Method in interface io.ebean.ExpressionList
-
Add common terms expression.
- TextCommonTerms - Class in io.ebean.search
-
Text common terms query.
- TextCommonTerms() - Constructor for class io.ebean.search.TextCommonTerms
- TextException - Exception in io.ebean.text
-
An exception occurred typically in processing CSV, JSON or XML.
- TextException(Exception) - Constructor for exception io.ebean.text.TextException
-
Construct with a cause.
- TextException(String) - Constructor for exception io.ebean.text.TextException
-
Construct with an error message.
- TextException(String, Exception) - Constructor for exception io.ebean.text.TextException
-
Construct with a message and cause.
- TextException(String, String) - Constructor for exception io.ebean.text.TextException
-
Constructor for a detailed exception.
- TextException(String, String, Exception) - Constructor for exception io.ebean.text.TextException
-
Constructor for a detailed exception.
- textMatch(String, String, Match) - Method in interface io.ebean.ExpressionFactory
-
Create a Text Match expression (currently doc store/Elastic only).
- textMultiMatch(String, MultiMatch) - Method in interface io.ebean.ExpressionFactory
-
Create a Text Multi match expression (currently doc store/Elastic only).
- textQueryString(String, TextQueryString) - Method in interface io.ebean.ExpressionFactory
-
Create a text query string expression (currently doc store/Elastic only).
- textQueryString(String, TextQueryString) - Method in interface io.ebean.ExpressionList
-
Add a query string expression.
- TextQueryString - Class in io.ebean.search
-
Text query string options.
- TextQueryString(String...) - Constructor for class io.ebean.search.TextQueryString
-
Construct with the fields to use.
- textSimple(String, TextSimple) - Method in interface io.ebean.ExpressionFactory
-
Create a text simple query expression (currently doc store/Elastic only).
- textSimple(String, TextSimple) - Method in interface io.ebean.ExpressionList
-
Add a simple query string expression.
- TextSimple - Class in io.ebean.search
-
Simple text query options.
- TextSimple() - Constructor for class io.ebean.search.TextSimple
-
Construct
- tieBreaker(double) - Method in class io.ebean.search.MultiMatch
-
Set the tieBreaker to use.
- tieBreaker(double) - Method in class io.ebean.search.TextQueryString
-
Set tieBreaker option (when multiple fields only).
- TIME - io.ebean.config.dbplatform.DbType
- TimedMetric - Interface in io.ebean.metric
-
Metric for timed events like transaction execution times.
- TimedMetricMap - Interface in io.ebean.metric
-
A map of timed metrics keyed by a string.
- TimedMetricStats - Interface in io.ebean.metric
-
Extend public MetaTimedMetric with ability to set details from profile location.
- TIMESTAMP - io.ebean.config.dbplatform.DbType
- TimeStringParser - Class in io.ebean.text
-
Parser for TIME types that supports both HH:mm:ss and HH:mm.
- TimeStringParser() - Constructor for class io.ebean.text.TimeStringParser
- timeZone(String) - Method in class io.ebean.search.TextQueryString
-
Set the time zone.
- TINYINT - io.ebean.config.dbplatform.DbType
- toArray() - Method in class io.ebean.common.BeanList
- toArray() - Method in class io.ebean.common.BeanSet
- toArray() - Method in class io.ebean.common.CopyOnFirstWriteList
- toArray(T[]) - Method in class io.ebean.common.BeanList
- toArray(T[]) - Method in class io.ebean.common.BeanSet
- toArray(T[]) - Method in class io.ebean.common.CopyOnFirstWriteList
- toBean(Class<T>, JsonParser) - Method in interface io.ebean.text.json.JsonContext
-
Convert json parser input into a Bean of a specific type.
- toBean(Class<T>, JsonParser, JsonReadOptions) - Method in interface io.ebean.text.json.JsonContext
-
Convert json parser input into a Bean of a specific type additionally using JsonReadOptions..
- toBean(Class<T>, Reader) - Method in interface io.ebean.text.json.JsonContext
-
Convert json reader input into a Bean of a specific type.
- toBean(Class<T>, Reader, JsonReadOptions) - Method in interface io.ebean.text.json.JsonContext
-
Convert json reader input into a Bean of a specific type additionally using JsonReadOptions.
- toBean(Class<T>, String) - Method in interface io.ebean.text.json.JsonContext
-
Convert json string input into a Bean of a specific type.
- toBean(Class<T>, String, JsonReadOptions) - Method in interface io.ebean.text.json.JsonContext
-
Convert json string input into a Bean of a specific type additionally using JsonReadOptions.
- toCamelFromUnderscore(String) - Static method in class io.ebean.util.CamelCaseHelper
-
To camel from underscore.
- toJson(Object) - Method in interface io.ebean.text.json.JsonContext
-
Return the bean or collection as JSON string.
- toJson(Object, JsonGenerator) - Method in interface io.ebean.text.json.JsonContext
-
Write the bean or collection to the JsonGenerator.
- toJson(Object, JsonGenerator, FetchPath) - Method in interface io.ebean.text.json.JsonContext
-
Write the bean or collection to the JsonGenerator using the FetchPath.
- toJson(Object, JsonGenerator, JsonWriteOptions) - Method in interface io.ebean.text.json.JsonContext
-
Deprecated in favour of using PathProperties by itself.
- toJson(Object, FetchPath) - Method in interface io.ebean.text.json.JsonContext
-
Return the bean or collection as JSON string using FetchPath.
- toJson(Object, JsonWriteOptions) - Method in interface io.ebean.text.json.JsonContext
-
Deprecated in favour of using PathProperties by itself.
- toJson(Object, Writer) - Method in interface io.ebean.text.json.JsonContext
-
Write the bean or collection in JSON format to the writer.
- toJson(Object, Writer, FetchPath) - Method in interface io.ebean.text.json.JsonContext
-
Write the bean or collection as json to the writer using the FetchPath.
- toJson(Object, Writer, JsonWriteOptions) - Method in interface io.ebean.text.json.JsonContext
-
Deprecated in favour of using PathProperties by itself.
- toJsonPretty(Object) - Method in interface io.ebean.text.json.JsonContext
-
Return the bean or collection as JSON string in pretty format.
- toList(Class<T>, JsonParser) - Method in interface io.ebean.text.json.JsonContext
-
Convert json parser input into a list of beans of a specific type.
- toList(Class<T>, JsonParser, JsonReadOptions) - Method in interface io.ebean.text.json.JsonContext
-
Convert json parser input into a list of beans of a specific type additionally using JsonReadOptions.
- toList(Class<T>, Reader) - Method in interface io.ebean.text.json.JsonContext
-
Convert json reader input into a list of beans of a specific type.
- toList(Class<T>, Reader, JsonReadOptions) - Method in interface io.ebean.text.json.JsonContext
-
Convert json reader input into a list of beans of a specific type additionally using JsonReadOptions.
- toList(Class<T>, String) - Method in interface io.ebean.text.json.JsonContext
-
Convert json string input into a list of beans of a specific type.
- toList(Class<T>, String, JsonReadOptions) - Method in interface io.ebean.text.json.JsonContext
-
Convert json string input into a list of beans of a specific type additionally using JsonReadOptions.
- toObject(Type, JsonParser) - Method in interface io.ebean.text.json.JsonContext
-
Use the genericType to determine if this should be converted into a List or bean.
- toObject(Type, Reader) - Method in interface io.ebean.text.json.JsonContext
-
Use the genericType to determine if this should be converted into a List or bean.
- toObject(Type, String) - Method in interface io.ebean.text.json.JsonContext
-
Use the genericType to determine if this should be converted into a List or bean.
- toSqlLiteral(String, Class<?>, int) - Static method in class io.ebean.config.dbplatform.DbDefaultValue
-
This method checks and converts the
DbDefault.value()
to a valid SQL literal. - toString() - Method in class io.ebean.bean.CallStack
- toString() - Method in class io.ebean.bean.NodeUsageCollector
- toString() - Method in class io.ebean.bean.ObjectGraphNode
- toString() - Method in class io.ebean.bean.ObjectGraphOrigin
- toString() - Method in class io.ebean.cache.ServerCacheNotification
- toString() - Method in class io.ebean.cache.ServerCacheStatistics
- toString() - Method in class io.ebean.cache.TenantAwareKey.CacheKey
- toString() - Method in class io.ebean.common.BeanList
- toString() - Method in class io.ebean.common.BeanMap
- toString() - Method in class io.ebean.common.BeanSet
- toString() - Method in class io.ebean.config.TableName
- toString() - Method in class io.ebean.CountedValue
- toString() - Method in class io.ebean.event.changelog.BeanChange
- toString() - Method in class io.ebean.event.changelog.ChangeSet
- toString() - Method in class io.ebean.event.readaudit.ReadAuditQueryPlan
- toString() - Method in class io.ebean.OrderBy.Property
- toString() - Method in class io.ebean.OrderBy
- toString() - Method in class io.ebean.Pairs.Entry
- toString() - Method in class io.ebean.Pairs
- toString() - Method in interface io.ebean.SqlRow
-
String description of the underlying map.
- toString() - Method in class io.ebean.text.PathProperties.Props
- toString() - Method in class io.ebean.text.PathProperties
- toString() - Method in class io.ebean.TxScope
-
Describes this TxScope instance.
- toString() - Method in class io.ebean.ValuePair
- toStringFormat() - Method in class io.ebean.OrderBy.Property
- toStringFormat() - Method in class io.ebean.OrderBy
-
Returns the OrderBy in string format.
- Total() - Constructor for class io.ebean.meta.SortMetric.Total
- TOTAL - Static variable in class io.ebean.meta.SortMetric
- touch() - Static method in class io.ebean.event.ShutdownManager
-
Make sure the ShutdownManager is activated.
- toUnderscoreFromCamel(String) - Static method in class io.ebean.util.CamelCaseHelper
-
To underscore from camel case using digits compressed true and force upper case false.
- toUnderscoreFromCamel(String, boolean, boolean) - Static method in class io.ebean.util.CamelCaseHelper
-
Convert and return the string to underscore from camel case.
- trace() - Method in interface io.ebean.ProfileLocation
-
Return true if this request should be traced.
- Transaction - Interface in io.ebean
-
The Transaction object.
- TRANSACTION - io.ebean.PersistenceContextScope
-
PersistenceContext is scoped to the transaction.
- TransactionCallback - Interface in io.ebean
-
Provides a callback that can be registered with a Transaction.
- TransactionCallbackAdapter - Class in io.ebean
-
Adapter that can be extended for easier implementation of TransactionCallback.
- TransactionCallbackAdapter() - Constructor for class io.ebean.TransactionCallbackAdapter
- translate(String, SQLException) - Method in class io.ebean.config.dbplatform.DatabasePlatform
-
Translate the SQLException into a specific persistence exception if possible.
- translate(String, SQLException) - Method in class io.ebean.config.dbplatform.SqlCodeTranslator
- translate(String, SQLException) - Method in interface io.ebean.config.dbplatform.SqlExceptionTranslator
-
Translate the given exception.
- trim(String) - Method in class io.ebean.OrderBy.Property
-
Trim off the pathPrefix.
- trimQuotes(String) - Method in class io.ebean.config.DbConstraintNormalise
-
Trim off the platform quoted identifier quotes like [ ' and ".
- TRUE - Static variable in class io.ebean.config.dbplatform.DbDefaultValue
-
The key for TRUE.
- truncate(Class<?>...) - Method in interface io.ebean.Database
-
Truncate the base tables for the given bean types.
- truncate(Class<?>...) - Static method in class io.ebean.DB
-
Truncate the base tables for the given bean types.
- truncate(String...) - Method in interface io.ebean.Database
-
Truncate all the given tables.
- truncate(String...) - Static method in class io.ebean.DB
-
Truncate the given tables.
- truncateStatement(String) - Method in class io.ebean.config.dbplatform.DatabasePlatform
-
Return a statement to truncate a table.
- TxnState - Enum in io.ebean.event.changelog
-
Transaction state when ChangeSets are sent to the ChangeSetListener.
- TxScope - Class in io.ebean
-
Holds the definition of how a transactional method should run.
- TxScope() - Constructor for class io.ebean.TxScope
-
Create a REQUIRED transaction scope.
- TxScope(TxType) - Constructor for class io.ebean.TxScope
-
Create with a given transaction scope type.
- type(MultiMatch.Type) - Method in class io.ebean.search.MultiMatch
-
Set the type of query.
- typeGet(Class<?>, Class<A>) - Static method in class io.ebean.util.AnnotationUtil
-
On class get the annotation - includes inheritance.
- typeGetAll(Class<?>, Class<A>) - Static method in class io.ebean.util.AnnotationUtil
-
On class get all the annotations - includes inheritance.
- typeHas(Class<?>, Class<A>) - Static method in class io.ebean.util.AnnotationUtil
-
On class simple check for annotation - includes inheritance.
U
- UnderscoreNamingConvention - Class in io.ebean.config
-
Converts between Camel Case and Underscore based names for both table and column names (and is the default naming convention in Ebean).
- UnderscoreNamingConvention() - Constructor for class io.ebean.config.UnderscoreNamingConvention
-
Create with a sequence format of "{table}_seq".
- UnderscoreNamingConvention(String) - Constructor for class io.ebean.config.UnderscoreNamingConvention
-
Create with a given sequence format.
- uniqueConstraintName(String, String) - Method in class io.ebean.config.DbConstraintNaming
-
Return the unique constraint name.
- uniqueConstraintName(String, String[]) - Method in class io.ebean.config.DbConstraintNaming
-
Return the unique constraint name.
- unparsed(String) - Static method in interface io.ebean.RawSqlBuilder
-
Return an unparsed RawSqlBuilder.
- unparsed(String) - Method in interface io.ebean.service.SpiRawSqlService
-
Unparsed SQL so explicit column mapping expected.
- unQuote(String) - Method in class io.ebean.config.dbplatform.DatabasePlatform
-
Remove quoted identifier quotes from the table or column name if present.
- unregisterDatabase(Database) - Static method in class io.ebean.event.ShutdownManager
-
Deregister an ebeanServer.
- unwrapValue(B) - Method in interface io.ebean.config.ScalarTypeConverter
-
Convert the value object into a scalar value that Ebean knows how to persist.
- update() - Method in interface io.ebean.ExpressionList
-
Execute as a update query.
- update() - Method in class io.ebean.Finder
-
Creates an update query.
- update() - Method in class io.ebean.Model
-
Update this entity.
- update() - Method in interface io.ebean.Query
-
Execute the UpdateQuery returning the number of rows updated.
- update() - Method in interface io.ebean.UpdateQuery
-
Execute the update returning the number of rows updated.
- update(Query<T>, Transaction) - Method in interface io.ebean.ExtendedServer
-
Execute the update query returning the number of rows updated.
- update(Transaction) - Method in interface io.ebean.ExpressionList
-
Execute as a update query with the given transaction.
- update(Transaction) - Method in class io.ebean.Model
-
Update this entity with an explicit transaction.
- update(Transaction) - Method in interface io.ebean.Query
-
Execute the UpdateQuery returning the number of rows updated using the given transaction.
- update(Class<T>) - Method in interface io.ebean.Database
-
Create an Update query to perform a bulk update.
- update(Class<T>) - Static method in class io.ebean.DB
-
Create an Update query to perform a bulk update.
- update(Class<T>) - Static method in class io.ebean.Ebean
-
Deprecated.Create an Update query to perform a bulk update.
- update(Object) - Method in interface io.ebean.Database
-
Saves the bean using an update.
- update(Object) - Static method in class io.ebean.DB
-
Saves the bean using an update.
- update(Object) - Static method in class io.ebean.Ebean
-
Deprecated.Saves the bean using an update.
- update(Object, Transaction) - Method in interface io.ebean.Database
-
Update a bean additionally specifying a transaction.
- update(T) - Method in class io.ebean.BeanRepository
-
Update this entity.
- Update<T> - Interface in io.ebean
-
An Insert Update or Delete statement.
- UPDATE - io.ebean.event.changelog.ChangeType
-
The change was an update.
- UPDATE - io.ebean.Query.LockType
-
FOR UPDATE.
- UPDATE - io.ebean.QueryType
-
An update query.
- updateAll(Collection<?>) - Method in interface io.ebean.Database
-
Update a collection of beans.
- updateAll(Collection<?>) - Static method in class io.ebean.DB
-
Update the beans in the collection.
- updateAll(Collection<?>) - Static method in class io.ebean.Ebean
-
Deprecated.Update the beans in the collection.
- updateAll(Collection<?>, Transaction) - Method in interface io.ebean.Database
-
Update a collection of beans with an explicit transaction.
- updated(Object, Set<String>) - Method in class io.ebean.event.AbstractBeanPersistListener
-
Notified that a bean has been updated.
- updated(Object, Set<String>) - Method in interface io.ebean.event.BeanPersistListener
-
Notified that a bean has been updated.
- updateEmbedded(Object, String, String, DocUpdateContext) - Method in interface io.ebean.plugin.BeanDocType
-
Add a embedded document update to the doc store.
- UpdateQuery<T> - Interface in io.ebean
-
An update query typically intended to perform a bulk update of many rows that match the query.
- useBinary() - Method in enum io.ebean.config.PlatformConfig.DbUuid
-
Return true if BINARY(16) storage is preferred over VARCHAR(40).
- useBinaryOptimized() - Method in enum io.ebean.config.PlatformConfig.DbUuid
-
Return true, if optimized packing should be used.
- useContains() - Method in interface io.ebean.ExampleExpression
-
Use contains expression for string properties.
- useDisMax(boolean) - Method in class io.ebean.search.TextQueryString
-
Set useDisMax option (when multiple fields only).
- useEndsWith() - Method in interface io.ebean.ExampleExpression
-
Use endsWith expression for string properties.
- useEqualTo() - Method in interface io.ebean.ExampleExpression
-
Use equal to expression for string properties.
- useExtraTransactionOnIterateSecondaryQueries() - Method in class io.ebean.config.dbplatform.DatabasePlatform
-
Return true if the JDBC driver does not allow additional queries to execute when a resultSet is being 'streamed' as is the case with findEach() etc.
- useNativeType() - Method in enum io.ebean.config.PlatformConfig.DbUuid
-
Return true if native UUID type is preferred.
- useStartsWith() - Method in interface io.ebean.ExampleExpression
-
Use startsWith expression for string properties.
- usingConnection(Connection) - Method in interface io.ebean.ExpressionList
-
Execute the query using the given connection.
- usingConnection(Connection) - Method in interface io.ebean.Query
-
Execute the query using the given connection.
- usingDatabase(Database) - Method in interface io.ebean.Query
-
Execute the query using the given database.
- usingTransaction(Transaction) - Method in interface io.ebean.DtoQuery
-
Use the explicit transaction to execute the query.
- usingTransaction(Transaction) - Method in interface io.ebean.ExpressionList
-
Execute the query using the given transaction.
- usingTransaction(Transaction) - Method in interface io.ebean.Query
-
Execute the query using the given transaction.
- UUID - io.ebean.config.dbplatform.DbType
- UUID - Static variable in interface io.ebean.config.dbplatform.ExtraDbTypes
-
DB native UUID type (H2 and Postgres).
V
- validate() - Method in interface io.ebean.Query
-
Returns the set of properties or paths that are unknown (do not map to known properties or paths).
- validateQuery(Query<T>) - Method in interface io.ebean.Database
-
Returns the set of properties/paths that are unknown (do not map to known properties or paths).
- valueOf(String) - Static method in enum io.ebean.bean.BeanCollection.ModifyListenMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.cache.ServerCacheType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.CacheMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.config.AutoTuneMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.config.DatabaseConfig.UuidVersion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.config.dbplatform.DatabasePlatform.OnQueryOnly
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.config.dbplatform.DataErrorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.config.dbplatform.DbType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.config.dbplatform.IdType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.config.EncryptDeploy.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.config.JsonConfig.Date
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.config.JsonConfig.DateTime
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.config.JsonConfig.Include
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.config.PlatformConfig.DbUuid
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.config.TenantMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.CountDistinctOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.DocStoreQueueEntry.Action
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.event.changelog.ChangeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.event.changelog.TxnState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.Junction.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.LikeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.PersistenceContextScope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.Query.LockType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.Query.LockWait
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.QueryType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.ebean.search.MultiMatch.Type
-
Returns the enum constant of this type with the specified name.
- ValuePair - Class in io.ebean
-
Holds two values as the result of a difference comparison.
- ValuePair() - Constructor for class io.ebean.ValuePair
-
Default constructor for JSON tools.
- ValuePair(Object, Object) - Constructor for class io.ebean.ValuePair
-
Construct with the pair of new and old values.
- values() - Static method in enum io.ebean.bean.BeanCollection.ModifyListenMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.cache.ServerCacheType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.CacheMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class io.ebean.common.BeanMap
- values() - Static method in enum io.ebean.config.AutoTuneMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.config.DatabaseConfig.UuidVersion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.config.dbplatform.DatabasePlatform.OnQueryOnly
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.config.dbplatform.DataErrorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.config.dbplatform.DbType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.config.dbplatform.IdType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.config.EncryptDeploy.Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.config.JsonConfig.Date
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.config.JsonConfig.DateTime
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.config.JsonConfig.Include
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.config.PlatformConfig.DbUuid
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.config.TenantMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.CountDistinctOrder
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.DocStoreQueueEntry.Action
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.event.changelog.ChangeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.event.changelog.TxnState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.Junction.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.LikeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.PersistenceContextScope
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.Query.LockType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.Query.LockWait
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.QueryType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.ebean.search.MultiMatch.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in interface io.ebean.SqlRow
-
Return the values from this map.
- VARBINARY - io.ebean.config.dbplatform.DbType
- VARCHAR - io.ebean.config.dbplatform.DbType
- VARCHAR - io.ebean.config.PlatformConfig.DbUuid
-
Store using DB VARCHAR(40).
- Version<T> - Class in io.ebean
-
Wraps a version of a @History bean.
- Version() - Constructor for class io.ebean.Version
-
Default constructor - useful for JSON tools such as Jackson.
- Version(T, Timestamp, Timestamp) - Constructor for class io.ebean.Version
-
Construct with bean and an effective date time range.
- VERSION1 - io.ebean.config.DatabaseConfig.UuidVersion
- VERSION1RND - io.ebean.config.DatabaseConfig.UuidVersion
- VERSION4 - io.ebean.config.DatabaseConfig.UuidVersion
- visit(int, Object, Object) - Method in interface io.ebean.bean.BeanDiffVisitor
-
Collect a new/old value pair.
- visit(MetricVisitor) - Method in interface io.ebean.cache.ServerCache
-
Visit the metrics for the cache.
- visit(MetricVisitor) - Method in interface io.ebean.cache.ServerCacheFactory
-
Visit the metrics for the cache.
- visit(MetricVisitor) - Method in interface io.ebean.metric.CountMetric
-
Visit non empty metrics.
- visit(MetricVisitor) - Method in interface io.ebean.metric.QueryPlanMetric
-
Visit the underlying metric.
- visit(MetricVisitor) - Method in interface io.ebean.metric.TimedMetric
-
Visit non empty metrics.
- visit(MetricVisitor) - Method in interface io.ebean.metric.TimedMetricMap
-
Visit the metric.
- visit(T, JsonWriter) - Method in interface io.ebean.text.json.JsonWriteBeanVisitor
-
Visit the bean that has just been writing it's content to JSON.
- visit(T, Map<String, Object>) - Method in interface io.ebean.text.json.JsonReadBeanVisitor
-
Visit the bean that has just been processed.
- visitAllInheritanceChildren(Consumer<BeanType<?>>) - Method in interface io.ebean.plugin.BeanType
-
Visit all children recursively
- visitBasic() - Method in interface io.ebean.meta.MetaInfoManager
-
Run a visit collecting all the metrics and returning BasicMetricVisitor which holds all the metrics in simple lists.
- visitCount(MetaCountMetric) - Method in class io.ebean.meta.BasicMetricVisitor
- visitCount(MetaCountMetric) - Method in interface io.ebean.meta.MetricVisitor
-
Visit a Counter metric.
- visitEnd() - Method in class io.ebean.meta.AbstractMetricVisitor
- visitEnd() - Method in interface io.ebean.meta.MetricVisitor
-
Visit has completed.
- visitMetrics(MetricVisitor) - Method in interface io.ebean.cache.ServerCacheManager
-
Visit the metrics for all the server caches.
- visitMetrics(MetricVisitor) - Method in interface io.ebean.meta.MetaInfoManager
-
Visit the metrics resetting and collecting/reporting as desired.
- visitPop() - Method in interface io.ebean.bean.BeanDiffVisitor
-
Stop processing an associated bean.
- visitPush(int) - Method in interface io.ebean.bean.BeanDiffVisitor
-
Start processing an associated bean.
- visitQuery(MetaQueryMetric) - Method in class io.ebean.meta.BasicMetricVisitor
- visitQuery(MetaQueryMetric) - Method in interface io.ebean.meta.MetricVisitor
-
Visit DTO and SQL query metrics.
- visitStart() - Method in class io.ebean.meta.AbstractMetricVisitor
- visitStart() - Method in interface io.ebean.meta.MetricVisitor
-
Visit has started.
- visitTimed(MetaTimedMetric) - Method in class io.ebean.meta.BasicMetricVisitor
- visitTimed(MetaTimedMetric) - Method in interface io.ebean.meta.MetricVisitor
-
Visit transaction metrics (and L2 cache metrics in future).
W
- WAIT - io.ebean.Query.LockWait
-
Standard For update clause.
- wasTouched() - Method in interface io.ebean.bean.BeanCollection
-
Has been modified by an addition or removal.
- where() - Method in interface io.ebean.ExpressionList
-
Add another expression to the where clause.
- where() - Method in interface io.ebean.Query
-
Add Expressions to the where clause with the ability to chain on the ExpressionList.
- where() - Method in interface io.ebean.UpdateQuery
-
Return the query expression list to add predicates to.
- where(Expression) - Method in interface io.ebean.Query
-
Add a single Expression to the where clause returning the query.
- where(ExpressionList<T>, String, Object[]) - Method in interface io.ebean.ExpressionFactory
-
Add the expressions to the given expression list.
- where(String, Object...) - Method in interface io.ebean.ExpressionList
-
Add the expressions to this expression list.
- withCatalogAndSchema(String) - Method in class io.ebean.config.TableName
-
Append a catalog and schema prefix if they exist to the string builder.
- withExtraAttributes(boolean) - Method in interface io.ebean.meta.ServerMetricsAsJson
-
Set to false to exclude profile location and sql.
- withHash(boolean) - Method in interface io.ebean.meta.ServerMetricsAsJson
-
Set to false to exclude SQL hash.
- withHeader(boolean) - Method in interface io.ebean.meta.ServerMetricsAsJson
-
Set to include a heading of the database name.
- withLength(int) - Method in class io.ebean.config.dbplatform.DbPlatformType
-
Create a copy of the type with a new default length.
- withLock(Query.LockType) - Method in interface io.ebean.ExpressionList
-
Execute the query with the given lock type and WAIT.
- withLock(Query.LockType) - Method in interface io.ebean.Query
-
Execute the query with the given lock type and WAIT.
- withLock(Query.LockType, Query.LockWait) - Method in interface io.ebean.ExpressionList
-
Execute the query with the given lock type and lock wait.
- withLock(Query.LockType, Query.LockWait) - Method in interface io.ebean.Query
-
Execute the query with the given lock type and lock wait.
- withNewLine(boolean) - Method in interface io.ebean.meta.ServerMetricsAsJson
-
Set the new line character to use.
- WithOption(Object) - Constructor for class io.ebean.bean.PersistenceContext.WithOption
-
The bean exists in the persistence context (and not been previously deleted).
- withSort(Comparator<MetaTimedMetric>) - Method in interface io.ebean.meta.ServerMetricsAsJson
-
Set the sort property - see SortMetric
- wrapValue(S) - Method in interface io.ebean.config.ScalarTypeConverter
-
Convert the scalar type value into the value object.
- write(Appendable) - Method in interface io.ebean.meta.ServerMetricsAsJson
-
Collect and write metrics as JSON to the given buffer.
- write(Object) - Method in interface io.ebean.service.SpiJsonService
-
Write the nested Map/List as json.
- write(Object) - Static method in class io.ebean.text.json.EJson
-
Write the nested Map/List as json.
- write(Object, JsonGenerator) - Method in interface io.ebean.service.SpiJsonService
-
Write the nested Map/List as json to the jsonGenerator.
- write(Object, JsonGenerator) - Static method in class io.ebean.text.json.EJson
-
Write the nested Map/List as json to the jsonGenerator.
- write(Object, Writer) - Method in interface io.ebean.service.SpiJsonService
-
Write the nested Map/List as json to the writer.
- write(Object, Writer) - Static method in class io.ebean.text.json.EJson
-
Write the nested Map/List as json to the writer.
- writeBinary(InputStream, int) - Method in interface io.ebean.text.json.JsonWriter
-
Write a binary field.
- writeBinaryField(String, byte[]) - Method in interface io.ebean.text.json.JsonWriter
-
Write a binary field.
- writeBoolean(boolean) - Method in interface io.ebean.text.json.JsonWriter
-
Write a boolean value (typically inside a list).
- writeBooleanField(String, boolean) - Method in interface io.ebean.text.json.JsonWriter
-
Write a boolean field.
- writeCollection(Collection<Object>, JsonGenerator) - Method in interface io.ebean.service.SpiJsonService
-
Write the collection as json array to the jsonGenerator.
- writeCollection(Collection<Object>, JsonGenerator) - Static method in class io.ebean.text.json.EJson
-
Write the collection as json array to the jsonGenerator.
- writeEndArray() - Method in interface io.ebean.text.json.JsonWriter
-
Write a array end.
- writeEndObject() - Method in interface io.ebean.text.json.JsonWriter
-
Write a object end.
- writeFieldName(String) - Method in interface io.ebean.text.json.JsonWriter
-
Write the field name.
- writeNull() - Method in interface io.ebean.text.json.JsonWriter
-
Write a null value.
- writeNullField(String) - Method in interface io.ebean.text.json.JsonWriter
-
Write a null value taking into account null value suppression.
- writeNumber(double) - Method in interface io.ebean.text.json.JsonWriter
-
Write a double value.
- writeNumber(int) - Method in interface io.ebean.text.json.JsonWriter
-
Write a int value (typically inside a list).
- writeNumber(long) - Method in interface io.ebean.text.json.JsonWriter
-
Write a long value (typically inside a list).
- writeNumber(BigDecimal) - Method in interface io.ebean.text.json.JsonWriter
-
Write a BigDecimal value (typically inside a list).
- writeNumberField(String, double) - Method in interface io.ebean.text.json.JsonWriter
-
Write a number field.
- writeNumberField(String, float) - Method in interface io.ebean.text.json.JsonWriter
-
Write a number field.
- writeNumberField(String, int) - Method in interface io.ebean.text.json.JsonWriter
-
Write a number field.
- writeNumberField(String, long) - Method in interface io.ebean.text.json.JsonWriter
-
Write a number field.
- writeNumberField(String, short) - Method in interface io.ebean.text.json.JsonWriter
-
Write a number field.
- writeNumberField(String, BigDecimal) - Method in interface io.ebean.text.json.JsonWriter
-
Write a number field.
- writeRaw(String) - Method in interface io.ebean.text.json.JsonWriter
-
Method that will force generator to copy input text verbatim with no modifications (including that no escaping is done and no separators are added even if context [array, object] would otherwise require such).
- writeRawValue(String) - Method in interface io.ebean.text.json.JsonWriter
-
Method that will force generator to copy input text verbatim without any modifications, but assuming it must constitute a single legal JSON value (number, string, boolean, null, Array or List).
- writeScalar(JsonGenerator, Object) - Method in interface io.ebean.text.json.JsonContext
-
Write a scalar types known to Ebean to Jackson.
- writeStartArray() - Method in interface io.ebean.text.json.JsonWriter
-
Write a array start.
- writeStartArray(String) - Method in interface io.ebean.text.json.JsonWriter
-
Write a field name followed by array start.
- writeStartObject() - Method in interface io.ebean.text.json.JsonWriter
-
Write a object start.
- writeStartObject(String) - Method in interface io.ebean.text.json.JsonWriter
-
Write a field name followed by object start.
- writeString(String) - Method in interface io.ebean.text.json.JsonWriter
-
Write a string value (typically inside a list).
- writeStringField(String, String) - Method in interface io.ebean.text.json.JsonWriter
-
Write a sting field.
Z
- zeroTerms(String) - Method in class io.ebean.search.Match
-
Set the zero terms.
- zeroTerms(String) - Method in class io.ebean.search.MultiMatch
-
Set the zero terms.
_
- _ebean_getField(int) - Method in interface io.ebean.bean.EntityBean
-
Return the value of a field from an entity bean of this type.
- _ebean_getFieldIntercept(int) - Method in interface io.ebean.bean.EntityBean
-
Return the field value with interception.
- _ebean_getIntercept() - Method in interface io.ebean.bean.EntityBean
-
Return the intercept for this object.
- _ebean_getMarker() - Method in interface io.ebean.bean.EntityBean
-
Return the enhancement marker value.
- _ebean_getPropertyName(int) - Method in interface io.ebean.bean.EntityBean
-
Return the property name at the given position.
- _ebean_getPropertyNames() - Method in interface io.ebean.bean.EntityBean
-
Return all the property names in defined order.
- _ebean_intercept() - Method in interface io.ebean.bean.EntityBean
-
Similar to _ebean_getIntercept() except it checks to see if the intercept field is null and will create it if required.
- _ebean_isEmbeddedNewOrDirty() - Method in interface io.ebean.bean.EntityBean
-
Return true if any embedded beans are new or dirty.
- _ebean_newInstance() - Method in interface io.ebean.bean.EntityBean
-
Create and return a new entity bean instance.
- _ebean_setEmbeddedLoaded() - Method in interface io.ebean.bean.EntityBean
-
Generated method that sets the loaded state on all the embedded beans on this entity bean by using EntityBeanIntercept.setEmbeddedLoaded(Object o);
- _ebean_setField(int, Object) - Method in interface io.ebean.bean.EntityBean
-
Set the value of a field of an entity bean of this type.
- _ebean_setFieldIntercept(int, Object) - Method in interface io.ebean.bean.EntityBean
-
Set the field value with interception.
All Classes All Packages


{% extends "base.html" %} {% load i18n %} {% block head_title %}{% trans "Invitations" %}{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
{% trans "If you'd like to invite someone to join, you can enter their email address and a message for them below:" %}


500: Internal Server Error
SOMETHING IS WRONG :-(
Please check back later today or tomorrow or....
HELP, I'm trapped in a website error page factory


Thank you for posting your job, we will review and post shortly.
Thank you, changes will be reflected shortly. Search Talent
{{error}}


Converts a qualified reference into a simple reference and adds a
static import
for the corresponding class.


---
layout: home
title: Method
permalink: /method/
image:
feature: sunset.jpg
---
Does your child struggle in any of these academic areas?
- Short & long term memory
- Reading & comprehension
- Following directions
- Visual or auditory processing
- Anxiety & is overwhelmed with schoolwork
- Retention of facts
- Writing
- Slow processing speeds
- Attention and focus
- Frustration or overwhelmed in school
- Mentally gets lost, loses their picture, or doesn't understand what to do in class?
We can help. We're certified in...
- Slingerland Techniques
- PACE Provider (Ken Gibson)
- Master the Code (with PACE)
- Making Math Real Techniques
- Samonas Sound Therapy
- The Listening Program (Advanced Brain Technology & Gayle Moyers)
- The Learning Ears (Gayle Moyers)
- Brain Based Learning Techniques and Cutting Edge Software
- Captain's Log Professional (Attention Training & Focus)
- Brain Ware Safari Software
- Sound Smart Consultant
- RAVE-O (Center for Reading and Language Institute by Dr. M. Wolf)
- PATH to Reading (Perception Dynamics Institute)
- Multisensory Techniques
- Fast Forward


Validating
Validation successful
Deploying to environment: {{ environment }}
Changes in deployment:
{{message}}


Over 175 million professionals use LinkedIn to exchange information, ideas and opportunities
- Stay informed about your contacts and industry
- Find the people % knowledge you need to achieve your goals
- Control your professional identity online
Search for someone by name:


Hello,
I am about to buy a complete pack (RasPi, EmonTX v3, a few emonTH and some more DS18B20) to see how it compare with my 100% 1-Wire installation, and I have a few questions :
- What is the default update rate of emonTH ? every minute ?
- What is the average radio range of emonTH ?
- What is the resolution of the port 4 on emonTX ? what is the minimum mA resolution ? I need fine resolution not precision to check gaz boilier whenever it's running the pump or pump + gaz, the difference is 50mA only and I want to check those two states.
- Is it easy to extract data from local RasPi database ? I see it's MySQL so I suppose yes so I can export and synchronize into RRDTool.
- I see no WiFi usb key in the store nor SMB antenna for emonTX or did I miss them ?
- Is it possible to add some DS1401 as contactors to emonTH ? if not I suppose I will use a trick and use DS18B20 instead (more expensive) and if when radio sending don't show DS18B20 up then it is because the contactor is open.
Thank you.
Re: New user's questions
I can answer the first - the emonTH calls in every minute by default, but it's extremely easy to change. You'll need to modify the firmware on your emonTH devices anyway to assign them all unique node IDs.
I haven't tried anything extreme range-wise, but I do have an emonTH calling in through an external wall (brick double leaf) and around 20 feet or so of air, and another from loft to ground floor (through suspended timber).
Re: New user's questions
The radio range of the RFM12B module is allegedly about 100 m unobstructed. We have seen reports of some people achieving ranges approaching that in real life, and others who struggle to achieve a range of more than a few metres (though we often have no detailed information about the physical conditions, nor of sources of interference that might be affecting the performance. You can improve the range by slowing the data bit rate.
See http://jeelabs.org/2011/05/15/rfm12b-range-testing/
The effective resolution of any of the ports is around 1% for reasonable accuracy. The ADC is 10 bit, and you need a reasonable representation of the input wave to get be able to calculate the rms value, so you need a few bits for that. You can increase the input sensitivity by increasing the value of the burden resistor, provided of course you remain within the VA rating of the c.t.
You can extract data from emonCMS - see the Help.
I believe you can add WiFi, but it's not offered. The additional current required would likely mean that you would need an external power supply for the emonTx V3. There is a suitable connector available from the shop, but not the antenna (AFAIK).
You are using "contactor" in a totally different sense to how I understand it, so I cannot help you there.
Re: New user's questions
Thank you for the answers, emonTH rate 1min is what I need.
So I will need to always reload a new firmware to specify an ID each time I need to add an emonTH (expect the first one) as they are all provided with same ID ?
Re: New user's questions
I don't need the value to be reliable against reality I only need to be able to be precise enought distinguish the 50mA variation between boilier using pump only or pump + gaz.
Using a standard Multimeter with poweramp clamp it show me 500mA pump only and 550mA pump+gaz (220v).
For contactor the DS1401 is a 1-Wire component that purpose is only to answer with its ID number if some general ID request is send over 1-Wire network.
I use ILS contactors on doors and windows and put a DS1401 behind each one, if magnet is glued then DS1401 will be present on 1-Wire cable, if magnet is not glued then DS1401 will not answer any ID broadcast request.
Re: New user's questions
So I will need to always reload a new firmware to specify an ID each time I need to add an emonTH (expect the first one) as they are all provided with same ID ?
That is correct.
Re: New user's questions
OK and what about the PowerAmp clamp ? will emonTx be able to show me 50mA variation if plugged into port 4 ?
Re: New user's questions
50mA at 240V is 12 Watts.
My PV Router sketches can certainly detect this change in energy flow. This is when set up for a full-scale of around 4 kW which I think is how port 4 on the emonTx V3 is intended to be used.
Re: New user's questions
OK, now one more question, I am wondering which emonTX too choose, I see that there are V2 and V3 and have not found any compare article that could help me make my choice.
Re: New user's questions
But are there not photographs on the shop website? V2 uses through-hole components that you assemble yourself, V3 uses surface mount and comes largely ready-assembled. You add the optional bits. The V3 performs slightly better at low currents.


Spicy Recipe
Maggie
Recipe (CUP)
Recipe(Masala)
Cup Maggie
×
Prep time: 10 mins
Cooking time: 20 mins
serves : 4 People
Ingredients: For veggies in white sauce
Butter 1 tbsp, Refined flour 1 tbsp, Milk 500 ml, Salt as per taste, Oregano 1 tsp , Red chilli flakes 1 tsp, Red bell pepper ½ cup, Capsicum ½ cup, Yellow bell pepper ½ cup, Carrot ½ cup, Sweet corn ½ cup.
Method:
1. Set a pan on medium heat, add butter and flour, mix and cook until the flour turns to slightly light brown in colour, add milk, slowly and gradually and keep whisking, ensuring no lumps.
2. Cook until the sauce thickens, add salt, oregano and red chilli flakes, mix well.
3. Add veggies and mix well, cook for 3-4 minutes.
Ingredients: For veggies in white sauce
Butter 1 tbsp, Refined flour 1 tbsp, Milk 500 ml, Salt as per taste, Oregano 1 tsp , Red chilli flakes 1 tsp, Red bell pepper ½ cup, Capsicum ½ cup, Yellow bell pepper ½ cup, Carrot ½ cup, Sweet corn ½ cup.
Method:
1. Set a pan on medium heat, add butter and flour, mix and cook until the flour turns to slightly light brown in colour, add milk, slowly and gradually and keep whisking, ensuring no lumps.
2. Cook until the sauce thickens, add salt, oregano and red chilli flakes, mix well.
3. Add veggies and mix well, cook for 3-4 minutes.
Masala Maggie
×
Prep time: 10 mins
Cooking time: 20 mins
serves : 4 People
Ingredients: Masala Maggi
Water 750 ml, Maggi 2 packets , Tomato ketchup 4 tbsp, Salt to taste, Oregano 1 tsp, Red chilli flakes 1 tsp, Maggi masala 2 packets.
Method:
1. Set a different pan on medium heat, add water and maggi, cook for a minute.
2. Add tomato ketchup, salt, oregano and red chilli flakes, mix well and add maggi masala, mix and cook for 2-3 minutes. Your maggi ready to be assembled.
Final Assembly
: Veggies in white sauce + Cooked masala maggi + Mozzarella Cheese as required
Water 750 ml, Maggi 2 packets , Tomato ketchup 4 tbsp, Salt to taste, Oregano 1 tsp, Red chilli flakes 1 tsp, Maggi masala 2 packets.
Method:
1. Prefer a mug which is microwave friendly, add a spoonful of cooked masala maggi, add the next layering of veggies in white sauce, add the third layering of mozzarella cheese, repeat the layering till top and finish the top layer by adding mozzarella cheese.
2. Heat the mug in microwave for 30 seconds or until the cheese melts, your creamy cuppa maggi is ready to be served, serve hot.
Frankie
Recipe
Frankie
×
Ingredients:
4 chapatis half cooked, dough of wheat and refined flour, 2 teaspoons oil, 1 teaspoon cumin seeds, 1 tablespoon chopped ginger, 2 medium onions, finely chopped, 1 medium tomato, finely chopped, Salt to taste, ½ teaspoon garam masala, ½ teaspoon red chilli powder, ¼ teaspoon turmeric powder, 1 medium capsicum, thinly sliced, 1 medium carrot, grated, 2 medium potatoes, boiled, peeled and mashed, 3 teaspoons tomato ketchup, 4 tablespoons chopped fresh coriander, 2 teaspoons lemon juice, 1 tablespoon mayonnaise, 2 teaspoons frankie masala, 2 tablespoons green chutney, 1-2 green chillies, chopped Butter paper for rolling.
Method:
1. Heat a deep non-stick pan, add oil, cumin seeds, sauté till fragrant. Add ginger and1 medium onion finely chopped. Sauté for a moment till onions turn red. Add tomato, finely chopped. Sauté till tomatoes turn pulpy. Add salt, garam masala, red chilli powder and turmeric powder. Mix well.
2. Add capsicum, carrot, mashed potatoes and mix well. Check seasoning and sauté for 2-3 minutes on medium heat.
3. Add 2 teaspoons tomato ketchup. Switch off heat. Transfer mixture in a bowl. Add 2 tablespoons chopped coriander.
4. Add lemon juice in mixture.
5. Heat 4 rotis in a non-stick tawa till golden brown specs appear on both sides. Set aside.
6. Transfer roti in a plate, add stuffing, in centre, ½ chopped onions, mayonnaise, 1 teaspoon Frankie masala, 1 tablespoon chopped coriander, 1 tablespoon green chutney. Spread completely and roll into a Frankie.
7. Make another Frankie by applying remaining ketchup, remaining chutney. Spread and add mixture, remaining chopped onions, remaining Frankie masala, remaining chopped coriander, chopped green chillies, roll tightly into a Frankie. Roll Frankie with butter paper.
8. Transfer Frankie in serving plate.
9. Serve immediately.
Mini Pizza
Recipe
Mini Pizza
×
Ingredients:
350 gr All Purpose Flour ( 2 cups + 1/2 cups ), 230 gr Warm Water ( 1 cup ), 1/2 packet Dry Yeast (1 1/2 tsp), 1 tbsp Extra Virgin Olive Oil, 1/2 tbsp Salt.
Quick Tomato Sauce:
- 500 gr Tomato puree or crushed tomatoes ( 18 ounces)
- 2 cloves of Garlic
- 1 1/2 tbsp Olive Oil
- Salt to your liking
- Basil
Some popular topping options that freeze well:
- Dry mozzarella/ Other types of dry cheese that melt well
- Pepperoni
- Olives
- Green Peppers
- Onion
- Feel free to add whatever other toppings you like
Method:
1. Par bake the crust for 3 min, then bake for 6-10 min depending on your crust preference
Mishal Pau
Recipe
Mishal Pau
×
Ingredients:
1 cup sprouted brown gram (matki), 1 cup sprouted green gram (moong), Pav for serving, 3 tbsps oil, 1 medium onion, 1/4 tsp asafoetida, 1/2 tsp mustard seeds, 1/4 tsp turmeric powder, 10-12 curry leaves, 1 tsp coriander powder, 1 tsp cumin powder, 1 tbsp ginger-garlic paste, 1 tbsp red chilli powder, Salt to taste, 3 green chillies, 8-10 fresh coriander sprigs + for garnishing, 1/2 cup farsan, 2 tbsps finely chopped onion, Juice of 1/2 lemon
Method:
1. Heat oil in a non-stick pan. Finely chop onion.
2. Add asafoetida and mustard seeds to the pan and let the seeds splutter. Add onion, mix and sauté for 1 minute.
3. Add turmeric powder, curry leaves, sprouted brown gram and sprouted green gram and mix well.
4. Add coriander powder, cumin powder and ginger-garlic paste, mix well and cook for 1 minute.
5. Add red chilli powder and mix well. Add 3 cups water and salt, mix, cover and cook for 2 minutes.
6. Finely chop green chillies and add. Mix well, cover and cook for 5-7 minutes.
7. Roughly chop coriander sprigs and add. Mix well, cover and cook for 5-7 minutes.
8. Transfer missal into a serving bowl, top with farsan and chopped onion. Drizzle lemon juice, garnish with a coriander sprig and serve hot with pav.

Method:
1. To make one sandwich, apply some butter on one bread slice. Add 1 tsp red chilli-garlic chutney, green chutney and 1 tsp mayonnaise and spread it evenly. Arrange 6 cubes of paneer on the bread slice. Place one onion dice over one side of each paneer cube. Similarly, place green capsicum piece on the other side of each paneer cube. Sprinkle some crushed black peppercorns.
2. Heat some butter in a non-stick pan. Pace the sandwich on it.
3. Grate some processed cheese on top and sprinkle some crushed black peppercorns and red chilli flakes. Cover and cook till the cheese melts.
4. Place the sandwich on a worktop, cut and serve with potatoes chips, green chutney and tomato ketchup.
Puri Bhaji
Recipe
Puri Bhaji
×
Ingredients:
1½ cups whole wheat flour (atta), Salt to taste, 2 teaspoons oil + for deep-frying, Bhaji, 6 medium potatoes, peeled and boiled, 1 medium onion, 2 tablespoons oil, 1 teaspoon mustard seeds, 1 teaspoon cumin seeds (jeera), 1-2 green chillies, 1 medium tomato, 1 teaspoon red chilli powder, ¼ teaspoon turmeric powder, 2 teaspoons coriander powder, Salt to taste, 1 teaspoon sugar, 5-6 fresh coriander sprigs + for garnishing, 1/2 teaspoon garam masala powder.
Method:
1. To prepare puri, put wheat flour in a bowl. Add salt, 2 teaspoons oil and sufficient water and knead into stiff dough. Cover with a cloth and set aside.
2. To prepare bhaji, slice onion.
3. Heat oil in a non-stick pan. Add mustard seeds and cumin seeds and let the mustard seeds splutter.
4. Chop green chillies, add to pan alongwith sliced onion and sauté till onion turns translucent.
5. Finely chop tomato, add to pan and sauté till soft.
6. Cut potatoes into ½ inch cubes.
7. Add chilli powder, turmeric powder and coriander powder and mix on low heat. Add 3-4 tablespoons water, mix and cook for 1-2 minutes.
8. Add potato cubes and mix lightly. Add salt and sugar and mix. Add 1 cup water, mix and cook on low heat for 4-5 minutes.
9. Heat sufficient oil in a kadai.
10. Divide the dough into small equal portions and shape into balls. Dip each ball in hot oil and roll out into small discs.
11. Put the discs in hot oil and deep-fry till they puff up and turns light golden brown. Drain on absorbent paper.
12. Lightly mash the potato mixture and mix. Add ¼ cup water, mix and cook till the mixture boils.
13. Finely chop 5-6 coriander sprigs.
14. Add garam masala powder and mix. Add chopped coriander leaves and mix well.
15. Put the fried puris in a serving bowl. Put the bhaji in another bowl, garnish with a coriander sprig and serve hot.


Art
Theatre
Classical music
Museums
Drag the blue circle over points on the map to populate listings under it. Zooming on the circle increases or decreases its radius.


Use the controls to change the color of paragraph 1. Click on Paragraph 2 to replace words. Hover over any paragraph to highlight it.
We're acquainted with the wormhole phenomenon, but this... Is a remarkable piece of bio-electronic engineering by which I see much of the EM spectrum ranging from heat and infrared through radio waves, et cetera, and forgive me if I've said and listened to this a thousand times. This planet's interior heat provides an abundance of geothermal energy. We need to neutralize the homing signal.
Unidentified vessel travelling at sub warp speed, bearing 235.7. Fluctuations in energy readings from it, Captain. All transporters off. A strange set-up, but I'd say the graviton generator is depolarized. The dark colourings of the scrapes are the leavings of natural rubber, a type of non-conductive sole used by researchers experimenting with electricity. The molecules must have been partly de-phased by the anyon beam.
It indicates a synchronic distortion in the areas emanating triolic waves. The cerebellum, the cerebral cortex, the brain stem, the entire nervous system has been depleted of electrochemical energy. Any device like that would produce high levels of triolic waves. These walls have undergone some kind of selective molecular polarization. I haven't determined if our phaser energy can generate a stable field. We could alter the photons with phase discriminators.


My name is Chase Strickler, and I'm a software engineer. You can find my resume here. If you would like to contact me about work, my email is strickler.16@gmail.com.


TOMORRANCE
Home
About
Services
Contact
×
My health
- Face
- Body
Solution
- Exercise
- Food
Previous
Next
NO. 20180101
AGE
27
GENDER
MALE
HEIGHT
66.9 inch
WEIGHT
154.3 lbs
MUSCLE
44.1 lbs
FAT
21.3 lbs
BMI
21.0 %
×
We'll send your 3D body
Send
Cancel


Hostel
Registration
Hostel Name:
Breakfast Start Timing:
Breakfast End Timing:
Lunch Start Timing:
Lunch End Timing:
Dinner Start Timing:
Dinner End Timing:
Breakfast Charges:
Lunch Charges:
Dinner Charges:
Mess Advance:


TVET student attacked, stabbed 52 times in her rented room
Her frantic screams were heard by a neighbour, who called the police.
by News24 WirePrecious Ramabulana, the Capricorn TVET student who was raped and stabbed to death in her rented room. Picture: Twitter
A Capricorn TVET College student was stabbed to death over the weekend, Limpopo police confirmed on Monday.
Fellow students and friends of Precious Ramabulana took to social media in grief and anger after hearing she had apparently been stabbed 52 times in the room where she was staying.
She had been enrolled at the Ramokgopa campus in Mokomene.
Limpopo police spokesperson Brigadier Motlafela Mojapelo confirmed the 21-year-old was attacked by an unknown person and “brutally stabbed to death” at around 02.30am on Sunday.
“It is alleged that the deceased was asleep in her rented room at ga-Joel Section in Mokomene when the suspect gained entry through the window and started attacking her. He then stabbed her several times and fled the scene,” he said.
“The deceased’s frantic screams were heard by the neighbour who called the police. On arrival, her body was found in a pool of blood with several stab wounds. The motive for the attack is unknown at this stage.”
Mojapelo could not confirm reports that she had also been raped.
Limpopo police commissioner Lieutenant General Nneke Ledwaba said the killer would be “hunted down and brought to book”.
Mojapelo said Ramabulana was from Nzhelele in Thohoyandou.
Anyone with information on the attack should call Crime Stop at<PHONE_NUMBER> or contact the nearest police station.
The college has not yet responded to media enquiries.


it’s not so easy - adding the minimum number of rules often results in the wrong rules
[Greedy] doesn’t really work
for example, suppose you have sentences NV (noun verb) and NVN (noun verb noun, i.e., subject verb object)
it would learn S->NV from the first and then V->VN from the second.
but this isn’t right because the second rule can give V->VN->VNN->VNNN…
the right thing would be to have a VP (verb phrase), and S -> N VP, VP-> V N, but this is an extra symbol it would have to come up with
I wonder what would happen if I threw in all possible rules for a PCFG and then just did gradient descent on the probabilities. Ex. if I have 10 symbols then to get all rules A->BC I would need 1000 parameters. It would be doable (though it wouldn’t scale well) to keep all of them.
having more symbols than required is like overparametrization, which helps avoid local minima when doing gradient descent
rn it seems like it will always be possible to generate ungrammatical things; either that or you will have poor rule diversity
yeah we really want to not have ungrammatical things maybe a lot of rules will have probability close to 0 and we can remove them
also I just realized that HMMs are a special case of PCFGs (hidden) -> (observed) (hidden) so maybe the right thing to do is some kind of EM algorithm?
Sentence transformations
WH-movement is the way you transform sentences into questions. “You want x.” -> “What do you want []” where x disappears and leaves a hole.
The CFG doesn’t capture very well what’s going on because it’s better thought of as a transformation of the whole sentence
anyway I’m pretty sure you can also model that with a CFG, it would just have a longer description length than our intuitive notion of what’s going on
Talk with Sida (10-4)
Some notes:
It would be interesting to formally compare using a CCG parser to using a floating parser on a benchmark task. (The first is really learning a grammar and mapping to logical forms, while the second is doing a search over logical forms and scoring based on features. The first is probably more complex to get working. The second suffers from an exponential explosion of logical forms.)
Building a system that could give grammatical utterances (ex. give commands to the user in SHRDLURN) is a good goal.
Sida is working on a system for data visualization that can take commands in natural language; it learns by demonstration.


The model was created by Georgios Papaioannou, based on photographic material from the Delphi archaeological site and architectural studies. The original resource link is here.


External HTTP Links
Cutest Koala, external link to file on the Internet: http://en.wikipedia.org/wiki/File:Cutest_Koala.jpg
Wallaby Natural range and habitat, external link, section identifier: http://en.wikipedia.org/wiki/Wallaby%23Natural_range_and_habitat
Blue Wren Video , image is associated with external link to video on youtube, query: http://www.youtube.com/watch%3Fv%3DqD5aNev4284
Seattle Weather, contains + in the URL: http://www.weather.com/weather/today/Seattle+WA+USWA0395
San Jose Weather, contains, in URL: http://www.weather.com/weather/today/USCA0993:1:US
External NAVTO Link
Link to cover-stack, navto scheme: navto://cover_stack
Broken External Links
Map of Tasmania, external link, google guery: http://maps.google.com/maps%3Fhl%3Den%26gs_upl%3D4776l5935l0l6196l8l5l0l2l2l0l266l824l1.3.1l6l0%26bav%3Don.2%2Cor.r_gc.r_pw.%2Ccf.osb%26biw%3D1600%26bih%3D787%26um%3D1%26ie%3DUTF-8%26q%3Dsunshine%26fb%3D1%26gl%3Dus%26hq%3Dsunshine%26hnear%3D0x808fcae48af93ff5:0xb99d8c0aca9f717b%2CSan%2BJose%2C%2BCA%26ei%3DWkzMTuuoGKatiALc4KGRAw%26sa%3DX%26oi%3Dlocal_group%26ct%3Dimage%26ved%3D0CAUQtgM


Lateness by Stop
{%include "lib/progress.html" %}
Lateness Over The Last 7 Days
Note that some trains take different routes on different
days.
In those cases, this graph can look really weird. There is little that
can be done about that until a date selector widget is built in. For
more information, please
check the faq.
{%include "lib/progress.html" %}