Skip navigation links
A B C D E F G H I K L M P R S T U V 

A

AbstractLocalizedFieldsObject<Base extends LocalizedFields> - Class in com.foreach.common.spring.localization
An object that contains different versions of LocalizedFields instances providing language versioned fields.
AbstractLocalizedFieldsObject() - Constructor for class com.foreach.common.spring.localization.AbstractLocalizedFieldsObject
 
AbstractLocalizedTextService - Class in com.foreach.common.spring.localization.text
The AbstractLocalizedTextService is a basic implementation of the LocalizedTextService interface, providing all methods for lookup and creation of text items.
AbstractLocalizedTextService(LocalizedTextDataStore) - Constructor for class com.foreach.common.spring.localization.text.AbstractLocalizedTextService
 
add(Base) - Method in class com.foreach.common.spring.localization.LocalizedFieldsCollection
 
addAll(Collection<? extends Base>) - Method in class com.foreach.common.spring.localization.LocalizedFieldsCollection
 
addConfigurationResources(Collection<Resource>) - Method in class com.foreach.common.spring.logging.LogbackConfigurer
 
addConfigurationResources(Collection<Resource>) - Method in class com.foreach.common.spring.logging.LogbackConfigurerAdapter
Add XML configuration resources in this method.
addFields(Base) - Method in class com.foreach.common.spring.localization.AbstractLocalizedFieldsObject
Adds LocalizedFields to this entity.
addProperties(Map<String, String>) - Method in class com.foreach.common.spring.logging.LogbackConfigurer
 
addProperties(Map<String, String>) - Method in class com.foreach.common.spring.logging.LogbackConfigurerAdapter
Add configuration properties to be passed to the XML resources in this method.
afterPropertiesSet() - Method in class com.foreach.common.spring.convert.CustomConversionServiceFactoryBean
 
application(String) - Method in class com.foreach.common.spring.localization.text.LocalizedText.LocalizedTextBuilder
 
ApplicationContextInfo - Class in com.foreach.common.spring.context
This class is deprecated, favour the more simple ApplicationInfo interface. This class groups application metadata.
ApplicationContextInfo() - Constructor for class com.foreach.common.spring.context.ApplicationContextInfo
 
ApplicationEnvironment - Enum in com.foreach.common.spring.context
A enum to differentiate between running environments.
ApplicationInfo - Interface in com.foreach.common.spring.context
Base interface to hold information about the running application.
AtLeastOneNotNullField - Annotation Type in com.foreach.common.spring.validators
An annotation that validates an object using the AtLeastOneNotNullFieldValidator class.
AtLeastOneNotNullFieldValidator - Class in com.foreach.common.spring.validators
AtLeastOneNotNullFieldValidator validates an object whether it has at least one of the listed properties filled in (as in, not null).
AtLeastOneNotNullFieldValidator() - Constructor for class com.foreach.common.spring.validators.AtLeastOneNotNullFieldValidator
 

B

BaseLocalizedFields - Class in com.foreach.common.spring.localization
Provides an abstract base class that implements the LocalizedFields interface and allows Language setting upon construction of the fields instance.
BaseLocalizedFields(Language) - Constructor for class com.foreach.common.spring.localization.BaseLocalizedFields
 
BasicMailService - Class in com.foreach.common.spring.mail
MailService sends smtp mails with optional attachments.
BasicMailService() - Constructor for class com.foreach.common.spring.mail.BasicMailService
 
build() - Method in class com.foreach.common.spring.localization.text.LocalizedText.LocalizedTextBuilder
 
buildEncodingMatrix(char[], int, boolean) - Method in class com.foreach.common.spring.code.MappedStringEncoder
Builds a symmetrical encoding matrix with the specified parameters.
buildEncodingMatrix(char[], int, boolean, int) - Method in class com.foreach.common.spring.code.MappedStringEncoder
Builds a symmetrical encoding matrix with the specified parameters.
builder() - Static method in class com.foreach.common.spring.localization.text.LocalizedText
 

C

CachingTypedPropertyMap<T> - Class in com.foreach.common.spring.properties
Extends the TypedPropertyMap by caching the values instead of converting all the time.
CachingTypedPropertyMap(PropertyTypeRegistry<T>, Map<T, ?>, Class) - Constructor for class com.foreach.common.spring.properties.CachingTypedPropertyMap
 
canConvert(TypeDescriptor, TypeDescriptor) - Method in class com.foreach.common.spring.convert.HierarchicalConversionService
 
clear() - Method in class com.foreach.common.spring.localization.LocalizedFieldsCollection
 
clear() - Method in class com.foreach.common.spring.localization.text.EternalLocalizedTextSetCache
Clears the cache.
clear() - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSetCache
Clears the cache.
clear() - Method in class com.foreach.common.spring.properties.CachingTypedPropertyMap
 
clear() - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
clear() - Method in class com.foreach.common.spring.properties.TypedPropertyMap
 
CodeGenerator - Class in com.foreach.common.spring.code
Generator that creates unique codes using an underlying MappedStringEncoder.
CodeGenerator(MappedStringEncoder) - Constructor for class com.foreach.common.spring.code.CodeGenerator
 
CodeLookup<S> - Interface in com.foreach.common.spring.enums
CodeLookup is an interface to facilitate finding elements in small sets of enumerated Objects, usually a java Enum.
com.foreach.common.spring.code - package com.foreach.common.spring.code
 
