- absolute() - Method in class org.tentackle.common.BMoney
-
Gets the absolute value.
- absolute() - Method in class org.tentackle.common.DMoney
-
- add(BMoney) - Method in class org.tentackle.common.BMoney
-
Adds a BMoney to this value and returns a new object.
- add(BMoney) - Method in class org.tentackle.common.DMoney
-
- addExplicitClassLoader(String, String, ClassLoader) - Static method in class org.tentackle.common.ServiceFactory
-
Adds an explict classloader for a given service path and name.
Loaders are kept in a linked list for each path and name combination.
- addExplicitClassLoaderImpl(String, String, ClassLoader) - Method in class org.tentackle.common.ServiceFactory
-
Adds an explict classloader for a given service path and name.
Loaders are kept in a linked list for each path and name combination.
- alignScale(BMoney) - Method in class org.tentackle.common.BMoney
-
Check the scale of the given money value.
- AN_CLASSID - Static variable in class org.tentackle.common.Constants
-
java name class-ID.
- AN_EDITEDBY - Static variable in class org.tentackle.common.Constants
-
java name of the editing user.
- AN_EDITEDEXPIRY - Static variable in class org.tentackle.common.Constants
-
java name of time "lock token" will expire.
- AN_EDITEDSINCE - Static variable in class org.tentackle.common.Constants
-
java name of time editing started.
- AN_ID - Static variable in class org.tentackle.common.Constants
-
java name of ID.
- AN_NORMTEXT - Static variable in class org.tentackle.common.Constants
-
java name for the normtext.
- AN_ROOTCLASSID - Static variable in class org.tentackle.common.Constants
-
java name root-class-ID.
- AN_ROOTID - Static variable in class org.tentackle.common.Constants
-
java name root-ID.
- AN_SERIAL - Static variable in class org.tentackle.common.Constants
-
java name of serial.
- AN_TABLESERIAL - Static variable in class org.tentackle.common.Constants
-
java name of tableserial.
- Analyze - Annotation Type in org.tentackle.common
-
Annotation to mark an annotation to be processed during the analyze-phase.
- AnnotationProcessor - Annotation Type in org.tentackle.common
-
Annotation to express that the annotated class is an annotation processor.
- apply(String) - Method in class org.tentackle.common.DefaultStringNormalizer
-
Normalizes a string (phonetically) for use as PDO.normText.
- applyResourceIndex(ClassLoader, String, boolean) - Static method in class org.tentackle.common.ServiceFactory
-
Apply a given resource index.
The index is usually created via the tentackle-maven-plugin's analyze goal
with the index option set to something like "META-INF/RESOURCES-INDEX.LIST".
- applyResourceIndexImpl(ClassLoader, String, boolean) - Method in class org.tentackle.common.ServiceFactory
-
Apply a given resource index.
The index is usually created via the tentackle-maven-plugin's analyze goal
with the index option set to something like "META-INF/RESOURCES-INDEX.LIST".
- assertCurrentLocaleValid() - Method in class org.tentackle.common.LocaleProvider
-
Asserts that a thread local Locale is set.
- 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.
- 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.
- bufSize - 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.
- BUNDLE_SERVICE_PATH - Static variable in class org.tentackle.common.Constants
-
the directory for resource bundle names.
- BundleFactory - Interface in org.tentackle.common
-
The resource bundle factory.
- 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 build- and runtime.
- countOccurrences(String, char) - Static method in class org.tentackle.common.StringHelper
-
Counts the number of occurrences of a given character in a string.
- create(List<E>, List<P>) - Method in interface org.tentackle.common.PathFactory
-
Creates a new path from elements and continuation paths.
- create(List<E>, P) - Method in interface org.tentackle.common.PathFactory
-
Creates a new path by prepending elements to an existing path.
- 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.
- createProviders() - Method in class org.tentackle.common.DefaultBundleFactory
-
Creates a list of providers.
- 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_SERVICE_PATH - Static variable in class org.tentackle.common.Constants
-
the directory for default service provider configurations.
- DefaultBundleFactory - Class in org.tentackle.common
-
Default implementation of a bundle factory.
- DefaultBundleFactory() - Constructor for class org.tentackle.common.DefaultBundleFactory
-
Creates the bundle factory.
- 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/".
- DefaultStringNormalizer - Class in org.tentackle.common
-
The default normalizer (works sufficiently for most western languages).
- DefaultStringNormalizer(char) - Constructor for class org.tentackle.common.DefaultStringNormalizer
-
Creates a normalizer.
- DefaultStringNormalizer() - Constructor for class org.tentackle.common.DefaultStringNormalizer
-
Creates normalizer.
With a comma as the field separator.
- digitToString(Character) - Static method in class org.tentackle.common.StringHelper
-
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.
- fillLeft(String, int, char) - Static method in class org.tentackle.common.StringHelper
-
Fills up a string from the left with a filler character to match a given length.
If the string is already longer, nothing happens.
- fillRight(String, int, char) - Static method in class org.tentackle.common.StringHelper
-
Fills up a string to the right with a filler character to match a given length.
If the string is already longer, nothing happens.
- findBundle(String) - Method in interface org.tentackle.common.BundleFactory
-
Finds a resource bundle using the specified base name, the default locale, and the caller's class loader.
- findBundle(String, Locale) - Method in interface org.tentackle.common.BundleFactory
-
Finds a resource bundle using the specified base name and locale, and the caller's class loader.
- findBundle(String, Locale, ClassLoader) - Method in interface org.tentackle.common.BundleFactory
-
Finds a resource bundle using the specified base name, locale, and class loader.
- findBundle(String) - Method in class org.tentackle.common.DefaultBundleFactory
-
- findBundle(String, Locale) - Method in class org.tentackle.common.DefaultBundleFactory
-
- findBundle(String, Locale, ClassLoader) - Method in class org.tentackle.common.DefaultBundleFactory
-
- 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 class.
- findUniqueServiceProvider(Class<T>) - Method in interface org.tentackle.common.ServiceFinder
-
Finds the unique service provider by service name.
- firstBefore(String, char) - Static method in class org.tentackle.common.StringHelper
-
Gets the part of a string before a given delimiter.
- firstLine(String) - Static method in class org.tentackle.common.StringHelper
-
Gets the first line from a multi-line string.
- firstToLower(String) - Static method in class org.tentackle.common.StringHelper
-
Converts the first character of string to uppercase.
- firstToUpper(String) - Static method in class org.tentackle.common.StringHelper
-
Converts the first character of string to uppercase.
- getBundle(String) - Static method in interface org.tentackle.common.BundleFactory
-
- getBundle(String, Locale) - Static method in interface org.tentackle.common.BundleFactory
-
- getBundle(String, Locale, ClassLoader) - Static method in interface org.tentackle.common.BundleFactory
-
- getBundle() - Static method in class org.tentackle.common.CommonCommonBundle
-
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.
- getClassLoader() - Method in interface org.tentackle.common.BundleFactory
-
Gets the classloader to load the bundles.
- getClassLoader() - Method in class org.tentackle.common.DefaultBundleFactory
-
- getClassLoader() - Method in class org.tentackle.common.DefaultServiceFinder
-
Gets the classloader used by this finder.
- getClassLoader(String) - Method in class org.tentackle.common.DefaultServiceFinder
-
Gets the classloader for the given service name.
- getClassLoader(String, String) - Static method in class org.tentackle.common.ServiceFactory
-
Gets the classloader for a given service path and name.
If an explicit classloader is set, the last defined classloader for the given path and name is returned.
- getClassLoader() - Method in class org.tentackle.common.ServiceFactory
-
Gets the default classloader.
The classloader to use is determined as follows:
use the fixed classloader set by
ServiceFactory.setFixedClassLoader(java.lang.ClassLoader), if not null
else try
Thread.currentThread().getContextClassLoader()
if the context classloader is null, use the classloader that loaded the service factory
- getClassLoader() - Method in interface org.tentackle.common.ServiceFinder
-
Gets the default classloader used by this finder.
- getClassLoader() - Method in class org.tentackle.common.ServiceFinderKey
-
Gets the classloader.
- getClassLoaderImpl(String, String) - Method in class org.tentackle.common.ServiceFactory
-
Gets the classloader for a given service path and name.
If an explicit classloader is set, the last defined classloader for the given path and name is returned.
- getContinuedLine(String) - Static method in class org.tentackle.common.StringHelper
-
Checks whether given string introduces a continuation line.
- getControl(String) - Method in interface org.tentackle.common.BundleFactory
-
Gets the control to load the bundle.
- getControl(String) - Method in class org.tentackle.common.DefaultBundleFactory
-
- 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.
- getElements() - Method in interface org.tentackle.common.Path
-
Gets the elements describing the path.
- getExplicitClassLoader(String, String) - Static method in class org.tentackle.common.ServiceFactory
-
Gets the explicit classloader for a given service path and name.
- getExplicitClassLoaderImpl(String, String) - Method in class org.tentackle.common.ServiceFactory
-
Gets the explicit classloader for a given service path and name.
- getFinderMap() - Method in class org.tentackle.common.ServiceFactory
-
Gets the finder map.
Allows applications to modify or add finders programmatically.
The map is threadsafe.
- getFixedClassLoader() - Method in class org.tentackle.common.ServiceFactory
-
Gets the fixed classloader.
- getInputStream() - Method in class org.tentackle.common.Binary
-
Gets the stream to store the Binary in the database.
- getInstance() - Static method in interface org.tentackle.common.BundleFactory
-
The singleton.
- 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.
- getPaths() - Method in interface org.tentackle.common.Path
-
Gets the sub paths starting at end of this path.
- getPlainClassName(String) - Static method in class org.tentackle.common.StringHelper
-
Gets a classname without any optional generics.
- getProviders() - Method in interface org.tentackle.common.BundleFactory
-
Gets the control providers.
Method can be used to add a provider explicitly.
- getProviders() - Method in class org.tentackle.common.DefaultBundleFactory
-
- 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.
- getServiceFinderClass() - Method in class org.tentackle.common.ServiceFactory
-
Gets the class of the service finder.
- getServiceFinderImpl(ClassLoader, String) - 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.
- getServiceFinderImpl(String) - 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.
- getServiceFinderImpl() - Method in class org.tentackle.common.ServiceFactory
-
Gets a service finder.
If the finder does not exist yet, it will be created.
- getServicePath() - Method in class org.tentackle.common.DefaultServiceFinder
-
Gets the finder' service path it is responsible for.
- getServicePath() - Method in interface org.tentackle.common.ServiceFinder
-
Gets the finder' service path it is responsible for.
- getServicePath() - Method in class org.tentackle.common.ServiceFinderKey
-
Gets the service path.
- getStackTraceAsString(Throwable) - Static method in class org.tentackle.common.ExceptionHelper
-
Returns the stacktrace of a given exception as a string.
- getString(String) - Static method in class org.tentackle.common.CommonCommonBundle
-
Gets a string for the given key.
- SECOND_MS - Static variable in class org.tentackle.common.Constants
-
a second in milliseconds.
- Service - Annotation Type in org.tentackle.common
-
Annotation to express that the annotated class
is a service implementation.
- SERVICE_FACTORY_CLASSLOADER - Static variable in class org.tentackle.common.Settings
-
The classloader to load the service factorty.
- SERVICE_FACTORY_CLASSNAME - Static variable in class org.tentackle.common.Settings
-
The service factory class name.
- ServiceFactory - Class in org.tentackle.common
-
- ServiceFactory() - Constructor for class org.tentackle.common.ServiceFactory
-
Creates the factory.
- ServiceFinder - Interface in org.tentackle.common
-
Finds service configurations.
- ServiceFinderKey - Class in org.tentackle.common
-
Key to map service finders.
- ServiceFinderKey(ClassLoader, String) - Constructor for class org.tentackle.common.ServiceFinderKey
-
Creates a finder key.
- ServiceName - Annotation Type in org.tentackle.common
-
Annotation to express that the annotated class
is a service implementation.
- setClassLoader(ClassLoader) - Method in interface org.tentackle.common.BundleFactory
-
- setClassLoader(ClassLoader) - Method in class org.tentackle.common.DefaultBundleFactory
-
- setCurrentLocale(Locale) - Method in class org.tentackle.common.LocaleProvider
-
Sets the session used by the current thread.
The session is stored as
ThreadLocal.
- setData(byte[]) - Method in class org.tentackle.common.Binary
-
Sets the binary data.
- setFixedClassLoader(ClassLoader) - Method in class org.tentackle.common.ServiceFactory
-
Sets the fixed classloader.
Default is Thread.currentThread().getContextClassLoader().
- setTime(long) - Method in class org.tentackle.common.Date
- setTime(long) - Method in class org.tentackle.common.Time
- setTime(long) - Method in class org.tentackle.common.Timestamp
- Settings - Class in org.tentackle.common
-
Global settings.
- setUTC(boolean) - Method in class org.tentackle.common.Timestamp
-
Sets the UTC flag.
- smallestPositive() - Method in class org.tentackle.common.BMoney
-
Returns the smalles positive value.
Ex.: if scale is 2 --> 0.01 will be returned.
- smallestPositive() - Method in class org.tentackle.common.DMoney
-
- split(String, String) - Static method in class org.tentackle.common.StringHelper
-
Splits a string keeping strings together.
The strings may be enclosed in double- or single quotes which
will not be removed.
- StringHelper - Class in org.tentackle.common
-
Some handy methods for strings.
- stringNormalizer - Static variable in class org.tentackle.common.StringHelper
-
The default normalizer used within the application.
- stripEnclosingDoubleQuotes(String) - Static method in class org.tentackle.common.StringHelper
-
Strips enclosing double quotes.
- subtract(BMoney) - Method in class org.tentackle.common.BMoney
-
Subtracts a BMoney from this value and returns a new object.
- subtract(BMoney) - Method in class org.tentackle.common.DMoney
-
- SUPPRESS_WARNINGS_STATEFUL_DOMAIN_LOGIC - Static variable in class org.tentackle.common.Constants
-
suppress warnings for suspicious stateful domain logic.
- 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.
- toAsciiLetterOrDigit(String) - Static method in class org.tentackle.common.StringHelper
-
Converts to string containing only the letters A-z or digits.
All other characters will be converted to an underscore.
- toBytes(char) - Static method in class org.tentackle.common.StringHelper
-
Converts a single (unicode) char to a byte-array.
- toBytes(char[]) - Static method in class org.tentackle.common.StringHelper
-
Converts a char-array to a byte-array.
- toCharArray(String) - Static method in class org.tentackle.common.StringHelper
-
Transforms a string to a char-array.
- toDoubleQuotes(String) - Static method in class org.tentackle.common.StringHelper
-
Takes a string, surrounds it with double-quotes and escapes all double-quotes
already in the string according to Unix rules.
- toDTA(String) - Static method in class org.tentackle.common.StringHelper
-
Filters illegal chars for DTA-Files (German "DATENAUSTAUSCH" banking format).
- toFixedLength(String, int, char) - Static method in class org.tentackle.common.StringHelper
-
Takes a string and returns one with a given length, cutting or
filling up with fillchars, whatever appropriate.
- toFixedLength(String, int) - Static method in class org.tentackle.common.StringHelper
-
Takes a string and returns one with a given length, cutting or
filling up with spaces, whatever appropriate.
- toFixedLengthLeftFill(String, int, char) - Static method in class org.tentackle.common.StringHelper
-
Takes a string and returns one with a given length, cutting or
filling up with fillchars from the left, whatever appropriate.
- toFixedLengthLeftFill(String, int) - Static method in class org.tentackle.common.StringHelper
-
Takes a string and returns one with a given length, cutting or
filling up with spaces from the left, whatever appropriate.
- toHexString(byte[]) - Static method in class org.tentackle.common.StringHelper
-
Creates a human-readable hex-String out of a byte-array (e.g.
- toHTML(String) - Static method in class org.tentackle.common.StringHelper
-
Converts a multiline string to an HTML-string that
can be displayed in a label.
- toLikeString(String) - Static method in class org.tentackle.common.StringHelper
-
Converts a string to a string that can be used as a parameter
for a LIKE-clause.
- toLikeStringWithNull(String) - Static method in class org.tentackle.common.StringHelper
-
Converts a string to a string that can be used as a parameter
for a LIKE-clause, nullpointer safe.
- toLower(String) - Static method in class org.tentackle.common.StringHelper
-
Converts a string to lowercase allowing null values.
- toParsableString(String) - Static method in class org.tentackle.common.StringHelper
-
- toUpper(String) - Static method in class org.tentackle.common.StringHelper
-
Converts a string to uppercase allowing null values.
- toVarName(String) - Static method in class org.tentackle.common.StringHelper
-
Filters illegal chars for Java variable names.
- 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.
- trim(String, int) - Static method in class org.tentackle.common.StringHelper
-
Trims a string.
- trim(String) - Static method in class org.tentackle.common.StringHelper
-
Trims a string.
- trimLeft(String, char) - Static method in class org.tentackle.common.StringHelper
-
Cuts leading characters.
- trimRight(String, char) - Static method in class org.tentackle.common.StringHelper
-
Cuts trailing characters.