| Package | Description |
|---|---|
| org.apache.ambari.server.orm.dao | |
| org.apache.ambari.server.orm.entities |
| Modifier and Type | Method and Description |
|---|---|
KerberosPrincipalEntity |
KerberosPrincipalDAO.create(String principalName,
boolean service)
Make an instance managed and persistent.
|
KerberosPrincipalEntity |
KerberosPrincipalDAO.find(String principalName)
Find a KerberosPrincipalEntity with the given principal name.
|
KerberosPrincipalEntity |
KerberosPrincipalDAO.merge(KerberosPrincipalEntity kerberosPrincipalEntity)
Merge the state of the given entity into the current persistence context.
|
| Modifier and Type | Method and Description |
|---|---|
List<KerberosPrincipalEntity> |
KerberosPrincipalDAO.findAll()
Find all kerberos principals.
|
| Modifier and Type | Method and Description |
|---|---|
void |
KerberosKeytabPrincipalDAO.create(KerberosKeytabEntity kerberosKeytabEntity,
HostEntity hostEntity,
KerberosPrincipalEntity principalEntity) |
void |
KerberosPrincipalDAO.create(KerberosPrincipalEntity kerberosPrincipalEntity)
Make an instance managed and persistent.
|
KerberosKeytabPrincipalDAO.KeytabPrincipalFindOrCreateResult |
KerberosKeytabPrincipalDAO.findOrCreate(KerberosKeytabEntity kerberosKeytabEntity,
HostEntity hostEntity,
KerberosPrincipalEntity kerberosPrincipalEntity)
Find or create
KerberosKeytabPrincipalEntity with specified dependecies. |
KerberosPrincipalEntity |
KerberosPrincipalDAO.merge(KerberosPrincipalEntity kerberosPrincipalEntity)
Merge the state of the given entity into the current persistence context.
|
void |
KerberosPrincipalDAO.refresh(KerberosPrincipalEntity kerberosPrincipalEntity)
Refresh the state of the instance from the database,
overwriting changes made to the entity, if any.
|
void |
KerberosPrincipalDAO.remove(KerberosPrincipalEntity kerberosPrincipalEntity)
Remove the entity instance.
|
boolean |
KerberosPrincipalDAO.removeIfNotReferenced(KerberosPrincipalEntity kerberosPrincipalEntity)
Determines if there are any references to the
KerberosPrincipalEntity before attempting
to remove it. |
| Modifier and Type | Method and Description |
|---|---|
void |
KerberosPrincipalDAO.remove(List<KerberosPrincipalEntity> entities) |
| Modifier and Type | Method and Description |
|---|---|
KerberosPrincipalEntity |
KerberosKeytabPrincipalEntity.getKerberosPrincipalEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
KerberosKeytabPrincipalEntity.setKerberosPrincipalEntity(KerberosPrincipalEntity kerberosPrincipalEntity) |
| Constructor and Description |
|---|
KerberosKeytabPrincipalEntity(KerberosKeytabEntity kerberosKeytabEntity,
HostEntity hostEntity,
KerberosPrincipalEntity kerberosPrincipalEntity) |
Copyright © 2022 Apache Software Foundation. All rights reserved.