com.foreach.common.spring.context - package com.foreach.common.spring.context
This package contains classes which holds information about given application
com.foreach.common.spring.convert - package com.foreach.common.spring.convert
This package contain Spring conversion related classes.
com.foreach.common.spring.enums - package com.foreach.common.spring.enums
Various utility classes to convert from or to Enum classes.
com.foreach.common.spring.localization - package com.foreach.common.spring.localization
Base classes and interfaces to facilitate objects with localized fields.
com.foreach.common.spring.localization.text - package com.foreach.common.spring.localization.text
 
com.foreach.common.spring.logging - package com.foreach.common.spring.logging
This package contains classes to implement Log4j or Logback in applications
com.foreach.common.spring.mail - package com.foreach.common.spring.mail
Utility classes to send smtp mail to multiple recipients with optional attchments.
com.foreach.common.spring.properties - package com.foreach.common.spring.properties
 
com.foreach.common.spring.properties.support - package com.foreach.common.spring.properties.support
 
com.foreach.common.spring.validators - package com.foreach.common.spring.validators
Utility classes to extend validation.
compareTo(LocalizedText) - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
configure() - Method in class com.foreach.common.spring.logging.Log4JConfigurator
Configures Log4J using a PropertyConfigurator and the properties file set on the bean.
configure() - Method in class com.foreach.common.spring.logging.LogbackConfigurerAdapter
Applies the logback configuration.
configureLoggerContext(LoggerContext) - Method in class com.foreach.common.spring.logging.LogbackConfigurerAdapter
Perform special configuration on the LoggerContext in this method.
contains(Object) - Method in class com.foreach.common.spring.localization.LocalizedFieldsCollection
 
containsAll(Collection<?>) - Method in class com.foreach.common.spring.localization.LocalizedFieldsCollection
 
containsKey(Object) - Method in class com.foreach.common.spring.properties.TypedPropertyMap
 
containsValue(Object) - Method in class com.foreach.common.spring.properties.TypedPropertyMap
 
convert(E) - Method in class com.foreach.common.spring.convert.EnumCodeRenderer
 
convert(E) - Method in class com.foreach.common.spring.convert.EnumIdRenderer
 
convert(Object, TypeDescriptor, TypeDescriptor) - Method in class com.foreach.common.spring.convert.HierarchicalConversionService
 
create(PropertyTypeRegistry, T) - Method in interface com.foreach.common.spring.properties.PropertyFactory
Creates a new instance of the property.
create(PropertyTypeRegistry, T) - Method in class com.foreach.common.spring.properties.support.InstancePropertyFactory
 
create(PropertyTypeRegistry, T) - Method in class com.foreach.common.spring.properties.support.SingletonPropertyFactory
 
createFields(Language) - Method in class com.foreach.common.spring.localization.AbstractLocalizedFieldsObject
Creates new LocalizedFields of the required specific implementation.
createFields(Language) - Method in class com.foreach.common.spring.localization.text.LocalizedText
Creates new LocalizedFields of the required specific implementation.
CustomConversionServiceFactoryBean - Class in com.foreach.common.spring.convert
This class adds support for recursive converters:
CustomConversionServiceFactoryBean() - Constructor for class com.foreach.common.spring.convert.CustomConversionServiceFactoryBean
 

D

decode(String) - Method in class com.foreach.common.spring.code.MappedStringEncoder
Decode a code string back to a number.
defaultConversionService() - Static method in class com.foreach.common.spring.convert.HierarchicalConversionService
 
defaultConversionService(ConversionService) - Static method in class com.foreach.common.spring.convert.HierarchicalConversionService
 
deleteLocalizedText(LocalizedText) - Method in class com.foreach.common.spring.localization.text.AbstractLocalizedTextService
Deletes a LocalizedText item from the backing datastore.
deleteLocalizedText(LocalizedText) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextDataStore
Deletes an item in the datastore.
deleteLocalizedText(LocalizedText) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextService
Deletes a LocalizedText item from the backing datastore.
detach() - Method in class com.foreach.common.spring.properties.CachingTypedPropertyMap
Creates a duplicate of the TypedPropertyMap with its own property source, but the same registry and conversionService.
detach() - Method in class com.foreach.common.spring.properties.TypedPropertyMap
Creates a duplicate of the TypedPropertyMap with its own property source, but the same registry and conversionService.
DirectPropertiesSource<T> - Class in com.foreach.common.spring.properties.support
Simple PropertieSource that proxies access to an underlying Map implementation.
DirectPropertiesSource(Map<T, ?>) - Constructor for class com.foreach.common.spring.properties.support.DirectPropertiesSource
 

E

encode(long, boolean) - Method in class com.foreach.common.spring.code.MappedStringEncoder
Encodes a number to a code string.
entrySet() - Method in class com.foreach.common.spring.properties.TypedPropertyMap
 
EnumCodeRenderer<E extends Enum<E> & CodeLookup<String>> - Class in com.foreach.common.spring.convert
 
EnumCodeRenderer() - Constructor for class com.foreach.common.spring.convert.EnumCodeRenderer
 
EnumConverterFactory - Class in com.foreach.common.spring.convert
EnumConverterFactory is an implementation of the Spring ConverterFactory interface that generates Converters from String to Enum classes implementing IdLookup or CodeLookup.
EnumConverterFactory() - Constructor for class com.foreach.common.spring.convert.EnumConverterFactory
 
EnumIdRenderer<E extends Enum<E> & IdLookup<Integer>> - Class in com.foreach.common.spring.convert
 
EnumIdRenderer() - Constructor for class com.foreach.common.spring.convert.EnumIdRenderer
 
