Index

A B C D E F G H I K L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

abbreviate(String, int) - Static method in class org.silverpeas.kernel.util.StringUtil
Abbreviates a String using ellipses.
abbreviate(String, int, int) - Static method in class org.silverpeas.kernel.util.StringUtil
Abbreviates a String using ellipses.
AbstractSimpleCache - Class in org.silverpeas.kernel.cache.model
Common implementation of a SimpleCache from which a more concrete solution can be extended.
AbstractSimpleCache() - Constructor for class org.silverpeas.kernel.cache.model.AbstractSimpleCache
 
add(Object) - Method in class org.silverpeas.kernel.cache.model.AbstractSimpleCache
 
add(Object) - Method in interface org.silverpeas.kernel.cache.model.SimpleCache
Adds a value and generate a unique key to retrieve later the value.
add(Object, int) - Method in interface org.silverpeas.kernel.cache.model.Cache
Adds a value and generates a unique mapping key from which the value can be retrieved later.
add(Object, int) - Method in class org.silverpeas.kernel.cache.model.ExternalCache
 
add(Object, int, int) - Method in interface org.silverpeas.kernel.cache.model.Cache
Adds a value and generate a unique mapping key to be used to retrieve later the value.
add(Object, int, int) - Method in class org.silverpeas.kernel.cache.model.ExternalCache
 
