public final class CacheUserAttributeHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static CacheUserAttribute |
create(CacheUserAttribute cacheUserAttribute)
Create an instance of the cacheUserAttribute class
|
static CacheUserAttribute |
createOrUpdateIfDifferent(CacheUserAttribute cacheUserAttribute)
Create an instance of the cacheUserAttribute if not exists or update the data if different
|
static Optional<CacheUserAttribute> |
findByPrimaryKey(int nKey)
Returns an instance of a cacheUserAttribute whose identifier is specified in parameter
|
static Optional<CacheUserAttribute> |
findByUserAndAttributeId(String strUserId,
int nAttrId)
Returns an instance of a cacheUserAttribute whose identifier is specified in parameter
|
static List<CacheUserAttribute> |
getCacheUserAttributeByListUserIdsAndAttributeId(List<String> listUserIds,
int nAttributeId)
Load the data of all the cacheUserAttribute objects by list id user and id attribute
|
static List<CacheUserAttribute> |
getCacheUserAttributesListByUserKey(String strUserKey)
Load the data of all the cacheUserAttribute objects and returns them as a list
|
static List<Integer> |
getIdCacheUserAttributesList(String strUserKey)
Load the id of all the cacheUserAttribute objects and returns them as a list
|
static void |
remove(int nKey)
Remove the cacheUserAttribute whose identifier is specified in parameter
|
static CacheUserAttribute |
update(CacheUserAttribute cacheUserAttribute)
Update of the cacheUserAttribute which is specified in parameter
|
public static CacheUserAttribute create(CacheUserAttribute cacheUserAttribute)
cacheUserAttribute - The instance of the CacheUserAttribute which contains the informations to storepublic static CacheUserAttribute createOrUpdateIfDifferent(CacheUserAttribute cacheUserAttribute)
cacheUserAttribute - The instance of the CacheUserAttribute which contains the informations to storepublic static CacheUserAttribute update(CacheUserAttribute cacheUserAttribute)
cacheUserAttribute - The instance of the CacheUserAttribute which contains the data to storepublic static void remove(int nKey)
nKey - The cacheUserAttribute Idpublic static Optional<CacheUserAttribute> findByPrimaryKey(int nKey)
nKey - The cacheUserAttribute primary keypublic static Optional<CacheUserAttribute> findByUserAndAttributeId(String strUserId, int nAttrId)
nKey - The cacheUserAttribute primary keypublic static List<CacheUserAttribute> getCacheUserAttributesListByUserKey(String strUserKey)
public static List<Integer> getIdCacheUserAttributesList(String strUserKey)
public static List<CacheUserAttribute> getCacheUserAttributeByListUserIdsAndAttributeId(List<String> listUserIds, int nAttributeId)
listUserIds - nAttributeId - Copyright © 2022 City of Paris. All rights reserved.