EnumUtils - Class in com.foreach.common.spring.enums
EnumUtils contains some utility routines to find specific enums if their classes implement Idlookup or CodeLookup.
EnumUtils() - Constructor for class com.foreach.common.spring.enums.EnumUtils
 
equals(Object) - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
equals(Object) - Method in class com.foreach.common.spring.localization.text.LocalizedTextFields
 
EternalLocalizedTextSetCache - Class in com.foreach.common.spring.localization.text
Default implementation of LocalizedTextSetCache that stores an infinite number of LocalizedTextSet instances in a simple internal map structure, forever or until cleared.
EternalLocalizedTextSetCache() - Constructor for class com.foreach.common.spring.localization.text.EternalLocalizedTextSetCache
 
exists(String) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSet
 
exists(String) - Method in class com.foreach.common.spring.localization.text.LocalizedTextSetImpl
 

F

field(Language, String) - Method in class com.foreach.common.spring.localization.text.LocalizedText.LocalizedTextBuilder
 
flagAsUsed(LocalizedText) - Method in class com.foreach.common.spring.localization.text.AbstractLocalizedTextService
Flags a text item as used, this will also call a method on the DAO to flag the item in the data store.
flagAsUsed(LocalizedText) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextDataStore
Flags an item as used in the datastore.
flagAsUsed(LocalizedText) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextService
Flags a text item as used, this will also call a method on the DAO to flag the item in the data store.
forClass(Class<Y>) - Static method in class com.foreach.common.spring.properties.support.InstancePropertyFactory
 
forCodeLength(int) - Static method in class com.foreach.common.spring.code.CodeGenerator
Create a CodeGenerator that generates random codes with a specified length.
forMaximumValue(long, boolean) - Static method in class com.foreach.common.spring.code.MappedStringEncoder
Will create the shortest possible encoder that can encode the maximum value specified.
forValue(B) - Static method in class com.foreach.common.spring.properties.support.SingletonPropertyFactory
 

G

generate(int) - Method in class com.foreach.common.spring.code.CodeGenerator
Generates a number of random codes that are all the same - full - length.
generate(int, boolean) - Method in class com.foreach.common.spring.code.CodeGenerator
Generates a number of random codes.
get(Object) - Method in class com.foreach.common.spring.properties.TypedPropertyMap
 
getApplication() - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
getApplication() - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSet
 
getApplication() - Method in class com.foreach.common.spring.localization.text.LocalizedTextSetImpl
 
getApplicationId() - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Example: myapp
getApplicationId() - Method in interface com.foreach.common.spring.context.ApplicationInfo
Example: myapp
getApplicationName() - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Returns the specified application name
getApplicationName() - Method in interface com.foreach.common.spring.context.ApplicationInfo
Example: My Application
getApplications() - Method in class com.foreach.common.spring.localization.text.AbstractLocalizedTextService
 
getApplications() - Method in interface com.foreach.common.spring.localization.text.LocalizedTextDataStore
 
getApplications() - Method in interface com.foreach.common.spring.localization.text.LocalizedTextService
 
getBuildDate() - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Returns the build date of the current application
getBuildDate() - Method in interface com.foreach.common.spring.context.ApplicationInfo
 
getBuildId() - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Could be a build number from the build server, revision number from source control etc.
getBuildId() - Method in interface com.foreach.common.spring.context.ApplicationInfo
Could be a build number from the build server, revision number from source control etc.
getBuildNumber() - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Returns the build number of the current application
getByCode(Class<E>, S) - Static method in class com.foreach.common.spring.enums.EnumUtils
 
getById(Class<E>, I) - Static method in class com.foreach.common.spring.enums.EnumUtils
 
getByIds(Class<E>, List<I>) - Static method in class com.foreach.common.spring.enums.EnumUtils
 
getCachedTextSets() - Method in class com.foreach.common.spring.localization.text.EternalLocalizedTextSetCache
 
getCachedTextSets() - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSetCache
 
getClassForProperty(T) - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
getClassForUnknownProperties() - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
getClassLoggers() - Static method in class com.foreach.common.spring.logging.Log4JUtils
To get a list of all registered loggers in current application.
getCode() - Method in interface com.foreach.common.spring.enums.CodeLookup
Returns the unique code of type <S> for this instance.
getCodeLength() - Method in class com.foreach.common.spring.code.MappedStringEncoder
 
getConversionServiceForProperty(T) - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
getConverter(Class<E>) - Method in class com.foreach.common.spring.convert.EnumConverterFactory
Get a converter instance for the specified enum class.
getCreated() - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
getDefaultConversionService() - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
getDefaultValueForProperty(T) - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
getEnvironment() - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Deprecated.
getEnvironmentId() - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Example: test
getEnvironmentId() - Method in interface com.foreach.common.spring.context.ApplicationInfo
Example: test
getEnvironmentName() - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Example: Test environment
getEnvironmentName() - Method in interface com.foreach.common.spring.context.ApplicationInfo
Example: Test environment
getException() - Method in class com.foreach.common.spring.mail.MailStatus
 
getExecutorService() - Method in class com.foreach.common.spring.mail.BasicMailService
Get the current ExecutorService being used.
getFields() - Method in class com.foreach.common.spring.localization.AbstractLocalizedFieldsObject
Provides an unmodifiable map interface to access the fields by language code (String accessor).
getFieldsAsCollection() - Method in class com.foreach.common.spring.localization.AbstractLocalizedFieldsObject
Provides a collection interface to all fields.
getFieldsForLanguage(Language) - Method in class com.foreach.common.spring.localization.AbstractLocalizedFieldsObject
Method to fetch fields for a given language.
getGroup() - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
getGroup() - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSet
 
