public final class ReferenceHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Reference |
create(Reference reference)
Create an instance of the reference class
|
static Reference |
findByPrimaryKey(int nKey)
Returns an instance of a reference whose identifier is specified in parameter
|
static int |
findPrimaryKeyByName(String referenceName)
Returns an instance of a reference whose identifier is specified in parameter
|
static List<Integer> |
getIdReferencesList()
Load the id of all the reference objects and returns them as a list
|
static List<Reference> |
getReferencesList()
Load the data of all the reference objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getReferencesReferenceList()
Load the data of all the reference objects and returns them as a referenceList
|
static void |
remove(int nKey)
Remove the reference whose identifier is specified in parameter
|
static Reference |
update(Reference reference)
Update of the reference which is specified in parameter
|
public static Reference create(Reference reference)
reference - The instance of the Reference which contains the informations to storepublic static Reference update(Reference reference)
reference - The instance of the Reference which contains the data to storepublic static void remove(int nKey)
nKey - The reference Idpublic static Reference findByPrimaryKey(int nKey)
nKey - The reference primary keypublic static int findPrimaryKeyByName(String referenceName)
nKey - The reference primary keypublic static List<Reference> getReferencesList()
public static List<Integer> getIdReferencesList()
public static fr.paris.lutece.util.ReferenceList getReferencesReferenceList()
Copyright © 2022 City of Paris. All rights reserved.