@Singleton public class KerberosDescriptorDAO extends Object
Constructor and Description |
---|
KerberosDescriptorDAO() |
Modifier and Type | Method and Description |
---|---|
void |
create(KerberosDescriptorEntity kerberosDescriptorEntity) |
List<KerberosDescriptorEntity> |
findAll()
Find all kerberos descriptors.
|
KerberosDescriptorEntity |
findByName(String kerberosDescriptorName) |
KerberosDescriptorEntity |
merge(KerberosDescriptorEntity kerberosDescriptorEntity)
Merge the state of the given entity into the current persistence context.
|
void |
refresh(KerberosDescriptorEntity kerberosDescriptorEntity)
Refresh the state of the instance from the database,
overwriting changes made to the entity, if any.
|
void |
remove(KerberosDescriptorEntity kerberosDescriptorEntity)
Remove the entity instance.
|
void |
removeByName(String name)
Remove entity instance by primary key
|
public KerberosDescriptorEntity findByName(String kerberosDescriptorName)
public List<KerberosDescriptorEntity> findAll()
public void create(KerberosDescriptorEntity kerberosDescriptorEntity)
public void refresh(KerberosDescriptorEntity kerberosDescriptorEntity)
kerberosDescriptorEntity
- entity to refreshpublic KerberosDescriptorEntity merge(KerberosDescriptorEntity kerberosDescriptorEntity)
kerberosDescriptorEntity
- entity to mergepublic void remove(KerberosDescriptorEntity kerberosDescriptorEntity)
kerberosDescriptorEntity
- entity to removepublic void removeByName(String name)
name
- Primary key: kerberos descriptor nameCopyright © 2022 Apache Software Foundation. All rights reserved.