getGroup() - Method in class com.foreach.common.spring.localization.text.LocalizedTextSetImpl
 
getGroups(String) - Method in class com.foreach.common.spring.localization.text.AbstractLocalizedTextService
 
getGroups(String) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextDataStore
 
getGroups(String) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextService
 
getHostName() - Method in class com.foreach.common.spring.context.ApplicationContextInfo
 
getHostName() - Method in interface com.foreach.common.spring.context.ApplicationInfo
Example: localhost
getId() - Method in interface com.foreach.common.spring.enums.IdLookup
Returns the unique id of type <I> for this instance.
getInstanceId() - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Application instance is usually a combination of the application, environment and hostname.
getInstanceId() - Method in interface com.foreach.common.spring.context.ApplicationInfo
Application instance is usually a combination of the application, environment and hostname.
getItems() - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSet
 
getItems() - Method in class com.foreach.common.spring.localization.text.LocalizedTextSetImpl
 
getLabel() - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Returns the specified label of the current application
getLabel() - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
getLanguage() - Method in class com.foreach.common.spring.localization.BaseLocalizedFields
 
getLanguage() - Method in interface com.foreach.common.spring.localization.LocalizedFields
 
getLanguageByCode(String) - Static method in class com.foreach.common.spring.localization.LanguageConfigurator
 
getLanguageClass() - Static method in class com.foreach.common.spring.localization.LanguageConfigurator
 
getLanguageMap(LocalizedTextSet, Language) - Method in class com.foreach.common.spring.localization.text.AbstractLocalizedTextService
Converts all LocalizedTexts in the provided language to a Map.
getLanguageMap(LocalizedTextSet, Language) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextService
Converts all LocalizedTexts in the provided language to a Map.
getLanguages() - Static method in class com.foreach.common.spring.localization.LanguageConfigurator
 
getLocale() - Method in interface com.foreach.common.spring.localization.Language
 
getLocalizedText(String, String, String) - Method in class com.foreach.common.spring.localization.text.AbstractLocalizedTextService
Gets a single LocalizedText item from the datastore.
getLocalizedText(String, String, String) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextDataStore
Gets an item with a specified label from a particular group.
getLocalizedText(String, String, String) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextService
Gets a single LocalizedText item from the datastore.
getLocalizedTextForGroup(String, String) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextDataStore
Gets a list of all LocalizedText items for a given group.
getLocalizedTextItems(String, String) - Method in class com.foreach.common.spring.localization.text.AbstractLocalizedTextService
Gets a list of all LocalizedText items for a given group.
getLocalizedTextItems(String, String) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextService
Gets a list of all LocalizedText items for a given group.
getLocalizedTextSet(String, String) - Method in class com.foreach.common.spring.localization.text.AbstractLocalizedTextService
Gets a LocalizedTextSetImpl for a group of items.
getLocalizedTextSet(String, String) - Method in class com.foreach.common.spring.localization.text.EternalLocalizedTextSetCache
Gets a LocalizedTextSet for a group of items from the cache.
getLocalizedTextSet(String, String) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextService
Gets a LocalizedTextSetImpl for a group of items.
getLocalizedTextSet(String, String) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSetCache
Gets a LocalizedTextSet for a group of items from the cache.
getLogDirectory() - Method in class com.foreach.common.spring.logging.Log4JConfigurator
Getter for the field logDirectory.
getLogger() - Method in class com.foreach.common.spring.logging.MethodExecutionTimeLogger
Get the logger
getLogger() - Method in class com.foreach.common.spring.mail.BasicMailService
Get the logger
getMaxValue() - Method in class com.foreach.common.spring.code.MappedStringEncoder
 
getMinValue() - Method in class com.foreach.common.spring.code.MappedStringEncoder
 
getName() - Method in interface com.foreach.common.spring.localization.Language
 
getParent() - Method in class com.foreach.common.spring.convert.HierarchicalConversionService
 
getProperties() - Method in interface com.foreach.common.spring.properties.PropertiesSource
 
getProperties() - Method in class com.foreach.common.spring.properties.support.DirectPropertiesSource
 
getPropertiesFile() - Method in class com.foreach.common.spring.logging.Log4JConfigurator
Getter for the field propertiesFile.
getRegisteredProperties() - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
getServiceBccRecipients() - Method in class com.foreach.common.spring.mail.BasicMailService
 
getSource() - Method in class com.foreach.common.spring.properties.TypedPropertyMap
 
getStartupDate() - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Returns the start-up date of the current application.
getStartupDate() - Method in interface com.foreach.common.spring.context.ApplicationInfo
 
getText() - Method in class com.foreach.common.spring.localization.text.LocalizedTextFields
 
getText(String, Language) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSet
Returns the value for a specific language of a text item.
getText(String, Language, String) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSet
Returns the value for a specific language of a text item.
getText(String, Language, String, boolean) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSet
Returns the value for a specific language of a text item.
getText(String, Language) - Method in class com.foreach.common.spring.localization.text.LocalizedTextSetImpl
Returns the value for a specific language of a text item.
getText(String, Language, String) - Method in class com.foreach.common.spring.localization.text.LocalizedTextSetImpl
Returns the value for a specific language of a text item.
getText(String, Language, String, boolean) - Method in class com.foreach.common.spring.localization.text.LocalizedTextSetImpl
Returns the value for a specific language of a text item.
getTypeForProperty(T) - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
getUpdated() - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
getValue(T) - Method in class com.foreach.common.spring.properties.CachingTypedPropertyMap
 
