public class MemberDataLoadHelper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright field.
|
| Constructor and Description |
|---|
MemberDataLoadHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
generateSalt()
Generates a random salt string which has length of 12.
|
static boolean |
isValidEmailAddress(java.lang.String emailAddr)
Answers whether or not the email address has valid syntax as per RFC 5321, 5322, 2822
|
static java.lang.Long |
resolveOwnerIdByStoreId(int storeId)
Resolves the owner id (MEMBER_ID column of STOREENT table) according to store id (STOREENT_ID column of STOREENT table).
|
static java.lang.Long |
resolveOwnerIdByStoreIdentifier(java.lang.String storeIdentifier)
Resolves the owner id (MEMBER_ID column of STOREENT table) according to store identifier (IDENTIFIER column of STOREENT table).
|
static java.lang.Integer |
resolveStoreIdByStoreIdentifier(java.lang.String storeIdentifier)
Resolves the store id according to store identifier (IDENTIFIER column of STOREENT table).
|
static boolean |
validateStoreId(int storeId)
Validates the store ID to see if it is a valid store in the database.
|
public static final java.lang.String COPYRIGHT
public static java.lang.Long resolveOwnerIdByStoreId(int storeId)
storeId - the store idpublic static boolean validateStoreId(int storeId)
storeId - a store IDpublic static java.lang.Long resolveOwnerIdByStoreIdentifier(java.lang.String storeIdentifier)
storeIdentifier - the store identifierpublic static java.lang.Integer resolveStoreIdByStoreIdentifier(java.lang.String storeIdentifier)
storeIdentifier - the store identifierpublic static boolean isValidEmailAddress(java.lang.String emailAddr)
emailAddr - the email addresspublic static java.lang.String generateSalt()