ApplicationCacheAccessor - Class in org.silverpeas.kernel.cache.service
An accessor to a cache whose lifetime is within the whole application runtime.
areStringEquals(String, String) - Static method in class org.silverpeas.kernel.util.StringUtil
Indicates if two Strings are equals, managing null.
asBase64(byte[]) - Static method in class org.silverpeas.kernel.util.StringUtil
Encodes the specified binary data into a text of Base64 characters.
asFloat(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Decodes the specified textual value as a float real.
asInt(String, int) - Static method in class org.silverpeas.kernel.util.StringUtil
Decodes the specified textual value as an integer.
asIntegerArray() - Method in class org.silverpeas.kernel.bundle.PropertyValuesList
Converts the list into an array of Integer.
asIntegerArray(Integer) - Method in class org.silverpeas.kernel.bundle.PropertyValuesList
Converts the list into an array of Integer.
asIntegerList() - Method in class org.silverpeas.kernel.bundle.PropertyValuesList
Converts the list into a list of Integer.
asIntegerList(Integer) - Method in class org.silverpeas.kernel.bundle.PropertyValuesList
Converts the list into a list of Integer.
asProperties() - Method in class org.silverpeas.kernel.bundle.SettingBundle
Gets this setting bundle as a simply Properties instance.
asResourceBundle() - Method in class org.silverpeas.kernel.bundle.SettingBundle
Gets this setting bundle as a simply ResourceBundle instance.
asStringArray() - Method in class org.silverpeas.kernel.bundle.PropertyValuesList
Converts the list into an array of String.
asStringArray(String) - Method in class org.silverpeas.kernel.bundle.PropertyValuesList
Converts the list into an array of String.
asStringList(String) - Method in class org.silverpeas.kernel.bundle.PropertyValuesList
Converts the list into an list of String with default value if necessary.
attributeSet() - Method in class org.silverpeas.kernel.bundle.XmlSettingBundle.SettingSection
Gets all the names of the attribute of this section.

B

Base - Annotation Type in org.silverpeas.kernel.annotation
Annotation to indicate a class is the base of an hierarchical tree of classes of managed beans implementing a given functionality.
BeanContainer - Interface in org.silverpeas.kernel
The bean container is a wrapper of an IoC (Inversion of Control) by IoD (Inversion of Dependency) system.

C

Cache - Interface in org.silverpeas.kernel.cache.model
A cache is a storage mechanism to store intermediate data got from any subsystems or from external services in order to retrieve them fastly and hence more efficiently.
Cacheable - Annotation Type in org.silverpeas.kernel.annotation
This annotation is to tag classes managed by the underlying IoC/IoD container as to be eligible to the cache.
CacheAccessor<T> - Interface in org.silverpeas.kernel.cache.service
An accessor to a cache.
capitalize(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Capitalizes a String changing the first character to title case as per Character.toTitleCase(int).
changeLocale(String) - Method in class org.silverpeas.kernel.bundle.LocalizationBundle
Changes the locale of this localization bundle.
changeLocale(Locale) - Method in class org.silverpeas.kernel.bundle.LocalizationBundle
Changes the locale of this localization bundle.
Checker() - Constructor for class org.silverpeas.kernel.annotation.Defined.Checker
 
clear() - Method in interface org.silverpeas.kernel.cache.model.SimpleCache
Clear the content of the cache.
clear() - Method in class org.silverpeas.kernel.cache.service.InMemoryCache
 
clearAssertionStatus() - Method in class org.silverpeas.kernel.bundle.ConfigurationClassLoader
 
compareTo(LoggerConfigurationManager.LoggerConfiguration) - Method in class org.silverpeas.kernel.logging.LoggerConfigurationManager.LoggerConfiguration
 
computeIfAbsent(Object, Class<T>, int, int, Supplier<T>) - Method in interface org.silverpeas.kernel.cache.model.Cache
Gets a typed element from the cache and computes it if it does not yet exist.
computeIfAbsent(Object, Class<T>, int, Supplier<T>) - Method in interface org.silverpeas.kernel.cache.model.Cache
Gets a typed element from the cache and computes it if it does not yet exist.
computeIfAbsent(Object, Class<T>, int, Supplier<T>) - Method in class org.silverpeas.kernel.cache.model.ExternalCache
 
computeIfAbsent(Object, Class<T>, Supplier<T>) - Method in class org.silverpeas.kernel.cache.model.AbstractSimpleCache
 
computeIfAbsent(Object, Class<T>, Supplier<T>) - Method in class org.silverpeas.kernel.cache.model.ExternalCache
 
computeIfAbsent(Object, Class<T>, Supplier<T>) - Method in interface org.silverpeas.kernel.cache.model.SimpleCache
Gets a typed element mapped with the specified key from the cache or computes it with the specified value supplier if no such key exists.
ConfigurationClassLoader - Class in org.silverpeas.kernel.bundle
The resource bundles and the properties files can be located into a particular directory out of the the classpath of a running Silverpeas application.
ConfigurationClassLoader(Path, ClassLoader) - Constructor for class org.silverpeas.kernel.bundle.ConfigurationClassLoader
 
containsKey(String) - Method in class org.silverpeas.kernel.bundle.LocalizationBundle
Determines whether the given key is contained in this ResourceBundle or its parent bundles.
containsKey(String) - Method in class org.silverpeas.kernel.bundle.SettingBundle
 
containsKey(String) - Method in interface org.silverpeas.kernel.bundle.SilverpeasBundle
Is this bundle contains the specified data
containsKey(String) - Method in class org.silverpeas.kernel.bundle.XmlSettingBundle
Is this bundle contains the specified parameter?
convertToEncoding(String, String) - Static method in class org.silverpeas.kernel.util.StringUtil
Converts the given text into the specified charset.

D

debug(String, Object...) - Method in interface org.silverpeas.kernel.logging.SilverLogger
Logs a debugging message with the specified parameters.
debug(Supplier<String>) - Method in interface org.silverpeas.kernel.logging.SilverLogger
Logs an debugging message with the specified parameters.
debug(Supplier<String>) - Method in class org.silverpeas.kernel.logging.sys.SysLogger
Logs an debugging message with the specified parameters.
DEBUG - Enum constant in enum org.silverpeas.kernel.logging.Level
The lower logging level: this level includes all the below levels; whatever their level, the messages will be written into the logs.
defaultIfBlank(T, T) - Static method in class org.silverpeas.kernel.util.StringUtil
Returns either the passed in CharSequence, or if the CharSequence is whitespace, empty ("") or null, the value of defaultStr.
defaultStringIfNotDefined(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Returns either the passed in String, or if the String is not defined, an empty String ("").
defaultStringIfNotDefined(String, String) - Static method in class org.silverpeas.kernel.util.StringUtil
Returns either the passed in String, or if the String is not defined, the value of defaultString.
Defined - Annotation Type in org.silverpeas.kernel.annotation
Type qualifier annotation to mark a parameter, an attribute or a return value is expected to be defined, id est non null and not blank.
Defined.Checker - Class in org.silverpeas.kernel.annotation
 
definedString(String) - Static method in class org.silverpeas.kernel.util.StringUtil
This method allows the caller to handle the case where a string is not defined in a functional way.
doubleAntiSlash(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Doubles the anti-slash character in a path value.

E

empty() - Static method in class org.silverpeas.kernel.util.Mutable
Returns an empty Mutable.
EMPTY - Static variable in class org.silverpeas.kernel.util.StringUtil
 
emptyString() - Static method in class org.silverpeas.kernel.util.StringUtil
Gets an empty string as a constant (reusable empty string).
equals(Object) - Method in class org.silverpeas.kernel.logging.LoggerConfigurationManager.LoggerConfiguration
 
equals(Object) - Method in class org.silverpeas.kernel.util.Mutable
Indicates whether some other object is "equal to" this Mutable.
equals(Object) - Method in class org.silverpeas.kernel.util.Pair
 
error(String, Object...) - Method in interface org.silverpeas.kernel.logging.SilverLogger
Logs an error message with the specified parameters.
error(String, Object[], Throwable) - Method in interface org.silverpeas.kernel.logging.SilverLogger
Logs an error message with the specified parameters.
error(String, Throwable) - Method in interface org.silverpeas.kernel.logging.SilverLogger
Logs an error message with the specified parameters.
error(Throwable) - Method in interface org.silverpeas.kernel.logging.SilverLogger
Logs an error message with the specified parameters.
ERROR - Enum constant in enum org.silverpeas.kernel.logging.Level
The ERROR level: only messages with the tracing level of ERROR will be written into the logs.
escapeQuote(String) - Static method in class org.silverpeas.kernel.util.StringUtil
 
exists() - Method in class org.silverpeas.kernel.bundle.LocalizationBundle
Is this bundle exists?
exists() - Method in class org.silverpeas.kernel.bundle.SettingBundle
Is this bundle exists?
exists() - Method in interface org.silverpeas.kernel.bundle.SilverpeasBundle
Is this bundle exists?
exists() - Method in class org.silverpeas.kernel.bundle.XmlSettingBundle
Is this bundle exists?
ExpectationViolationException - Exception Class in org.silverpeas.kernel.exception
Exception thrown when an object or an operation execution doesn't match the expectations of the invoker.
ExpectationViolationException(String) - Constructor for exception class org.silverpeas.kernel.exception.ExpectationViolationException
 
ExpectationViolationException(String, Throwable) - Constructor for exception class org.silverpeas.kernel.exception.ExpectationViolationException
 
ExpectationViolationException(Throwable) - Constructor for exception class org.silverpeas.kernel.exception.ExpectationViolationException
 
ExternalCache - Class in org.silverpeas.kernel.cache.model
A more complete cache provided by an external library.
ExternalCache() - Constructor for class org.silverpeas.kernel.cache.model.ExternalCache
 

F

filter(Predicate<? super T>) - Method in class org.silverpeas.kernel.util.Mutable
If a value is present, and the value matches the given predicate, return an Mutable describing the value, otherwise return an empty Mutable.
flatMap(Function<? super T, Mutable<U>>) - Method in class org.silverpeas.kernel.util.Mutable
If a value is present, apply the provided Mutable-bearing mapping function to it, return that result, otherwise return an empty Mutable.
forConstantValue(Defined, Object) - Method in class org.silverpeas.kernel.annotation.Defined.Checker
 
format(String, Map<String, ?>) - Static method in class org.silverpeas.kernel.util.StringUtil
Format a string by extending the principle of the method format() of the class java.text.MessageFormat to string arguments.
fromBase64(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Decodes the specified text with Base64 characters in binary.

G

GENERAL_BUNDLE_NAME - Static variable in class org.silverpeas.kernel.bundle.LocalizationBundle
The Silverpeas l10n bundle for general translations.
GENERAL_BUNDLE_NAME - Static variable in class org.silverpeas.kernel.bundle.SettingBundle
The Silverpeas settings bundle for general configuration properties.
get() - Method in class org.silverpeas.kernel.util.Mutable
If a value is present in this Mutable, returns the value, otherwise throws NoSuchElementException.
get(Class<T>) - Static method in class org.silverpeas.kernel.util.ServiceLoader
Gets an instance of the specified service if already loaded, otherwise loads it by the Java SPI API and caches it so that it can be returned later without loading it again.
get(Object) - Method in interface org.silverpeas.kernel.cache.model.SimpleCache
Gets an element from the cache.
get(Object) - Method in class org.silverpeas.kernel.cache.service.InMemoryCache
 
get(Object, Class<T>) - Method in class org.silverpeas.kernel.cache.model.AbstractSimpleCache
 
get(Object, Class<T>) - Method in interface org.silverpeas.kernel.cache.model.SimpleCache
Gets a typed element from the cache.
getAll() - Method in class org.silverpeas.kernel.cache.model.AbstractSimpleCache
Gets the whole content of the cache.
getAll() - Method in class org.silverpeas.kernel.cache.service.InMemoryCache
Gets the cache.
getAllBeansByType(Class<T>, Annotation...) - Method in interface org.silverpeas.kernel.BeanContainer
Gets a bean managed in this container by its name.
getAllManagedBeans(Class<T>, Annotation...) - Method in class org.silverpeas.kernel.ManagedBeanProvider
Gets an instance of each implementation of the specified type and satisfying the given qualifiers if any.
getAllSettingSection(String) - Method in class org.silverpeas.kernel.bundle.XmlSettingBundle
Gets all the setting sections in this XML setting bundle that are all located at the specified path.
getAttribute(String) - Method in class org.silverpeas.kernel.bundle.XmlSettingBundle.SettingSection
Gets the value of the specified section's attribute.
getAvailableLoggerConfigurations() - Method in class org.silverpeas.kernel.logging.LoggerConfigurationManager
Gets the available configuration of all the Silverpeas loggers.
getBaseBundleName() - Method in class org.silverpeas.kernel.bundle.LocalizationBundle
Returns the base name of this bundle, if known, or null if unknown.
getBaseBundleName() - Method in class org.silverpeas.kernel.bundle.SettingBundle
 
getBaseBundleName() - Method in interface org.silverpeas.kernel.bundle.SilverpeasBundle
What is the fully qualified name of this bundle.
getBaseBundleName() - Method in class org.silverpeas.kernel.bundle.XmlSettingBundle
What is the fully qualified name of this bundle.
getBeanByName(String) - Method in interface org.silverpeas.kernel.BeanContainer
Gets a bean managed in this container by its name.
getBeanByType(Class<T>, Annotation...) - Method in interface org.silverpeas.kernel.BeanContainer
Gets a bean managed in this container by its type and optionally by some qualifiers.
getBoolean(String) - Method in class org.silverpeas.kernel.bundle.SettingBundle
 
getBoolean(String, boolean) - Method in class org.silverpeas.kernel.bundle.SettingBundle
 
getBooleanValue(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Evaluate the expression and return true if expression equals "true", "yes", "y", "1" or "oui".
getCache() - Method in class org.silverpeas.kernel.cache.service.ApplicationCacheAccessor
 
getCache() - Method in interface org.silverpeas.kernel.cache.service.CacheAccessor
Gets an instance of the cache referred by this accessor.
getCache() - Method in class org.silverpeas.kernel.cache.service.ThreadCacheAccessor
 
getConfigurationFilesRootPath() - Method in interface org.silverpeas.kernel.SilverpeasResourcesLocation
Gets the path of the root directory into which are located the configuration resource files
getConfigurationManager() - Method in class org.silverpeas.kernel.logging.SilverLoggerProvider
Gets the LoggerConfigurationManager instance used by this provider to manage the configuration of the Silverpeas loggers.
getCurrentRootNode() - Method in class org.silverpeas.kernel.bundle.XmlSettingBundle
 
getCurrentRootNode() - Method in class org.silverpeas.kernel.bundle.XmlSettingBundle.SettingSection
 
getenv() - Method in interface org.silverpeas.kernel.util.SystemWrapper
Gets all the environment variables.
getenv(String) - Method in interface org.silverpeas.kernel.util.SystemWrapper
Gets the value of a environment variable.
getFirst() - Method in class org.silverpeas.kernel.util.Pair
 
getFloat(String) - Method in class org.silverpeas.kernel.bundle.SettingBundle
 
getFloat(String, float) - Method in class org.silverpeas.kernel.bundle.SettingBundle
 
getGeneralLocalizationBundle(String) - Static method in class org.silverpeas.kernel.bundle.ResourceLocator
Gets the Silverpeas general localized resource for the specified locale.
getGeneralLocalizationBundle(Locale) - Static method in class org.silverpeas.kernel.bundle.ResourceLocator
Gets the Silverpeas general localized resource for the specified locale.
getGeneralSettingBundle() - Static method in class org.silverpeas.kernel.bundle.ResourceLocator
Gets the Silverpeas general settings resource.
getInstance() - Static method in class org.silverpeas.kernel.cache.service.ApplicationCacheAccessor
Gets the single instance of ApplicationCacheAccessor.
getInstance() - Static method in class org.silverpeas.kernel.cache.service.ThreadCacheAccessor
Gets the single instance of ThreadCacheAccessor.
getInstance() - Static method in interface org.silverpeas.kernel.logging.SilverLoggerFactory
Gets an instance of the logger factory.
getInstance() - Static method in class org.silverpeas.kernel.logging.SilverLoggerProvider
Gets the single instance of this provider of SilverLogger objects.
getInstance() - Static method in class org.silverpeas.kernel.ManagedBeanProvider
Gets the single instance of this ManagedBeanProvider class.
getInstance() - Static method in interface org.silverpeas.kernel.SilverpeasResourcesLocation
Gets the single object of the SilverpeasResourcesLocation singleton.
getInstance() - Static method in interface org.silverpeas.kernel.util.SystemWrapper
Gets the wrapped single System instance of the SystemWrapper.
getInteger(String) - Method in class org.silverpeas.kernel.bundle.SettingBundle
 
getInteger(String, int) - Method in class org.silverpeas.kernel.bundle.SettingBundle
 
getKeys() - Method in class org.silverpeas.kernel.bundle.LocalizationBundle
 
getL10nBundlesRootPath() - Method in interface org.silverpeas.kernel.SilverpeasResourcesLocation
Gets the path of the root directory into which are located the l10n resource bundles for Silverpeas.
getLevel() - Method in class org.silverpeas.kernel.logging.LoggerConfigurationManager.LoggerConfiguration
 
getLevel() - Method in interface org.silverpeas.kernel.logging.SilverLogger
Gets the log Level of this Logger.
getLevel() - Method in class org.silverpeas.kernel.logging.sys.SysLogger
Gets the log Level of this Logger.
getList(String) - Method in class org.silverpeas.kernel.bundle.SettingBundle
Gets the value as an array of String instances of the data identified by the specified key.
getList(String, String) - Method in class org.silverpeas.kernel.bundle.SettingBundle
Gets the value as an array of String instances of the data identified by the specified key.
getList(String, String[]) - Method in class org.silverpeas.kernel.bundle.SettingBundle
Gets the value as an array of String instances of the data identified by the specified key.
getList(String, String[], String) - Method in class org.silverpeas.kernel.bundle.SettingBundle
Gets the value as an array of String instances of the data identified by the specified key.
getLocale() - Method in class org.silverpeas.kernel.bundle.LocalizationBundle
Returns the actual locale of this resource bundle.
getLocalizationBundle(String) - Static method in class org.silverpeas.kernel.bundle.ResourceLocator
Gets the localized resource that is defined under the specified full qualified name and for the root locale (default locale when no one is specified or a locale is missing); the resources are provided by the bundle whose name matches exactly the bundle base name (id est without any locale extension).
getLocalizationBundle(String, String) - Static method in class org.silverpeas.kernel.bundle.ResourceLocator
Gets the localized resource defined under the specified full qualified name and for the specified locale.
getLocalizationBundle(String, Locale) - Static method in class org.silverpeas.kernel.bundle.ResourceLocator
Gets the localized resource defined under the specified full qualified name and for the specified locale.
getLogger(Object) - Static method in interface org.silverpeas.kernel.logging.SilverLogger
Gets a logger for the specified object.
getLogger(Object) - Method in class org.silverpeas.kernel.logging.SilverLoggerProvider
Gets a logger for the specified object.
getLogger(String) - Static method in interface org.silverpeas.kernel.logging.SilverLogger
Gets the logger that is defined for the specified logging namespace.
getLogger(String) - Method in interface org.silverpeas.kernel.logging.SilverLoggerFactory
Gets a SilverLogger instance for the specified namespace.
getLogger(String) - Method in class org.silverpeas.kernel.logging.SilverLoggerProvider
Gets the logger that is defined for the specified logging namespace.
getLogger(String, LoggerConfigurationManager.LoggerConfiguration) - Method in interface org.silverpeas.kernel.logging.SilverLoggerFactory
Gets a SilverLogger instance for the specified namespace.
getLogger(String, LoggerConfigurationManager.LoggerConfiguration) - Method in class org.silverpeas.kernel.logging.sys.SysLoggerFactory
 
getLoggerConfiguration(String) - Method in class org.silverpeas.kernel.logging.LoggerConfigurationManager
Gets the configuration parameters for the logger with the specified namespace.
getLoggersRootPath() - Method in interface org.silverpeas.kernel.SilverpeasResourcesLocation
Gets the path of the root directory into which are defined all the loggers to use by Silverpeas.
getLong(String) - Method in class org.silverpeas.kernel.bundle.SettingBundle
 
getLong(String, long) - Method in class org.silverpeas.kernel.bundle.SettingBundle
 
getManagedBean(Class<T>, Annotation...) - Method in class org.silverpeas.kernel.ManagedBeanProvider
Gets an instance of the single implementation matching the specified type and satisfying the given qualifiers if any.
getManagedBean(String) - Method in class org.silverpeas.kernel.ManagedBeanProvider
Gets an object of the single type implementation that is qualified with the specified name.
getName() - Method in class org.silverpeas.kernel.bundle.XmlSettingBundle.SettingSection
Gets the name of this section.
getNamespace() - Method in class org.silverpeas.kernel.logging.LoggerConfigurationManager.LoggerConfiguration
 
getNamespace() - Method in interface org.silverpeas.kernel.logging.SilverLogger
Gets the namespace of this logger.
getNamespace() - Method in class org.silverpeas.kernel.logging.sys.SysLogger
Gets the namespace of this logger.
getOptionalLocalizationBundle(String, String) - Static method in class org.silverpeas.kernel.bundle.ResourceLocator
Gets optionally the localized resource defined under the specified full qualified name and for the specified locale.
getOptionalSettingBundle(String) - Static method in class org.silverpeas.kernel.bundle.ResourceLocator
Gets optionally the setting resource that is defined under the specified full qualified name.
getProperties() - Method in interface org.silverpeas.kernel.util.SystemWrapper
Gets the system properties.
getProperty(String) - Method in interface org.silverpeas.kernel.util.SystemWrapper
Gets a system property.
getProperty(String, String) - Method in interface org.silverpeas.kernel.util.SystemWrapper
Gets a system property.
getResource(String) - Method in class org.silverpeas.kernel.bundle.ConfigurationClassLoader
 
getResourceAsStream(String) - Method in class org.silverpeas.kernel.bundle.ConfigurationClassLoader
 
getSecond() - Method in class org.silverpeas.kernel.util.Pair
 
getSettingBundle(String) - Static method in class org.silverpeas.kernel.bundle.ResourceLocator
Gets the setting resource that is defined under the specified full qualified name.
getSettingsAsProperties(String) - Static method in class org.silverpeas.kernel.bundle.ResourceLocator
Gets setting resource that is defined under the specified full qualified name as a Properties instance.
getSettingSection(String) - Method in class org.silverpeas.kernel.bundle.XmlSettingBundle
Gets the first setting section in this XML setting bundle that is identified by the specified path.
getSpecificKeys() - Method in class org.silverpeas.kernel.bundle.LocalizationBundle
Gets the specific keys of this bundle.
getString(String) - Method in class org.silverpeas.kernel.bundle.SettingBundle
If you expect the data can be not defined in this bundle, then use org.silverpeas.core.util.SettingBundle#getString method instead of this.
getString(String) - Method in interface org.silverpeas.kernel.bundle.SilverpeasBundle
Gets the value as a String of the data identified by the specified key.
getString(String) - Method in class org.silverpeas.kernel.bundle.XmlSettingBundle
Gets the value as a String of the parameter identified by the specified key.
getString(String, String) - Method in class org.silverpeas.kernel.bundle.SettingBundle
Gets the value as a String of the data identified by the specified key.
getStringArray(String) - Method in class org.silverpeas.kernel.bundle.XmlSettingBundle
Gets all the values as a String of the parameter identified by the specified key.
getStringList(String, String) - Method in interface org.silverpeas.kernel.bundle.SilverpeasBundle
The resource is a list of objects.
getStringList(String, String, int) - Method in interface org.silverpeas.kernel.bundle.SilverpeasBundle
The resource is a list of objects.
getStringWithParams(String, Object...) - Method in class org.silverpeas.kernel.bundle.LocalizationBundle
 
getXmlSettingBundle(String) - Static method in class org.silverpeas.kernel.bundle.ResourceLocator
Gets the setting resource that is defined in an XML bundle under the specified full qualified name.

H

handleGetObject(String) - Method in class org.silverpeas.kernel.bundle.LocalizationBundle
 
has(Object) - Method in interface org.silverpeas.kernel.cache.model.SimpleCache
Is this cache contains an object mapped with the specified key?
hasConfigurationFile() - Method in class org.silverpeas.kernel.logging.LoggerConfigurationManager.LoggerConfiguration
 
hashCode() - Method in class org.silverpeas.kernel.logging.LoggerConfigurationManager.LoggerConfiguration
 
hashCode() - Method in class org.silverpeas.kernel.util.Mutable
Returns the hash code value of the present value, if any, or 0 (zero) if no value is present.
hashCode() - Method in class org.silverpeas.kernel.util.Pair
 

I

ifPresent(Consumer<? super T>) - Method in class org.silverpeas.kernel.util.Mutable
If a value is present, invoke the specified consumer with the value, otherwise do nothing.
info(String, Object...) - Method in interface org.silverpeas.kernel.logging.SilverLogger
Logs an information message with the specified parameters.
INFO - Enum constant in enum org.silverpeas.kernel.logging.Level
The INFO level: only messages with the tracing level of INFO, WARNING and ERROR will be written into the logs.
InMemoryCache - Class in org.silverpeas.kernel.cache.service
Cache with which the data are stored in memory.
InMemoryCache() - Constructor for class org.silverpeas.kernel.cache.service.InMemoryCache
 
InvalidStateException - Exception Class in org.silverpeas.kernel.exception
Exception thrown when an operation has been invoked on an object that is in a state that doesn't match with the expectation of the operation execution or requirements.
InvalidStateException(String) - Constructor for exception class org.silverpeas.kernel.exception.InvalidStateException
 
InvalidStateException(String, Throwable) - Constructor for exception class org.silverpeas.kernel.exception.InvalidStateException
 
is(T) - Method in class org.silverpeas.kernel.util.Mutable
Indicates id the given value is equal to the one of the Mutable instance.
isDefined(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Is the specified string is well-defined?
isEmpty() - Method in class org.silverpeas.kernel.util.Mutable
Return true if no value is present, otherwise false.
isFloat(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Is the specified value encodes a Float?
isGreaterOrEqual(Level) - Method in enum org.silverpeas.kernel.logging.Level
Is this level is greater or equal to the specified logging level?
isInteger(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Is the specified value encodes an Integer?
isLoggable(Level) - Method in interface org.silverpeas.kernel.logging.SilverLogger
Checks if a message of the given level would actually be logged by this logger.
isLoggable(Level) - Method in class org.silverpeas.kernel.logging.sys.SysLogger
Checks if a message of the given level would actually be logged by this logger.
isLong(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Is the specified value encodes a Long?
isNotDefined(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Is the specified string is not defined?
isPresent() - Method in class org.silverpeas.kernel.util.Mutable
Return true if there is a value present, otherwise false.
isValidHour(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Is the specified text represents a time in the format expected by Silverpeas.

K

keySet() - Method in class org.silverpeas.kernel.bundle.LocalizationBundle
Returns a Set of all keys contained in this ResourceBundle and its parent bundles.
keySet() - Method in class org.silverpeas.kernel.bundle.SettingBundle
 
keySet() - Method in interface org.silverpeas.kernel.bundle.SilverpeasBundle
Gets a set of all keys defined in this bundle.
keySet() - Method in class org.silverpeas.kernel.bundle.XmlSettingBundle
Gets a set of all the parameter names defined in this bundle.

L

leftPad(String, int, String) - Static method in class org.silverpeas.kernel.util.StringUtil
Left pad a String with a specified String.
Level - Enum in org.silverpeas.kernel.logging
The different logging levels taken in charge by the Silverpeas logger.
like(String, String) - Static method in class org.silverpeas.kernel.util.StringUtil
Is the actual value is like the expected one?
likeIgnoreCase(String, String) - Static method in class org.silverpeas.kernel.util.StringUtil
Is the actual value is like the expected one?
load(Class<T>) - Static method in class org.silverpeas.kernel.util.ServiceLoader
Loads an instance of the specified service by using the Java SPI API.
loadAllConfigurationFiles() - Method in class org.silverpeas.kernel.logging.LoggerConfigurationManager
 
loadClass(String, boolean) - Method in class org.silverpeas.kernel.bundle.ConfigurationClassLoader
 
LocalizationBundle - Class in org.silverpeas.kernel.bundle
A resource bundle that contains the l10n resources defined under a fully qualified name in Silverpeas.
LocalizationBundle(String, Locale, BiFunction<String, Locale, ResourceBundle>, boolean) - Constructor for class org.silverpeas.kernel.bundle.LocalizationBundle
 
log(Level, String, Object...) - Method in interface org.silverpeas.kernel.logging.SilverLogger
Logs a message at the specified level, with the specified parameters if any.
log(Level, String, Object...) - Method in class org.silverpeas.kernel.logging.sys.SysLogger
Logs a message at the specified level, with the specified parameters if any.
log(Level, String, Object[], Throwable) - Method in interface org.silverpeas.kernel.logging.SilverLogger
Logs a message at the specified level, with the specified parameters if any and with a Throwable object if any.
log(Level, String, Object[], Throwable) - Method in class org.silverpeas.kernel.logging.sys.SysLogger
Logs a message at the specified level, with the specified parameters if any and with a Throwable object if any.
Logger - Annotation Type in org.silverpeas.kernel.logging
This annotation is for specifying the logger to use for a given package or class.
LoggerConfigurationManager - Class in org.silverpeas.kernel.logging
There is a single global LoggerConfigurationManager object that is used to manage a set of configuration about the different Loggers available in Silverpeas.
LoggerConfigurationManager() - Constructor for class org.silverpeas.kernel.logging.LoggerConfigurationManager
 
LoggerConfigurationManager.LoggerConfiguration - Class in org.silverpeas.kernel.logging
 

M

Managed - Annotation Type in org.silverpeas.kernel.annotation
This annotation is to tag a class as to be managed by the underlying IoC/IoD container.
ManagedBeanProvider - Class in org.silverpeas.kernel
A provider of objects whose life-cycle is managed by an underlying IoC by IoD container that must satisfy the BeanContainer interface.
map(Function<? super T, ? extends U>) - Method in class org.silverpeas.kernel.util.Mutable
If a value is present, apply the provided mapping function to it, and if the result is non-null, return an Mutable describing the result.
MultipleCandidateException - Exception Class in org.silverpeas.kernel.exception
Exception thrown when there are more than one candidate at a request for a single object to a service.
MultipleCandidateException(String) - Constructor for exception class org.silverpeas.kernel.exception.MultipleCandidateException
 
MultipleCandidateException(String, Throwable) - Constructor for exception class org.silverpeas.kernel.exception.MultipleCandidateException
 
MultipleCandidateException(Throwable) - Constructor for exception class org.silverpeas.kernel.exception.MultipleCandidateException
 
Mutable<T> - Class in org.silverpeas.kernel.util
A mutable value wrapper which may or may not contain a non-null value.

N

NEWLINE - Static variable in class org.silverpeas.kernel.util.StringUtil
 
NonNull - Annotation Type in org.silverpeas.kernel.annotation
Type qualifier annotation to mark a parameter, an attribute or a return value is expected to be non null.
normalize(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Normalizes the given string (which must be encoded into UTF-8) in order that the result contains only unified chars.
normalizeByRemovingAccent(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Same treatment as the one of StringUtil.normalize(String) but removes also the accented characters.
NotFoundException - Exception Class in org.silverpeas.kernel.exception
Exception thrown when an expected object hasn't been found in a container or a repository.
NotFoundException(String) - Constructor for exception class org.silverpeas.kernel.exception.NotFoundException
 
NotFoundException(String, Throwable) - Constructor for exception class org.silverpeas.kernel.exception.NotFoundException
 
NotSupportedException - Exception Class in org.silverpeas.kernel.exception
Exception thrown by a method when the class doesn't support the invoked method inherited from a parent.
NotSupportedException(String) - Constructor for exception class org.silverpeas.kernel.exception.NotSupportedException
 
NotSupportedException(String, Throwable) - Constructor for exception class org.silverpeas.kernel.exception.NotSupportedException
 
Nullable - Annotation Type in org.silverpeas.kernel.annotation
Type qualifier annotation to mark a parameter, an attribute or a return value might be null.

O

of(T) - Static method in class org.silverpeas.kernel.util.Mutable
Returns an Mutable with the specified value.
of(T, U) - Static method in class org.silverpeas.kernel.util.Pair
 
ofNullable(T) - Static method in class org.silverpeas.kernel.util.Mutable
Returns an Mutable with the specified value which can be null.
orElse(T) - Method in class org.silverpeas.kernel.util.Mutable
Return the value if present, otherwise return other.
orElseGet(Supplier<? extends T>) - Method in class org.silverpeas.kernel.util.Mutable
Return the value if present, otherwise invoke other and return the result of that invocation.
orElseThrow(Supplier<? extends X>) - Method in class org.silverpeas.kernel.util.Mutable
Return the contained value, if present, otherwise throw an exception to be created by the provided supplier.
org.silverpeas.kernel - package org.silverpeas.kernel
The technical foundation of all of the Silverpeas projects.
org.silverpeas.kernel.annotation - package org.silverpeas.kernel.annotation
Provides Silverpeas custom annotations for adding semantic value to objects and to their properties.
org.silverpeas.kernel.bundle - package org.silverpeas.kernel.bundle
Provides the mechanism to load any l10n bundles and configuration properties for Silverpeas.
org.silverpeas.kernel.cache - package org.silverpeas.kernel.cache
Provides an API to manage caches whatever their implementation.
org.silverpeas.kernel.cache.model - package org.silverpeas.kernel.cache.model
Provides a representation of a cache whatever the underlying implementation used to motorize them.
org.silverpeas.kernel.cache.service - package org.silverpeas.kernel.cache.service
Provides services to access a cache whose the lifetime is within a given of the following runtime scope: the whole application runtime, the time of a user session, or the time spent by a thread to perform its task; these are some examples of such scopes.
org.silverpeas.kernel.exception - package org.silverpeas.kernel.exception
Technical exceptions whose some of them are used by the Silverpeas Kernel itself.
org.silverpeas.kernel.logging - package org.silverpeas.kernel.logging
The Silverpeas Logging Engine.
org.silverpeas.kernel.logging.sys - package org.silverpeas.kernel.logging.sys
Default implementation of the Silverpeas Logging API by using the Java logging system as backend.
org.silverpeas.kernel.util - package org.silverpeas.kernel.util
Provides miscellaneous utility classes.

P

Pair<T,U> - Class in org.silverpeas.kernel.util
This is a pair of objects.
Pair(T, U) - Constructor for class org.silverpeas.kernel.util.Pair
constructor
PropertyValuesList - Class in org.silverpeas.kernel.bundle
Represents a list of values of a given property.
put(Object, Object) - Method in class org.silverpeas.kernel.cache.model.ExternalCache
 
put(Object, Object) - Method in interface org.silverpeas.kernel.cache.model.SimpleCache
Puts a value for a given key.
put(Object, Object) - Method in class org.silverpeas.kernel.cache.service.InMemoryCache
 
put(Object, Object, int) - Method in interface org.silverpeas.kernel.cache.model.Cache
Puts a new value for the given key and updates its time to live.
put(Object, Object, int) - Method in class org.silverpeas.kernel.cache.model.ExternalCache
 
put(Object, Object, int, int) - Method in interface org.silverpeas.kernel.cache.model.Cache
Puts a new value for the given key and updates both its time to live and its time to idle.

R

regexReplace(String, String, String) - Static method in class org.silverpeas.kernel.util.StringUtil
Replace parts of a text by a replacement string.
remove(Object) - Method in interface org.silverpeas.kernel.cache.model.SimpleCache
Removes an element from the cache and return it.
remove(Object) - Method in class org.silverpeas.kernel.cache.service.InMemoryCache
 
remove(Object, Class<T>) - Method in interface org.silverpeas.kernel.cache.model.SimpleCache
Removes a typed element from the cache and return it.
remove(Object, Class<T>) - Method in class org.silverpeas.kernel.cache.service.InMemoryCache
 
requireDefined(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Requires the specified string to be defined, otherwise an AssertionError is thrown.
requireDefined(String, String) - Static method in class org.silverpeas.kernel.util.StringUtil
Requires the specified string to be defined, otherwise an AssertionError is thrown with the given message.
requireDefined(String, Supplier<T>) - Static method in class org.silverpeas.kernel.util.StringUtil
Requires the specified string to be defined, otherwise throws the supplied exception.
resetCache() - Static method in class org.silverpeas.kernel.bundle.ResourceLocator
Resets any caches used directly or indirectly by the ResourceLocator.
ResourceLocator - Class in org.silverpeas.kernel.bundle
The resource locator gives access to the resource bundles (bundles of localized resources and of settings) that are located each of them into a particular directory.
ROOT_NAMESPACE - Static variable in class org.silverpeas.kernel.logging.SilverLoggerProvider
The namespace of the root logger in Silverpeas.

S

saveLoggerConfiguration(LoggerConfigurationManager.LoggerConfiguration) - Method in class org.silverpeas.kernel.logging.LoggerConfigurationManager
Saves the configuration of the logger referred by the specified configuration instance.
saveSettingBundle(SettingBundle, Properties) - Static method in class org.silverpeas.kernel.bundle.ResourceLocator
Save the given properties for SettingBundle and refreshing its cache.
ServiceLoader - Class in org.silverpeas.kernel.util
Service loader which takes into account of the Priority annotation to load the correct single implementation of a service interface when several implementations are available.
set(T) - Method in class org.silverpeas.kernel.util.Mutable
Sets the value of the Mutable instance.
setClassAssertionStatus(String, boolean) - Method in class org.silverpeas.kernel.bundle.ConfigurationClassLoader
 
setDefaultAssertionStatus(boolean) - Method in class org.silverpeas.kernel.bundle.ConfigurationClassLoader
 
setLevel(Level) - Method in class org.silverpeas.kernel.logging.LoggerConfigurationManager.LoggerConfiguration
 
setLevel(Level) - Method in interface org.silverpeas.kernel.logging.SilverLogger
Sets the log level specifying which message levels will be logged by this logger.
setLevel(Level) - Method in class org.silverpeas.kernel.logging.sys.SysLogger
Sets the log level specifying which message levels will be logged by this logger.
setPackageAssertionStatus(String, boolean) - Method in class org.silverpeas.kernel.bundle.ConfigurationClassLoader
 
setProperties(Properties) - Method in interface org.silverpeas.kernel.util.SystemWrapper
Sets the specified properties in the system properties.
setProperty(String, String) - Method in interface org.silverpeas.kernel.util.SystemWrapper
Sets a new system property.
SettingBundle - Class in org.silverpeas.kernel.bundle
A bundle settings used to configure some features in Silverpeas or the behaviour of an functional module in Silverpeas.
SettingBundle(String, Function<String, ResourceBundle>) - Constructor for class org.silverpeas.kernel.bundle.SettingBundle
 
silent(Throwable) - Method in interface org.silverpeas.kernel.logging.SilverLogger
Logs silently the specified error.
SilverLogger - Interface in org.silverpeas.kernel.logging
The custom logger for Silverpeas.
SilverLoggerFactory - Interface in org.silverpeas.kernel.logging
A factory of logger instances.
SilverLoggerProvider - Class in org.silverpeas.kernel.logging
A provider of a SilverLogger.
SilverpeasBundle - Interface in org.silverpeas.kernel.bundle
A Silverpeas bundle represents a bundle containing data required by the different features of Silverpeas.
SilverpeasException - Exception Class in org.silverpeas.kernel
Exception thrown explicitly by a treatment in Silverpeas to signal a failure in its execution.
SilverpeasException(String, String...) - Constructor for exception class org.silverpeas.kernel.SilverpeasException
Constructs a new exception with the specified detail message.
SilverpeasException(String, Throwable) - Constructor for exception class org.silverpeas.kernel.SilverpeasException
Constructs a new exception with the specified detail message and cause.
SilverpeasException(Throwable) - Constructor for exception class org.silverpeas.kernel.SilverpeasException
Constructs a new exception with the specified cause and a detail message of (cause==null ?
SilverpeasResourcesLocation - Interface in org.silverpeas.kernel
Location of the different resource files required by Silverpeas.
SilverpeasRuntimeException - Exception Class in org.silverpeas.kernel
A runtime exception thrown explicitly by a treatment in Silverpeas to signal a failure in its execution.
SilverpeasRuntimeException(String) - Constructor for exception class org.silverpeas.kernel.SilverpeasRuntimeException
Constructs a new runtime exception with the specified detail message.
SilverpeasRuntimeException(String, Throwable) - Constructor for exception class org.silverpeas.kernel.SilverpeasRuntimeException
Constructs a new runtime exception with the specified detail message and cause.
SilverpeasRuntimeException(Throwable) - Constructor for exception class org.silverpeas.kernel.SilverpeasRuntimeException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ?
SimpleCache - Interface in org.silverpeas.kernel.cache.model
A cache is a storage mechanism to store intermediate data got from any subsystems or from external services in order to retrieve them fastly and hence more efficiently.
specificKeySet() - Method in class org.silverpeas.kernel.bundle.LocalizationBundle
Returns a Set of the specific keys contained in this ResourceBundle.
split(String, char) - Static method in class org.silverpeas.kernel.util.StringUtil
Splits the provided text into an array, separator specified.
split(String, String) - Static method in class org.silverpeas.kernel.util.StringUtil
Splits the provided text into an array, separators specified.
splitByWholeSeparator(String, String) - Static method in class org.silverpeas.kernel.util.StringUtil
Splits the provided text into an array, separator string specified.
splitString(String, char) - Static method in class org.silverpeas.kernel.util.StringUtil
Splits the provided text into an array, separator specified.
startsWith(CharSequence, CharSequence) - Static method in class org.silverpeas.kernel.util.StringUtil
Check if a CharSequence starts with a specified prefix.
startsWithIgnoreCase(String, String) - Static method in class org.silverpeas.kernel.util.StringUtil
Case insensitive check if a CharSequence starts with a specified prefix.
StringUtil - Class in org.silverpeas.kernel.util
Utility class providing useful operations on Strings.
SysLogger - Class in org.silverpeas.kernel.logging.sys
This logger implementation uses the Java logging system to write actually the messages into logs.
SysLogger(String) - Constructor for class org.silverpeas.kernel.logging.sys.SysLogger
 
SysLoggerFactory - Class in org.silverpeas.kernel.logging.sys
Implementation of the SilverLoggerFactory interface to provide a logger wrapping the default Java logger.
SysLoggerFactory() - Constructor for class org.silverpeas.kernel.logging.sys.SysLoggerFactory
 
SystemWrapper - Interface in org.silverpeas.kernel.util
This wrapper aims to allow to load additional and custom system properties without passing them explicitly and directly to the JVM.

T

Technical - Annotation Type in org.silverpeas.kernel.annotation
This annotation is to tag an object as being a technical bean and that such object shouldn't be used directly but only to implement technical mechanism for business or other technical features.
ThreadCacheAccessor - Class in org.silverpeas.kernel.cache.service
An accessor to the cache of the current thread.
toAcceptableFilename(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Replaces all quotes by spaces.
toString() - Method in class org.silverpeas.kernel.util.Mutable
Returns a non-empty string representation of this Mutable suitable for debugging.
toString() - Method in class org.silverpeas.kernel.util.Pair
 
truncate(String, int) - Static method in class org.silverpeas.kernel.util.StringUtil
 

U

uncapitalize(String) - Static method in class org.silverpeas.kernel.util.StringUtil
Uncapitalizes a String, changing the first character to lower case as per Character.toLowerCase(int).

V

value() - Method in enum org.silverpeas.kernel.logging.Level
Gets the level value of this logging level.
value() - Element in annotation type org.silverpeas.kernel.logging.Logger
 
valueOf(String) - Static method in enum org.silverpeas.kernel.logging.Level
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.silverpeas.kernel.logging.Level
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(String, Object...) - Method in interface org.silverpeas.kernel.logging.SilverLogger
Logs a warning message with the specified parameters.
warn(Throwable) - Method in interface org.silverpeas.kernel.logging.SilverLogger
Logs a warning message with the specified parameters.
WARNING - Enum constant in enum org.silverpeas.kernel.logging.Level
The WARNING level: only messages with the tracing level of WARNING and ERROR will be written into the logs.
when() - Element in annotation type org.silverpeas.kernel.annotation.Defined
 
with(String...) - Static method in class org.silverpeas.kernel.bundle.PropertyValuesList
Initializes a list with the given string values if any.
withLevel(Level) - Method in class org.silverpeas.kernel.logging.LoggerConfigurationManager.LoggerConfiguration
 

X

XmlSettingBundle - Class in org.silverpeas.kernel.bundle
A bundle of settings in XML used to configure some features in Silverpeas or the behaviour of an application.
XmlSettingBundle(String, Function<String, InputStream>) - Constructor for class org.silverpeas.kernel.bundle.XmlSettingBundle
 
XmlSettingBundle.SettingSection - Class in org.silverpeas.kernel.bundle
 
A B C D E F G H I K L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form