getValue(T) - Method in class com.foreach.common.spring.properties.TypedPropertyMap
Allows a strong typed property to be fetched from the source map.
getValue(T, Class<O>) - Method in class com.foreach.common.spring.properties.TypedPropertyMap
Fetches a property from the source map and converts it to the type expected.
getValue(T, TypeDescriptor) - Method in class com.foreach.common.spring.properties.TypedPropertyMap
Fetches a property from the source map and converts it to the type expected.
group(String) - Method in class com.foreach.common.spring.localization.text.LocalizedText.LocalizedTextBuilder
 

H

hashCode() - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
hashCode() - Method in class com.foreach.common.spring.localization.text.LocalizedTextFields
 
HierarchicalConversionService - Class in com.foreach.common.spring.convert
Extension of the GenericConversionService that represents an initially empty ConversionService that delegates to a parent ConversionService if no local converters are registered.
HierarchicalConversionService() - Constructor for class com.foreach.common.spring.convert.HierarchicalConversionService
 
HierarchicalConversionService(ConversionService) - Constructor for class com.foreach.common.spring.convert.HierarchicalConversionService
 

I

IdLookup<I> - Interface in com.foreach.common.spring.enums
IdLookup is an interface to facilitate finding elements in small sets of enumerated Objects, usually a java Enum.
initialize(AtLeastOneNotNullField) - Method in class com.foreach.common.spring.validators.AtLeastOneNotNullFieldValidator
 
initialize(ISBN) - Method in class com.foreach.common.spring.validators.ISBNValidator
 
initialize(MultipleEmails) - Method in class com.foreach.common.spring.validators.MultipleEmailsValidator
 
insertLocalizedText(LocalizedText) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextDataStore
Inserts a new item in the datastore.
InstancePropertyFactory<T,Y> - Class in com.foreach.common.spring.properties.support
Creates a new instance of a class, useful for creating new collections.
InstancePropertyFactory(Class<Y>) - Constructor for class com.foreach.common.spring.properties.support.InstancePropertyFactory
 
isAutoGenerated() - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
ISBN - Annotation Type in com.foreach.common.spring.validators
An annotation that validates ISBN numbers using the ISBNValidator class.
ISBNValidator - Class in com.foreach.common.spring.validators
IsbnValidator validates a string containing an ISBN number.
ISBNValidator() - Constructor for class com.foreach.common.spring.validators.ISBNValidator
 
isEmpty() - Method in class com.foreach.common.spring.localization.LocalizedFieldsCollection
 
isEmpty() - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
isEmpty() - Method in class com.foreach.common.spring.properties.TypedPropertyMap
 
isMailSent() - Method in class com.foreach.common.spring.mail.MailStatus
If false then the exception causing mail to fail can be found using getException().
isNegativeValuesSupported() - Method in class com.foreach.common.spring.code.MappedStringEncoder
 
isRegistered(T) - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
isRunningIn(ApplicationEnvironment) - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Method to check whether the current application is running in given mode.
isRunningIn(String) - Method in class com.foreach.common.spring.context.ApplicationContextInfo
 
isRunningIn(String) - Method in interface com.foreach.common.spring.context.ApplicationInfo
 
isUsed() - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
isValid(Object, ConstraintValidatorContext) - Method in class com.foreach.common.spring.validators.AtLeastOneNotNullFieldValidator
 
isValid(String, ConstraintValidatorContext) - Method in class com.foreach.common.spring.validators.ISBNValidator
 
isValid(String, ConstraintValidatorContext) - Method in class com.foreach.common.spring.validators.MultipleEmailsValidator
 
iterator() - Method in class com.foreach.common.spring.localization.LocalizedFieldsCollection
 

K

keySet() - Method in class com.foreach.common.spring.properties.TypedPropertyMap
 

L

label(String) - Method in class com.foreach.common.spring.localization.text.LocalizedText.LocalizedTextBuilder
 
Language - Interface in com.foreach.common.spring.localization
Interface for custom Language implementation.
LanguageConfigurator - Class in com.foreach.common.spring.localization
LanguageConfigurator holds the reference to the actual Language implementation being used.
LanguageConfigurator(Class<E>) - Constructor for class com.foreach.common.spring.localization.LanguageConfigurator
Initializes the Language system using the specified enum class implementing the Language interface.
LanguageConfigurator.LanguagesNotConfiguredException - Exception in com.foreach.common.spring.localization
Exception thrown when the Language system has not been properly initialized.
LocalizedFields - Interface in com.foreach.common.spring.localization
LocalizedFields interface is used to link a collection of properties to a specific language.
LocalizedFieldsCollection<Base extends LocalizedFields> - Class in com.foreach.common.spring.localization
A collection wrapper around a set of LocalizedFields.
LocalizedText - Class in com.foreach.common.spring.localization.text
 
LocalizedText() - Constructor for class com.foreach.common.spring.localization.text.LocalizedText
 
LocalizedText.LocalizedTextBuilder - Class in com.foreach.common.spring.localization.text
 
LocalizedTextDataStore - Interface in com.foreach.common.spring.localization.text
An interface to communicate between a LocalizedTextService and a backing datastore containing the items.
LocalizedTextFields - Class in com.foreach.common.spring.localization.text
 
LocalizedTextFields() - Constructor for class com.foreach.common.spring.localization.text.LocalizedTextFields
For deserialization.
LocalizedTextFields(Language) - Constructor for class com.foreach.common.spring.localization.text.LocalizedTextFields
 
LocalizedTextService - Interface in com.foreach.common.spring.localization.text
 
