public final class EncryptionKeyHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static EncryptionKey |
create(EncryptionKey encryptionKey)
Create an instance of the encryptionKey class
|
static EncryptionKey |
findByCode(String strCode)
Returns a instance of a
EncryptionKey whose code is specified in parameter |
static EncryptionKey |
findByPrimaryKey(int nKey)
Returns an instance of a encryptionKey whose identifier is specified in parameter
|
static List<EncryptionKey> |
getEncryptionKeysList()
Load the data of all the encryptionKey objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getEncryptionKeysReferenceList()
Load the data of all the encryptionKey objects and returns them as a referenceList
|
static List<Integer> |
getIdEncryptionKeysList()
Load the id of all the encryptionKey objects and returns them as a list
|
static void |
remove(int nKey)
Remove the encryptionKey whose identifier is specified in parameter
|
static EncryptionKey |
update(EncryptionKey encryptionKey)
Update of the encryptionKey which is specified in parameter
|
public static EncryptionKey create(EncryptionKey encryptionKey) throws EncryptionKeyAlreadyExistException
encryptionKey - The instance of the EncryptionKey which contains the informations to storeEncryptionKeyAlreadyExistException - if an encryption key already exists with the same codepublic static EncryptionKey update(EncryptionKey encryptionKey) throws EncryptionKeyAlreadyExistException
encryptionKey - The instance of the EncryptionKey which contains the data to storeEncryptionKeyAlreadyExistException - if an encryption key already exists with the same codepublic static void remove(int nKey)
nKey - The encryptionKey Idpublic static EncryptionKey findByPrimaryKey(int nKey)
nKey - The encryptionKey primary keypublic static EncryptionKey findByCode(String strCode)
EncryptionKey whose code is specified in parameterstrCode - the codeEncryptionKeypublic static List<EncryptionKey> getEncryptionKeysList()
public static List<Integer> getIdEncryptionKeysList()
public static fr.paris.lutece.util.ReferenceList getEncryptionKeysReferenceList()
Copyright © 2017 City of Paris. All rights reserved.