@Transactional public class LdapConfigDao extends Object implements IDataProviderDao<LdapConfig>
LdapConfig
Modifier and Type | Field and Description |
---|---|
static String[] |
searchFields |
Constructor and Description |
---|
LdapConfigDao() |
Modifier and Type | Method and Description |
---|---|
long |
count()
Count the number of instances of
T |
long |
count(String search)
Count the number of instances of
T |
void |
delete(LdapConfig entity,
Long userId)
Delete an instance of
T |
List<LdapConfig> |
get() |
List<LdapConfig> |
get(int start,
int count)
Get a list of instances of
T |
LdapConfig |
get(Long id)
Get an instance of an
T |
List<LdapConfig> |
get(String search,
int start,
int count,
String sort)
Get a list of instances of
T |
List<LdapConfig> |
getActive() |
LdapConfig |
update(LdapConfig entity,
Long userId)
Update an instance of
T |
public static final String[] searchFields
public LdapConfig get(Long id)
IDataProviderDao
T
get
in interface IDataProviderDao<LdapConfig>
id
- - id of instance to retrievepublic List<LdapConfig> getActive()
public List<LdapConfig> get()
public List<LdapConfig> get(int start, int count)
IDataProviderDao
T
get
in interface IDataProviderDao<LdapConfig>
start
- - the start to range to retrievecount
- - maximum instance count to retrievepublic List<LdapConfig> get(String search, int start, int count, String sort)
IDataProviderDao
T
get
in interface IDataProviderDao<LdapConfig>
search
- - string search criteria to filter entitiesstart
- - the start to range to retrievecount
- - maximum instance count to retrievesort
- - column and sort orderpublic long count()
IDataProviderDao
T
count
in interface IDataProviderDao<LdapConfig>
public long count(String search)
IDataProviderDao
T
count
in interface IDataProviderDao<LdapConfig>
search
- - string search criteria to filter entitiespublic LdapConfig update(LdapConfig entity, Long userId)
IDataProviderDao
T
update
in interface IDataProviderDao<LdapConfig>
entity
- - entity to be updateduserId
- - user performed updatepublic void delete(LdapConfig entity, Long userId)
IDataProviderDao
T
delete
in interface IDataProviderDao<LdapConfig>
entity
- - entity to be deleteduserId
- - user performed deleteCopyright © 2012–2016 Apache Software Foundation. All rights reserved.