LocalizedTextSet - Interface in com.foreach.common.spring.localization.text
LocalizedTextSet is a collection of LocalizedText instances scoped to a particular group.
LocalizedTextSetCache - Interface in com.foreach.common.spring.localization.text
 
LocalizedTextSetImpl - Class in com.foreach.common.spring.localization.text
LocalizedTextSet is a collection of LocalizedText instances scoped to a particular group.
LocalizedTextSetImpl(String, String, LocalizedTextService) - Constructor for class com.foreach.common.spring.localization.text.LocalizedTextSetImpl
Constructs a new LocalizedTextSet based on a collection of items.
LOG - Variable in class com.foreach.common.spring.localization.text.AbstractLocalizedTextService
 
Log4JConfigurator - Class in com.foreach.common.spring.logging
The Log4JConfigurator bean can be used to configure log4j settings in Spring.
Log4JConfigurator() - Constructor for class com.foreach.common.spring.logging.Log4JConfigurator
 
Log4JUtils - Class in com.foreach.common.spring.logging
Utility class for Log4j.
Log4JUtils() - Constructor for class com.foreach.common.spring.logging.Log4JUtils
 
LogbackConfigurer - Class in com.foreach.common.spring.logging
The LogbackConfigurer can be used to configure logback based on one or more xml configuration resources.
LogbackConfigurer(String, Resource...) - Constructor for class com.foreach.common.spring.logging.LogbackConfigurer
Create a configurer with the specified log directory and one or more XML resources.
LogbackConfigurerAdapter - Class in com.foreach.common.spring.logging
Adapter class for creating beans that make it easier to configure logback using XML resources (classpath, file resources).
LogbackConfigurerAdapter() - Constructor for class com.foreach.common.spring.logging.LogbackConfigurerAdapter
 
LogbackConfigurerException - Exception in com.foreach.common.spring.logging
 
LogbackConfigurerException() - Constructor for exception com.foreach.common.spring.logging.LogbackConfigurerException
Constructs a new runtime exception with null as its detail message.
LogbackConfigurerException(String) - Constructor for exception com.foreach.common.spring.logging.LogbackConfigurerException
Constructs a new runtime exception with the specified detail message.
LogbackConfigurerException(String, Throwable) - Constructor for exception com.foreach.common.spring.logging.LogbackConfigurerException
Constructs a new runtime exception with the specified detail message and cause.
LogbackConfigurerException(Throwable) - Constructor for exception com.foreach.common.spring.logging.LogbackConfigurerException
Constructs a new 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).

M

MailService - Interface in com.foreach.common.spring.mail
 
MailStatus - Class in com.foreach.common.spring.mail
Status object to check if mail has been sent.
MailStatus(boolean) - Constructor for class com.foreach.common.spring.mail.MailStatus
 
MailStatus(boolean, Throwable) - Constructor for class com.foreach.common.spring.mail.MailStatus
 
MappedStringEncoder - Class in com.foreach.common.spring.code
Encodes a number to a string according to an encoding map.
MappedStringEncoder() - Constructor for class com.foreach.common.spring.code.MappedStringEncoder
Creates a blank encoder that is unable to encode or decode any values.
MappedStringEncoder(int, boolean) - Constructor for class com.foreach.common.spring.code.MappedStringEncoder
Creates a default encoder with a symmetrical encoding matrix.
MappedStringEncoder(int, int) - Constructor for class com.foreach.common.spring.code.MappedStringEncoder
Creates a default encoder with a symmetrical encoding matrix.
MethodExecutionTimeLogger - Class in com.foreach.common.spring.logging
The MethodExecutionTimeLogger class contains utility method which can be used to log the method execution time.
MethodExecutionTimeLogger() - Constructor for class com.foreach.common.spring.logging.MethodExecutionTimeLogger
 
MultipleEmails - Annotation Type in com.foreach.common.spring.validators
An annotation that validates using the MultipleEmailsValidator class.
MultipleEmailsValidator - Class in com.foreach.common.spring.validators
MultipleEmailsValidator validates a string containing multiple comma or semi-colon separated email adresses.
MultipleEmailsValidator() - Constructor for class com.foreach.common.spring.validators.MultipleEmailsValidator
 
MutableApplicationInfo - Interface in com.foreach.common.spring.context
 

P

proceedAndLogExecutionTime(ProceedingJoinPoint) - Method in class com.foreach.common.spring.logging.MethodExecutionTimeLogger
This method will log the method duration time if the execution time exceeds specified minimum duration time.
PropertiesSource<T> - Interface in com.foreach.common.spring.properties
Interface that proxies access to a map of properties.
PropertyFactory<T,Y> - Interface in com.foreach.common.spring.properties
Interface for creating property default values.
PropertyTypeRegistry<T> - Class in com.foreach.common.spring.properties
Registry mapping properties by name to the type they are supposed to be.
PropertyTypeRegistry() - Constructor for class com.foreach.common.spring.properties.PropertyTypeRegistry
 
PropertyTypeRegistry(ConversionService) - Constructor for class com.foreach.common.spring.properties.PropertyTypeRegistry
 
PropertyTypeRegistry(Class) - Constructor for class com.foreach.common.spring.properties.PropertyTypeRegistry
 
PropertyTypeRegistry(Class, ConversionService) - Constructor for class com.foreach.common.spring.properties.PropertyTypeRegistry
 
propertyTypeRegistry - Variable in class com.foreach.common.spring.properties.TypedPropertyMap
 
put(T, Object) - Method in class com.foreach.common.spring.properties.TypedPropertyMap
 
