- BACKEND_JNDI_URL_INTRO - Static variable in class org.tentackle.common.Constants
-
intro in URL to denote a JNDI connection.
- BACKEND_PASSWORD - Static variable in class org.tentackle.common.Constants
-
property key for the password.
- BACKEND_PROPS - Static variable in class org.tentackle.common.Constants
-
name of property file holding the backend properties.
- BACKEND_RMI_URL_INTRO - Static variable in class org.tentackle.common.Constants
-
intro in URL to denote a remote connection.
- BACKEND_SCHEMAS - Static variable in class org.tentackle.common.Constants
-
property key for the optional schemas.
- BACKEND_TECHNICAL_INFO - Static variable in class org.tentackle.common.Constants
-
Property file holding the technical backend info.
Useful to use different properties for the physical connection.
- BACKEND_URL - Static variable in class org.tentackle.common.Constants
-
property key for the jdbc URL.
- BACKEND_USER - Static variable in class org.tentackle.common.Constants
-
property key for username.
- BasicStringHelper - Class in org.tentackle.common
-
Provides Methods to format names of methods and variables.
- Binary<T> - Class in org.tentackle.common
-
Datatype for storing arbitrary (binary) data in a database.
- Binary(T) - Constructor for class org.tentackle.common.Binary
-
Creates a Binary from a Serializable.
- Binary(byte[]) - Constructor for class org.tentackle.common.Binary
-
Creates a Binary out of an array of arbitrary bytes.
- Binary() - Constructor for class org.tentackle.common.Binary
-
Creates an empty binary
- BIND_AUTOSELECT - Static variable in class org.tentackle.common.Constants
-
bind option autoselect field.
- BIND_COL - Static variable in class org.tentackle.common.Constants
-
bind option COL = ...
- BIND_LC - Static variable in class org.tentackle.common.Constants
-
bind option lowercase.
- BIND_MAXCOL - Static variable in class org.tentackle.common.Constants
-
bind option MAXCOL = ...
- BIND_SCALE - Static variable in class org.tentackle.common.Constants
-
bind option SCALE = ...
- BIND_UC - Static variable in class org.tentackle.common.Constants
-
bind option uppercase.
- BIND_UNSIGNED - Static variable in class org.tentackle.common.Constants
-
bind option UNSIGNED.
- BIND_UTC - Static variable in class org.tentackle.common.Constants
-
bind timestamp with UTC option.
- BMoney - Class in org.tentackle.common
-
Money value derived from BigDecimal.
A money value has a distinct and fixed scale that cannot change.
- BMoney(double, int) - Constructor for class org.tentackle.common.BMoney
-
Creates a BMoney value.
- BMoney(String, int) - Constructor for class org.tentackle.common.BMoney
-
Creates a BMoney value.
- BMoney(int) - Constructor for class org.tentackle.common.BMoney
-
Creates a zero BMoney value.
- BMoney(BigInteger, int) - Constructor for class org.tentackle.common.BMoney
-
Creates a BMoney value from a BigInteger.
The scale sets the comma within the given integer.
- BMoney(BMoney, int) - Constructor for class org.tentackle.common.BMoney
-
Creates a BMoney from a BMoney (useful to rescale)
- BMoney(BigDecimal) - Constructor for class org.tentackle.common.BMoney
-
Creates a BMoney from a BigDecimal (userful for SQL)
- BMoney() - Constructor for class org.tentackle.common.BMoney
-
Creates a zero BMoney with a scale according to
the currency of the current locale.
- BMONEY_DIGITS - Static variable in class org.tentackle.common.Constants
-
maximum number of significant digits for BMoney.
- BUF_SIZE - Static variable in class org.tentackle.common.Binary
-
initial default buffersize when reading from the database.
- Bundle - Annotation Type in org.tentackle.common
-
Annotation to express that the annotated class corresponds to a resource bundle.
- clone() - Method in class org.tentackle.common.Binary
-
Clones the binary
- clone() - Method in class org.tentackle.common.BMoney
-
Clones a BMoney value.
- CN_CLASSID - Static variable in class org.tentackle.common.Constants
-
name of class-ID column.
- CN_EDITEDBY - Static variable in class org.tentackle.common.Constants
-
the object ID of the user currently editing this object.
- CN_EDITEDEXPIRY - Static variable in class org.tentackle.common.Constants
-
time when "lock token" will expire.
- CN_EDITEDSINCE - Static variable in class org.tentackle.common.Constants
-
time when editing started.
- CN_ID - Static variable in class org.tentackle.common.Constants
-
name of ID column.
- CN_NORMTEXT - Static variable in class org.tentackle.common.Constants
-
column name for the normtext.
- CN_ROOTCLASSID - Static variable in class org.tentackle.common.Constants
-
name of root-class-ID column.
- CN_ROOTID - Static variable in class org.tentackle.common.Constants
-
name of root-ID column.
- CN_SERIAL - Static variable in class org.tentackle.common.Constants
-
name of serial column.
- CN_TABLESERIAL - Static variable in class org.tentackle.common.Constants
-
name of tableserial column.
- CommonCommonBundle - Class in org.tentackle.common
-
Bundle for common-package in tentackle-common.
- Compare - Class in org.tentackle.common
-
Some handy static methods to compare two Comparables even if
one or both are null-pointers.
- compare(T, T) - Static method in class org.tentackle.common.Compare
-
Compares two objects.
null is being treated as smallest value.
- compareWithNullLargest(T, T) - Static method in class org.tentackle.common.Compare
-
Compares two objects.
null is being treated as largest value.
- concatenateMessages(Throwable) - Static method in class org.tentackle.common.ExceptionHelper
-
Concatenates the messages of an exception chain.
- Constants - Class in org.tentackle.common
-
Class holding constants for runtime and build-time.
- createBinary(InputStream, int) - Static method in class org.tentackle.common.Binary
-
Creates a Binary out of an InputStream.
- createNameMap(String) - Method in class org.tentackle.common.DefaultServiceFinder
-
Creates a map of classnames to mapped services.
- createNameMap(String) - Method in interface org.tentackle.common.ServiceFinder
-
Creates a map of names to mapped services.
- createNameMapToAll(String) - Method in class org.tentackle.common.DefaultServiceFinder
-
Creates a map of names to all mapped services.
- createNameMapToAll(String) - Method in interface org.tentackle.common.ServiceFinder
-
Creates a map of names to all mapped services.
- createService(Class<T>) - Static method in class org.tentackle.common.ServiceFactory
-
Utility method to create a service instance.
This is the standard way to instantiate singletons.
- createService(Class<T>, Class<? extends T>) - Static method in class org.tentackle.common.ServiceFactory
-
Utility method to create a service instance with a default if not found.
- createServiceClass(Class<T>) - Static method in class org.tentackle.common.ServiceFactory
-
Utility method to create a service instance.
This is the standard way to instantiate singletons.
- Date - Class in org.tentackle.common
-
Date with database semantics.
- Date(long) - Constructor for class org.tentackle.common.Date
-
Constructs a
Date object using the given milliseconds time value.
- Date() - Constructor for class org.tentackle.common.Date
-
Creates the current date.
- DATE - Static variable in class org.tentackle.common.Version
-
the build timestamp
- DAY_MS - Static variable in class org.tentackle.common.Constants
-
a day in milliseconds.
- DEFAULT_BUNDLE_PATH - Static variable in class org.tentackle.common.Constants
-
the directory for resource bundle names.
- DEFAULT_SERVICE_PATH - Static variable in class org.tentackle.common.Constants
-
the directory for default service provider configurations.
- DefaultServiceFinder - Class in org.tentackle.common
-
- DefaultServiceFinder(ClassLoader, String) - Constructor for class org.tentackle.common.DefaultServiceFinder
-
Creates a service finder.
- DefaultServiceFinder(String) - Constructor for class org.tentackle.common.DefaultServiceFinder
-
Creates a default service finder.
The classloader used is Thread.currentThread().getContextClassLoader().
- DefaultServiceFinder() - Constructor for class org.tentackle.common.DefaultServiceFinder
-
Creates a default service finder.
The classloader used is Thread.currentThread().getContextClassLoader().
The servicepath is "META_INF/services/".
- digitToString(Character) - Static method in class org.tentackle.common.BasicStringHelper
-
Gets the word-string for a digit.
Example:
- divide(BMoney) - Method in class org.tentackle.common.BMoney
-
Divides a BMoney by this value and returns a new object.
- divide(double) - Method in class org.tentackle.common.BMoney
-
Divides a BMoney by double and returns a new object.
- divide(double) - Method in class org.tentackle.common.DMoney
-
- DMoney - Class in org.tentackle.common
-
A DMoney is the same as a BMoney but will be treated
differently when stored in the database.
A BMoney is stored as a DOUBLE for the value and an INTEGER for the scale.
- DMoney(double, int) - Constructor for class org.tentackle.common.DMoney
-
Creates a DMoney value.
- DMoney(String, int) - Constructor for class org.tentackle.common.DMoney
-
Creates a DMoney value.
- DMoney(int) - Constructor for class org.tentackle.common.DMoney
-
Creates a zero DMoney value.
- DMoney(BigInteger, int) - Constructor for class org.tentackle.common.DMoney
-
Creates a DMoney value from a BigInteger.
The scale sets the comma within the given integer.
- DMoney(BMoney, int) - Constructor for class org.tentackle.common.DMoney
-
Creates a DMoney from a BMoney (useful to rescale)
- DMoney(BigDecimal) - Constructor for class org.tentackle.common.DMoney
-
Creates a DMoney from a BigDecimal (userful for SQL)
- DMoney() - Constructor for class org.tentackle.common.DMoney
-
Creates a zero DMoney with a scale ccording to
the currency of the current locale.
- DMONEY_DIGITS - Static variable in class org.tentackle.common.Constants
-
maximum number of significant digits for DMoney.
- FileHelper - Class in org.tentackle.common
-
Helper methods for file handling.
- findFirstServiceConfiguration(String) - Method in class org.tentackle.common.DefaultServiceFinder
-
Finds the first service configurations by service name.
If similar configurations appear more than once on the classpath, the
first is returned.
- findFirstServiceConfiguration(String) - Method in interface org.tentackle.common.ServiceFinder
-
Finds the first service configurations by service name.
If similar configurations appear more than once on the classpath, the
first is returned.
- findFirstServiceProvider(Class<T>) - Method in class org.tentackle.common.DefaultServiceFinder
-
Finds the first service provider by service name.
If similar configurations appear more than once on the classpath, the
first is returned.
- findFirstServiceProvider(Class<T>) - Method in interface org.tentackle.common.ServiceFinder
-
Finds the first service provider by service name.
If similar configurations appear more than once on the classpath, the
first is returned.
- findServiceConfigurations(String) - Method in class org.tentackle.common.DefaultServiceFinder
-
Finds service configurations by service name.
Iterations over the returned map are ordered by discovery along the classpath.
- findServiceConfigurations(String) - Method in interface org.tentackle.common.ServiceFinder
-
Finds service configurations by service name.
Iterations over the returned map are ordered by discovery along the classpath.
- findServiceProviders(Class<T>) - Method in class org.tentackle.common.DefaultServiceFinder
-
Finds the service providers by service names.
- findServiceProviders(Class<T>) - Method in interface org.tentackle.common.ServiceFinder
-
Finds the service providers by service names.
- findServiceURLs(String) - Method in class org.tentackle.common.DefaultServiceFinder
-
Finds URLs of a service by name.
- findServiceURLs(String) - Method in interface org.tentackle.common.ServiceFinder
-
Finds URLs of a service by name.
- findUniqueServiceConfiguration(String) - Method in class org.tentackle.common.DefaultServiceFinder
-
Finds a unique service configurations by service name.
It is checked that the service is defined exactly once.
- findUniqueServiceConfiguration(String) - Method in interface org.tentackle.common.ServiceFinder
-
Finds a unique service configurations by service name.
It is checked that the service is defined exactly once.
- findUniqueServiceProvider(Class<T>) - Method in class org.tentackle.common.DefaultServiceFinder
-
Finds the unique service provider by service name.
- findUniqueServiceProvider(Class<T>) - Method in interface org.tentackle.common.ServiceFinder
-
Finds the unique service provider by service name.
- firstToLower(String) - Static method in class org.tentackle.common.BasicStringHelper
-
Converts the first character of string to uppercase.
- firstToUpper(String) - Static method in class org.tentackle.common.BasicStringHelper
-
Converts the first character of string to uppercase.
- getBundle() - Static method in class org.tentackle.common.CommonCommonBundle
-
Gets the bundle.
- getBundle() - Static method in class org.tentackle.common.Version
-
Gets the bundle.
- getCalendar() - Method in class org.tentackle.common.Date
-
Gets the calendar for this date.
- getCalendar() - Method in class org.tentackle.common.Time
-
Gets the calendar for this date.
- getCalendar() - Method in class org.tentackle.common.Timestamp
-
Gets the calendar for this date.
- getContinuedLine(String) - Static method in class org.tentackle.common.BasicStringHelper
-
Checks whether given string introduces a continuation line.
- getCurrentLocale() - Method in class org.tentackle.common.LocaleProvider
-
Gets the locale used by the current thread.
- getData() - Method in class org.tentackle.common.Binary
-
Retrieves the @{code Binary} data as a byte[]-array.
- getEffectiveLocale(Locale) - Method in class org.tentackle.common.LocaleProvider
-
Gets the effective locale.
This is application-specific and allows narrowing the locales to the effectively
supported locales.
- getEffectiveLocale() - Method in class org.tentackle.common.LocaleProvider
-
Gets the effective locale for the current locale.
- getInputStream() - Method in class org.tentackle.common.Binary
-
Gets the stream to store the Binary in the database.
- getInstance() - Static method in class org.tentackle.common.LocaleProvider
-
The singleton.
- getLength() - Method in class org.tentackle.common.Binary
-
Gets the length in bytes of this Binary.
- getLocale() - Method in class org.tentackle.common.LocaleProvider
-
Gets the locale.
- getObject() - Method in class org.tentackle.common.Binary
-
Retrieves the object encapsulated by the Binary.
- getPlainClassName(String) - Static method in class org.tentackle.common.BasicStringHelper
-
Gets a classname without any optional generics.
- getServiceFinder(ClassLoader, String) - Static method in class org.tentackle.common.ServiceFactory
-
Gets a service finder for a given classloader and service path.
If the finder does not exist yet, it will be created.
- getServiceFinder(String) - Static method in class org.tentackle.common.ServiceFactory
-
Gets a service finder for a given service path.
If the finder does not exist yet, it will be created.
- getServiceFinder() - Static method in class org.tentackle.common.ServiceFactory
-
Gets a service finder.
If the finder does not exist yet, it will be created.
- getString(String) - Static method in class org.tentackle.common.CommonCommonBundle
-
Gets a string for the given key.
- TentackleRuntimeException - Exception in org.tentackle.common
-
Tentackle runtime exception.
- TentackleRuntimeException() - Constructor for exception org.tentackle.common.TentackleRuntimeException
-
Constructs a new tentackle runtime exception
with null as its detail message.
- TentackleRuntimeException(String) - Constructor for exception org.tentackle.common.TentackleRuntimeException
-
Constructs a new tentackle runtime exception with the specified detail message.
- TentackleRuntimeException(String, Throwable) - Constructor for exception org.tentackle.common.TentackleRuntimeException
-
Constructs a new tentackle runtime exception with the specified detail message and
cause.
- TentackleRuntimeException(Throwable) - Constructor for exception org.tentackle.common.TentackleRuntimeException
-
Constructs a new tentackle runtime exception with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- Time - Class in org.tentackle.common
-
Time with database semantics.
- Time(long) - Constructor for class org.tentackle.common.Time
-
Constructs a
Time object using a milliseconds time value.
- Time() - Constructor for class org.tentackle.common.Time
-
Creates the current time.
- Timestamp - Class in org.tentackle.common
-
Timestamp with UTC option.
- Timestamp(long) - Constructor for class org.tentackle.common.Timestamp
-
Constructs a
Timestamp object using a milliseconds time value.
- Timestamp() - Constructor for class org.tentackle.common.Timestamp
-
Creates the current timestamp.
- toDoubleQuotes(String) - Static method in class org.tentackle.common.BasicStringHelper
-
Takes a string, surrounds it with double-quotes and escapes all double-quotes
already in the string according to Unix rules.
- toLower(String) - Static method in class org.tentackle.common.BasicStringHelper
-
Converts a string to lowercase allowing null values.
- toUpper(String) - Static method in class org.tentackle.common.BasicStringHelper
-
Converts a string to uppercase allowing null values.
- toWords() - Method in class org.tentackle.common.BMoney
-
Converts a money value to a string of digits as words.
The digits after the comma are ignored.