public class AdminUserFieldDAO extends Object implements IAdminUserFieldDAO
Constructor and Description |
---|
AdminUserFieldDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdUserField)
Delete an attribute
|
void |
deleteUserFieldsFromIdAttribute(int nIdAttribute)
Delete all user fields from given id attribute
|
void |
deleteUserFieldsFromIdField(int nIdField)
Delete all user fields from given id field
|
void |
deleteUserFieldsFromIdUser(int nIdUser)
Delete all user fields from given id user
|
boolean |
existsWithFile(int nIdFile)
Is the file associated with an attribute
|
void |
insert(AdminUserField userField)
Insert a new user field
|
AdminUserField |
load(int nIdUserField)
Load the user field
|
List<AdminUserField> |
selectByFilter(AdminUserFieldFilter auFieldFilter)
select by filter.
|
List<AdminUserField> |
selectUserFieldsByIdUserIdAttribute(int nIdUser,
int nIdAttribute)
Load all the user field by a given ID user
|
List<AdminUser> |
selectUsersByFilter(AdminUserFieldFilter auFieldFilter)
Load users by a given filter
|
void |
store(AdminUserField userField)
Update an user field
|
public AdminUserField load(int nIdUserField)
load
in interface IAdminUserFieldDAO
nIdUserField
- IDpublic void insert(AdminUserField userField)
insert
in interface IAdminUserFieldDAO
userField
- the user fieldpublic void store(AdminUserField userField)
store
in interface IAdminUserFieldDAO
userField
- the adminuser fieldpublic void delete(int nIdUserField)
delete
in interface IAdminUserFieldDAO
nIdUserField
- the ID of the user fieldpublic void deleteUserFieldsFromIdField(int nIdField)
deleteUserFieldsFromIdField
in interface IAdminUserFieldDAO
nIdField
- id fieldpublic void deleteUserFieldsFromIdUser(int nIdUser)
deleteUserFieldsFromIdUser
in interface IAdminUserFieldDAO
nIdUser
- id userpublic void deleteUserFieldsFromIdAttribute(int nIdAttribute)
deleteUserFieldsFromIdAttribute
in interface IAdminUserFieldDAO
nIdAttribute
- the id attributepublic List<AdminUserField> selectUserFieldsByIdUserIdAttribute(int nIdUser, int nIdAttribute)
selectUserFieldsByIdUserIdAttribute
in interface IAdminUserFieldDAO
nIdUser
- the ID usernIdAttribute
- the ID attributepublic List<AdminUser> selectUsersByFilter(AdminUserFieldFilter auFieldFilter)
selectUsersByFilter
in interface IAdminUserFieldDAO
auFieldFilter
- the filterpublic List<AdminUserField> selectByFilter(AdminUserFieldFilter auFieldFilter)
selectByFilter
in interface IAdminUserFieldDAO
auFieldFilter
- the filterpublic boolean existsWithFile(int nIdFile)
existsWithFile
in interface IAdminUserFieldDAO
nIdFile
- the id fileCopyright © 2020 City of Paris. All rights reserved.