public final class AdminUserFieldHome extends Object
Modifier and Type | Method and Description |
---|---|
static void |
create(AdminUserField userField)
Insert a new user field
|
static boolean |
existsWithFile(int nIdFile)
Is the file associated with an attribute
|
static List<AdminUserField> |
findByFilter(AdminUserFieldFilter auFieldFilter)
Select by filter
|
static AdminUserField |
findByPrimaryKey(int nIdUserField)
Load the user field
|
static List<AdminUser> |
findUsersByFilter(AdminUserFieldFilter auFieldFilter)
Load users by a given filter
|
static void |
remove(AdminUserField userField)
Delete an attribute.
|
static void |
removeByFilter(AdminUserFieldFilter auFieldFilter)
Remove by filter
|
static void |
removeUserFieldsFromIdAttribute(int nIdAttribute)
Delete all user fields from given id attribute
|
static void |
removeUserFieldsFromIdField(int nIdField)
Delete all user fields from given id field
|
static void |
removeUserFieldsFromIdUser(int nIdUser)
Delete all user fields from given id user
|
static List<AdminUserField> |
selectUserFieldsByIdUserIdAttribute(int nIdUser,
int nIdAttribute)
Load all the user field by a given ID user and a given ID attribute
|
static void |
update(AdminUserField userField)
Update an user field
|
public static AdminUserField findByPrimaryKey(int nIdUserField)
nIdUserField
- IDpublic static void create(AdminUserField userField)
userField
- the user fieldpublic static void update(AdminUserField userField)
userField
- the user fieldpublic static void remove(AdminUserField userField)
userField
- the user fieldpublic static void removeUserFieldsFromIdField(int nIdField)
nIdField
- id fieldpublic static void removeUserFieldsFromIdUser(int nIdUser)
nIdUser
- id userpublic static void removeUserFieldsFromIdAttribute(int nIdAttribute)
nIdAttribute
- id attributepublic static List<AdminUserField> selectUserFieldsByIdUserIdAttribute(int nIdUser, int nIdAttribute)
nIdUser
- the ID usernIdAttribute
- the attribute identifierpublic static List<AdminUser> findUsersByFilter(AdminUserFieldFilter auFieldFilter)
auFieldFilter
- the filterpublic static List<AdminUserField> findByFilter(AdminUserFieldFilter auFieldFilter)
auFieldFilter
- the filterpublic static void removeByFilter(AdminUserFieldFilter auFieldFilter)
auFieldFilter
- the filterpublic static boolean existsWithFile(int nIdFile)
nIdFile
- the id fileCopyright © 2020 City of Paris. All rights reserved.