putAll(Map<? extends T, ?>) - Method in class com.foreach.common.spring.properties.TypedPropertyMap
 

R

RecursiveConverter - Interface in com.foreach.common.spring.convert
 
refresh() - Method in class com.foreach.common.spring.properties.CachingTypedPropertyMap
Clears all cached values, ensuring that on the next request the properties will be converted again.
register(T, Class) - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
register(T, TypeDescriptor) - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
register(T, Class<A>, PropertyFactory<T, A>) - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
register(T, TypeDescriptor, PropertyFactory<T, ?>) - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
register(T, Class<A>, PropertyFactory<T, A>, ConversionService) - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
register(T, TypeDescriptor, PropertyFactory<T, ?>, ConversionService) - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
reload() - Method in class com.foreach.common.spring.localization.text.EternalLocalizedTextSetCache
Reloads all LocalizedTextSet instances kept in the cache.
reload(String, String) - Method in class com.foreach.common.spring.localization.text.EternalLocalizedTextSetCache
Reloads the specific LocalizedTextSet instance if kept in the cache.
reload() - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSet
Reloads all items in this set from the backing data store.
reload() - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSetCache
Reloads all LocalizedTextSet instances kept in the cache.
reload(String, String) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSetCache
Reloads the specific LocalizedTextSet instance if kept in the cache.
reload() - Method in class com.foreach.common.spring.localization.text.LocalizedTextSetImpl
Reloads all items in this set from the backing data store.
remove(Object) - Method in class com.foreach.common.spring.localization.LocalizedFieldsCollection
 
remove(Object) - Method in class com.foreach.common.spring.properties.CachingTypedPropertyMap
 
remove(Object) - Method in class com.foreach.common.spring.properties.TypedPropertyMap
 
removeAll(Collection<?>) - Method in class com.foreach.common.spring.localization.LocalizedFieldsCollection
 
removeFields(Language) - Method in class com.foreach.common.spring.localization.AbstractLocalizedFieldsObject
Removes the LocalizedFields for the specific language.
retainAll(Collection<?>) - Method in class com.foreach.common.spring.localization.LocalizedFieldsCollection
 

S

saveDefaultText(String, String, String, String) - Method in class com.foreach.common.spring.localization.text.AbstractLocalizedTextService
Creates a new text item with default values.
saveDefaultText(String, String, String, String) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextService
Creates a new text item with default values.
saveLocalizedText(LocalizedText) - Method in class com.foreach.common.spring.localization.text.AbstractLocalizedTextService
Saves a LocalizedText item in the backing datastore.
saveLocalizedText(LocalizedText) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextService
Saves a LocalizedText item in the backing datastore.
searchLocalizedText(String) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextDataStore
This will do a search over all items in the datastore, looking for the text specified.
searchLocalizedTextItemsForText(String) - Method in class com.foreach.common.spring.localization.text.AbstractLocalizedTextService
Gets a list of all LocalizedText items containing a string.
searchLocalizedTextItemsForText(String) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextService
Gets a list of all LocalizedText items containing a string.
sendMimeMail(String, String, String, String, String, Map<String, File>) - Method in class com.foreach.common.spring.mail.BasicMailService
Send a mail message with optional attachments.
sendMimeMail(String, String, String, String, String, Map<String, File>) - Method in interface com.foreach.common.spring.mail.MailService
Send a mail message with optional attachments.
separateEmailAddresses(String) - Static method in class com.foreach.common.spring.validators.MultipleEmailsValidator
 
set(T, Object) - Method in class com.foreach.common.spring.properties.CachingTypedPropertyMap
 
set(T, Object) - Method in class com.foreach.common.spring.properties.TypedPropertyMap
Stores the property value in the source map by converting it to the sourceValueClass first.
setApplication(String) - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
setApplicationId(String) - Method in interface com.foreach.common.spring.context.MutableApplicationInfo
 
setApplicationName(String) - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Specify an application name
setApplicationName(String) - Method in interface com.foreach.common.spring.context.MutableApplicationInfo
 
setAutoGenerated(boolean) - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
setBuildDate(Date) - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Specify the build date of current application
setBuildDate(Date) - Method in interface com.foreach.common.spring.context.MutableApplicationInfo
 
setBuildId(String) - Method in interface com.foreach.common.spring.context.MutableApplicationInfo
 
setBuildNumber(long) - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Specify the build number of the current application
setClassForUnknownProperties(Class) - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
setConversionService(ConversionService) - Method in class com.foreach.common.spring.convert.EnumConverterFactory
Set the conversionService.
setConversionService(ConversionService) - Method in interface com.foreach.common.spring.convert.RecursiveConverter
 
setConverters(Set<?>) - Method in class com.foreach.common.spring.convert.CustomConversionServiceFactoryBean
 
setCreated(Date) - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
setDefaultConversionService(ConversionService) - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
setEncodingMatrix(char[][]) - Method in class com.foreach.common.spring.code.MappedStringEncoder
Sets the encoding matrix to use for encoding/decoding unsigned values.
setEncodingMatrix(char[][], int) - Method in class com.foreach.common.spring.code.MappedStringEncoder
Sets the encoding matrix to use.
setEnvironment(ApplicationEnvironment) - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Specify a ApplicationEnvironment enum for the current environment, the specified enum should be one of ApplicationEnvironment
setEnvironmentId(String) - Method in class com.foreach.common.spring.context.ApplicationContextInfo
 
setEnvironmentId(String) - Method in interface com.foreach.common.spring.context.MutableApplicationInfo
 
