A B C D E F G H I K L M N P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addAttachment(MimeMultipart, List<String>) - Static method in class com.linkare.commons.communications.smtp.EmailSender
-
Adds an attachment to the email based on the fileAttachment @param
- addRecipients(Message, Message.RecipientType, Collection<String>, Collection<String>) - Static method in class com.linkare.commons.communications.smtp.EmailSender
-
Adds the e-mail addresses to a list of receipients
- append(String, String, String...) - Static method in class com.linkare.commons.utils.StringUtils
- areEquals(String, String) - Static method in class com.linkare.commons.utils.PasswordEncryptor
- authentication - Variable in class com.linkare.commons.communications.smtp.Authenticator
- Authenticator - Class in com.linkare.commons.communications.smtp
- Authenticator(Properties) - Constructor for class com.linkare.commons.communications.smtp.Authenticator
- author() - Method in annotation type com.linkare.commons.metainfo.Linkare
B
- BooleanResult - Class in com.linkare.commons.utils
-
Utility class to store a boolean result and a message to explain the reason why the result is either true, false or undetermined (null).
- BooleanResult(Boolean) - Constructor for class com.linkare.commons.utils.BooleanResult
-
This constructor is private to "force" the client code from this class to use the constants.
- BooleanResult(Boolean, String) - Constructor for class com.linkare.commons.utils.BooleanResult
C
- CollectionUtils - Class in com.linkare.commons.utils
- CollectionUtils() - Constructor for class com.linkare.commons.utils.CollectionUtils
- com.linkare.commons.communications.smtp - package com.linkare.commons.communications.smtp
- com.linkare.commons.dao - package com.linkare.commons.dao
- com.linkare.commons.metainfo - package com.linkare.commons.metainfo
- com.linkare.commons.utils - package com.linkare.commons.utils
- comments() - Method in annotation type com.linkare.commons.metainfo.Linkare
- constructFromString(String, String) - Static method in class com.linkare.commons.communications.smtp.EmailSender
-
Builds the from address to display on the e-mail that gets sent if we have a from name we display it else we only display the addess.
- CONTENT_TYPE - Static variable in class com.linkare.commons.communications.smtp.EmailSender
- count() - Method in interface com.linkare.commons.dao.IGenericDAO
-
Provides the count operation for the list of entities found.
- create(Entity) - Method in interface com.linkare.commons.dao.IGenericDAO
-
Provides the create/persist operation for the
entitypassed in. - createComputationalName(String) - Static method in class com.linkare.commons.utils.StringNormalizer
- createComputationalName(String, char) - Static method in class com.linkare.commons.utils.StringNormalizer
D
- DEFAULT_BUILD_PROPERTIES - Static variable in class com.linkare.commons.utils.PropertiesManager
- Deletable - Interface in com.linkare.commons.dao
-
Base interface providing the contract semantics that any
deletabletype must fulfil. - delete() - Method in interface com.linkare.commons.dao.Deletable
-
In this method, one should remove any associations between this deletable type and any other associated types.
E
- edit(Entity) - Method in interface com.linkare.commons.dao.IGenericDAO
-
Provides the edit/merge operation for the
entitypassed in. - EmailSender - Class in com.linkare.commons.communications.smtp
-
Used to send e-mails through an smtp protocol and using the javax.mail API.
- EmailSender() - Constructor for class com.linkare.commons.communications.smtp.EmailSender
- encode(String) - Static method in class com.linkare.commons.communications.smtp.EmailSender
- encryptPassword(String) - Static method in class com.linkare.commons.utils.PasswordEncryptor
- EnumLocalizeNameHelper<EnumType extends Enum<?>> - Class in com.linkare.commons.utils
-
Utility class that provides utility methods to return a localized string for a given enum type constant in the specified resource bundle.
- EnumLocalizeNameHelper() - Constructor for class com.linkare.commons.utils.EnumLocalizeNameHelper
-
Hiding constructor so that this utility class cannot be instantiated from outside.
- EqualityUtils - Class in com.linkare.commons.utils
-
This class aggregates common functions to check for equality between objects.
- EqualityUtils() - Constructor for class com.linkare.commons.utils.EqualityUtils
-
Hiding constructor so that this utility class cannot be instantiated from outside.
- equals(Object) - Method in class com.linkare.commons.utils.BooleanResult
- equals(Object) - Method in class com.linkare.commons.utils.Pair
- equals(T, T) - Static method in class com.linkare.commons.utils.EqualityUtils
- equalsTo(BooleanResult) - Method in class com.linkare.commons.utils.BooleanResult
- equalsTo(Pair<K, V>) - Method in class com.linkare.commons.utils.Pair
F
- FALSE_RESULT - Static variable in class com.linkare.commons.utils.BooleanResult
-
Utility constant to represent the false result without any detail message
- find(boolean, int, int) - Method in interface com.linkare.commons.dao.IGenericDAO
-
Provides the find operation, allowing pagination of results.
- find(ID) - Method in interface com.linkare.commons.dao.IGenericDAO
-
Provides the find operation, based on the entity's
id. - findAll() - Method in interface com.linkare.commons.dao.IGenericDAO
-
Provides the find all operation.
- findRange(int[]) - Method in interface com.linkare.commons.dao.IGenericDAO
-
Provides the find operation, according to a range of results.
- forward(MimeMessage, List<String>) - Static method in class com.linkare.commons.communications.smtp.EmailSender
-
Forwards the e-mail message to the bccAddresses
G
- getBooleanProperty(String) - Static method in class com.linkare.commons.utils.PropertiesManager
- getIntegerProperty(String) - Static method in class com.linkare.commons.utils.PropertiesManager
- getKey() - Method in class com.linkare.commons.utils.Pair
- getLocalizedName(EnumType, ResourceBundle) - Static method in class com.linkare.commons.utils.EnumLocalizeNameHelper
- getMessage() - Method in class com.linkare.commons.utils.BooleanResult
- getMessageDigest() - Static method in class com.linkare.commons.utils.PasswordEncryptor
- getPasswordAuthentication() - Method in class com.linkare.commons.communications.smtp.Authenticator
- getProperty(String) - Static method in class com.linkare.commons.utils.PropertiesManager
- getResult() - Method in class com.linkare.commons.utils.BooleanResult
- getToStringTransformer() - Static method in class com.linkare.commons.utils.CollectionUtils
-
Transformer that converts any object in a String representation of itself, using the toString method of the object.
- getTransformedArrayFromArray(F[], Transformer, Class<T>) - Static method in class com.linkare.commons.utils.CollectionUtils
-
Transform an array of objects from one type to an array of objects of another type, using a given transformer.
- getTransformedArrayFromList(List<F>, Transformer, Class<T>) - Static method in class com.linkare.commons.utils.CollectionUtils
-
Transform a list of objects from one type to an array of another type, using a given transformer.
- getTransformedListFromArray(F[], Transformer, Class<T>) - Static method in class com.linkare.commons.utils.CollectionUtils
-
Transform an array of objects from one type to a list of objects of another type, using a given transformer.
- getTransformedListFromList(List<F>, Transformer, Class<T>) - Static method in class com.linkare.commons.utils.CollectionUtils
-
Transform a list of objects from one type to a list of objects of another type, using a given transformer.
- getValue() - Method in class com.linkare.commons.utils.Pair
H
- HASH_CODE_INIT - Static variable in class com.linkare.commons.utils.BooleanResult
- HASH_CODE_INIT - Static variable in class com.linkare.commons.utils.Pair
- HASH_CODE_MULTIPLIER - Static variable in class com.linkare.commons.utils.BooleanResult
- HASH_CODE_MULTIPLIER - Static variable in class com.linkare.commons.utils.Pair
- hashCode() - Method in class com.linkare.commons.utils.BooleanResult
- hashCode() - Method in class com.linkare.commons.utils.Pair
I
- id() - Method in interface com.linkare.commons.dao.Identifiable
- Identifiable<T extends Serializable> - Interface in com.linkare.commons.dao
-
Base interface providing the contract semantics that any
identifiabletype must fulfil. - IGenericDAO<Entity extends Identifiable<ID> & Deletable,ID extends Serializable> - Interface in com.linkare.commons.dao
-
This interface presents the common set of operations that any DAO should provide by default.
- INSTANCE - Static variable in class com.linkare.commons.utils.PropertiesManager
- isBlank(String) - Static method in class com.linkare.commons.utils.StringUtils
-
Provides one utility method to check if a
wordis blank. - isNotBlank(String) - Static method in class com.linkare.commons.utils.StringUtils
-
Provides one utility method to check if a
wordis not blank.
K
L
- LINE_SEPARATOR - Static variable in class com.linkare.commons.utils.StringUtils
-
The default line separator string
- Linkare - Annotation Type in com.linkare.commons.metainfo
-
This annotation should be used on any type or/and their elements, whenever it is required the creation of a changing "log" or note, performed by any member of the Linkare TI company.
- loadProperties(String) - Static method in class com.linkare.commons.utils.PropertiesManager
-
It loads the properties in a file named
fileNameinto the internalPROPERTIESmap. - loadProperties(Properties, String) - Static method in class com.linkare.commons.utils.PropertiesManager
-
It loads the properties in a file named
fileNameinto thepropertiesmap. - Log - Static variable in class com.linkare.commons.communications.smtp.EmailSender
M
- MAIL_CONTENT_TYPE - Static variable in class com.linkare.commons.communications.smtp.EmailSender
- MAIL_SENDER_MAX_RECIPIENTS - Static variable in class com.linkare.commons.communications.smtp.EmailSender
- MAIL_SMTP_PASSWORD - Static variable in class com.linkare.commons.communications.smtp.Authenticator
- MAIL_SMTP_USERNAME - Static variable in class com.linkare.commons.communications.smtp.Authenticator
- MAX_MAIL_RECIPIENTS - Static variable in class com.linkare.commons.communications.smtp.EmailSender
- message - Variable in class com.linkare.commons.utils.BooleanResult
-
The details message associated to this boolean result type.
- MISSING_RESOURCE_DELIMITER - Static variable in class com.linkare.commons.utils.EnumLocalizeNameHelper
N
- newline() - Static method in class com.linkare.commons.utils.StringUtils
- normalize(String) - Static method in class com.linkare.commons.utils.StringNormalizer
- normalize(String[]) - Static method in class com.linkare.commons.utils.StringNormalizer
-
It normalizes an array of words.
- normalize(String, boolean) - Static method in class com.linkare.commons.utils.StringNormalizer
- normalizeAndRemoveMinorChars(String) - Static method in class com.linkare.commons.utils.StringNormalizer
- normalizePreservingCapitalizedLetters(String) - Static method in class com.linkare.commons.utils.StringNormalizer
P
- Pair<K,V> - Class in com.linkare.commons.utils
-
Generic class to represent a relation between two different objects (the key and the value).
- Pair(K, V) - Constructor for class com.linkare.commons.utils.Pair
- PASSWORD_RADIX - Static variable in class com.linkare.commons.utils.PasswordEncryptor
- PasswordEncryptor - Class in com.linkare.commons.utils
-
Generic class to encrypt a password according to the MED5 algorithm.
- PasswordEncryptor() - Constructor for class com.linkare.commons.utils.PasswordEncryptor
-
Hiding constructor so that this utility class cannot be instantiated from outside.
- PROPERTIES - Static variable in class com.linkare.commons.utils.PropertiesManager
- PropertiesManager - Class in com.linkare.commons.utils
-
Utility class to help loading and looking for any property in a Java Properties map.
- PropertiesManager() - Constructor for class com.linkare.commons.utils.PropertiesManager
-
Hiding constructor so that this utility class cannot be instantiated from outside.
R
- registerInvalidAddresses(Collection<String>, SendFailedException, Collection<String>, Collection<String>, Collection<String>) - Static method in class com.linkare.commons.communications.smtp.EmailSender
-
Register invalid e-mail addresses.
- remove(Entity) - Method in interface com.linkare.commons.dao.IGenericDAO
-
Provides the remove operation for the
entitypassed in. - result - Variable in class com.linkare.commons.utils.BooleanResult
-
The result of the boolean result type is immutable.
S
- send(String, String, String[], Collection<String>, Collection<String>, Collection<String>, String, String) - Static method in class com.linkare.commons.communications.smtp.EmailSender
-
A constructor whose content type is predefined with whatever value is set in
build.properties - send(String, String, String[], Collection<String>, Collection<String>, Collection<String>, String, String, String) - Static method in class com.linkare.commons.communications.smtp.EmailSender
- send(String, String, String[], Collection<String>, Collection<String>, Collection<String>, String, String, String, List<String>) - Static method in class com.linkare.commons.communications.smtp.EmailSender
-
A constructor that specifies the content type of the message to be sent
- send(String, String, String[], Collection<String>, Collection<String>, Collection<String>, String, String, List<String>) - Static method in class com.linkare.commons.communications.smtp.EmailSender
-
A constructor whose content type is predefined with whatever value is set in
build.properties - send(String, String, String, String, String) - Static method in class com.linkare.commons.communications.smtp.EmailSender
-
A simpler form of sending an e-mail specify only the from the to the subject and the body No multiple lists no from name and the content type is given by the property file.
- serialVersionUID - Static variable in class com.linkare.commons.utils.BooleanResult
- serialVersionUID - Static variable in class com.linkare.commons.utils.Pair
- session - Static variable in class com.linkare.commons.communications.smtp.EmailSender
- setMessage(String) - Method in class com.linkare.commons.utils.BooleanResult
- setProperty(String, String) - Static method in class com.linkare.commons.utils.PropertiesManager
- SMTP_PROPERTIES - Static variable in class com.linkare.commons.communications.smtp.EmailSender
- StringNormalizer - Class in com.linkare.commons.utils
-
Utility class providing some methods to normalize strings.
- StringNormalizer() - Constructor for class com.linkare.commons.utils.StringNormalizer
-
Hiding constructor so that this utility class cannot be instantiated from outside.
- StringUtils - Class in com.linkare.commons.utils
-
Utility class that groups commons operations related to strings.
- StringUtils() - Constructor for class com.linkare.commons.utils.StringUtils
-
Hiding constructor so that this utility class cannot be instantiated from outside.
- SYSTEM_PROP_LINE_SEPARATOR - Static variable in class com.linkare.commons.utils.StringUtils
-
The system property representing the line separator
T
- toString() - Method in class com.linkare.commons.utils.BooleanResult
- toString() - Method in class com.linkare.commons.utils.Pair
- TRUE_RESULT - Static variable in class com.linkare.commons.utils.BooleanResult
-
Utility constant to represent the true result without any detail message
U
- UNDETERMINED_RESULT - Static variable in class com.linkare.commons.utils.BooleanResult
-
Utility constant to represent the undetermined result without any detail message
V
A B C D E F G H I K L M N P R S T U VAll Classes All Packages