setEnvironmentLabel(String) - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Deprecated.
setEnvironmentName(String) - Method in interface com.foreach.common.spring.context.MutableApplicationInfo
 
setExecutorService(ExecutorService) - Method in class com.foreach.common.spring.localization.text.AbstractLocalizedTextService
 
setExecutorService(ExecutorService) - Method in class com.foreach.common.spring.mail.BasicMailService
Set the executorService used to send messages through the javaMailSender.
setFieldsAsCollection(Collection<Base>) - Method in class com.foreach.common.spring.localization.AbstractLocalizedFieldsObject
Sets all fields of the entity in one go, passing them as a collection.
setGroup(String) - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
setHostName(String) - Method in class com.foreach.common.spring.context.ApplicationContextInfo
 
setHostName(String) - Method in interface com.foreach.common.spring.context.MutableApplicationInfo
 
setInstanceId(String) - Method in interface com.foreach.common.spring.context.MutableApplicationInfo
 
setJavaMailSender(JavaMailSender) - Method in class com.foreach.common.spring.mail.BasicMailService
Set the JavaMailSender to be used.
setLabel(String) - Method in class com.foreach.common.spring.context.ApplicationContextInfo
Specify a readable label for the current application
setLabel(String) - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
setLogDirectory(String) - Method in class com.foreach.common.spring.logging.Log4JConfigurator
Setter for the field logDirectory.
setLogger(Logger) - Method in class com.foreach.common.spring.logging.MethodExecutionTimeLogger
Specify your own logger where you want the method duration time to be logged
setLogger(Logger) - Method in class com.foreach.common.spring.mail.BasicMailService
 
setMinimumDuration(int) - Method in class com.foreach.common.spring.logging.MethodExecutionTimeLogger
Specify the minimum duration time of methods in milliseconds.
setOriginator(String) - Method in class com.foreach.common.spring.mail.BasicMailService
Set the default originator to be used to send messages through the javaMailSender.
setParent(ConversionService) - Method in class com.foreach.common.spring.convert.HierarchicalConversionService
 
setPropertiesFile(Resource) - Method in class com.foreach.common.spring.logging.Log4JConfigurator
Setter for the Log4J configuration file (properties format).
setServiceBccRecipients(String) - Method in class com.foreach.common.spring.mail.BasicMailService
Set the default bcc: recipients for this service.
setStartupDate(Date) - Method in interface com.foreach.common.spring.context.MutableApplicationInfo
 
setText(String) - Method in class com.foreach.common.spring.localization.text.LocalizedTextFields
 
setTextSetCache(LocalizedTextSetCache) - Method in class com.foreach.common.spring.localization.text.AbstractLocalizedTextService
 
setUpdated(Date) - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
setUsed(boolean) - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
SingletonPropertyFactory<T,Y> - Class in com.foreach.common.spring.properties.support
Always returns the same singleton value for a property.
SingletonPropertyFactory(Y) - Constructor for class com.foreach.common.spring.properties.support.SingletonPropertyFactory
 
size() - Method in class com.foreach.common.spring.localization.LocalizedFieldsCollection
 
size() - Method in class com.foreach.common.spring.localization.text.EternalLocalizedTextSetCache
 
size() - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSet
 
size() - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSetCache
 
size() - Method in class com.foreach.common.spring.localization.text.LocalizedTextSetImpl
 
size() - Method in class com.foreach.common.spring.properties.TypedPropertyMap
 
source - Variable in class com.foreach.common.spring.properties.TypedPropertyMap
 
sourceValueClass - Variable in class com.foreach.common.spring.properties.TypedPropertyMap
 
storeLocalizedTextSet(LocalizedTextSet) - Method in class com.foreach.common.spring.localization.text.EternalLocalizedTextSetCache
Stores a LocalizedTextSet in the cache.
storeLocalizedTextSet(LocalizedTextSet) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextSetCache
Stores a LocalizedTextSet in the cache.

T

toArray() - Method in class com.foreach.common.spring.localization.LocalizedFieldsCollection
 
toArray(T[]) - Method in class com.foreach.common.spring.localization.LocalizedFieldsCollection
 
toString() - Method in class com.foreach.common.spring.context.ApplicationContextInfo
 
toString() - Method in class com.foreach.common.spring.localization.text.LocalizedText
 
TypedPropertyMap<T> - Class in com.foreach.common.spring.properties
A TypedPropertyMap is proxy for a source list of key/value pairs, that allows getting and setting of properties in a strongly typed fashion.
TypedPropertyMap(PropertyTypeRegistry<T>, Map<T, ?>, Class) - Constructor for class com.foreach.common.spring.properties.TypedPropertyMap
Construct a new TypedPropertyMap.
TypedPropertyMap(PropertyTypeRegistry<T>, PropertiesSource, Class) - Constructor for class com.foreach.common.spring.properties.TypedPropertyMap
Construct a new TypedPropertyMap.

U

unregister(T) - Method in class com.foreach.common.spring.properties.PropertyTypeRegistry
 
UNSIGNED - Static variable in class com.foreach.common.spring.code.MappedStringEncoder
 
updateLocalizedText(LocalizedText) - Method in interface com.foreach.common.spring.localization.text.LocalizedTextDataStore
Updates an existing item in the datastore.

V

valueOf(String) - Static method in enum com.foreach.common.spring.context.ApplicationEnvironment
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.foreach.common.spring.context.ApplicationEnvironment
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.foreach.common.spring.properties.TypedPropertyMap
 
A B C D E F G H I K L M P R S T U V 
Skip navigation links

Copyright © 2017. All rights reserved.