Modifier and Type | Method and Description |
---|---|
Map<Long,ClusterEntity> |
ClusterPrivilegeResourceProvider.getResourceEntities(Map<String,Object> properties) |
Modifier and Type | Method and Description |
---|---|
protected Resource |
ClusterPrivilegeResourceProvider.toResource(PrivilegeEntity privilegeEntity,
Map<Long,UserEntity> userEntities,
Map<Long,GroupEntity> groupEntities,
Map<Long,PermissionEntity> roleEntities,
Map<Long,ClusterEntity> resourceEntities,
Set<String> requestedIds) |
Modifier and Type | Method and Description |
---|---|
ClusterEntity |
ClusterDAO.findById(long id)
Looks for Cluster by ID
|
ClusterEntity |
ClusterDAO.findByName(String clusterName) |
ClusterEntity |
ClusterDAO.findByResourceId(long resourceId) |
ClusterEntity |
ClusterDAO.merge(ClusterEntity clusterEntity)
Merge the specified entity into the current persistence context.
|
ClusterEntity |
ClusterDAO.merge(ClusterEntity clusterEntity,
boolean flush)
Merge the specified entity into the current persistence context, optionally
instructing the
EntityManager to write any queued persist/merges
into the database immediately. |
Modifier and Type | Method and Description |
---|---|
List<ClusterEntity> |
ClusterDAO.findAll() |
Modifier and Type | Method and Description |
---|---|
void |
ClusterDAO.create(ClusterEntity clusterEntity)
Create Cluster entity in Database
|
boolean |
ClusterDAO.isManaged(ClusterEntity entity) |
ClusterEntity |
ClusterDAO.merge(ClusterEntity clusterEntity)
Merge the specified entity into the current persistence context.
|
ClusterEntity |
ClusterDAO.merge(ClusterEntity clusterEntity,
boolean flush)
Merge the specified entity into the current persistence context, optionally
instructing the
EntityManager to write any queued persist/merges
into the database immediately. |
void |
ClusterDAO.refresh(ClusterEntity clusterEntity)
Retrieve entity data from DB
|
void |
ClusterDAO.remove(ClusterEntity clusterEntity) |
Modifier and Type | Field and Description |
---|---|
static javax.persistence.metamodel.SingularAttribute<AlertDefinitionEntity,ClusterEntity> |
AlertDefinitionEntity_.clusterEntity |
Modifier and Type | Method and Description |
---|---|
ClusterEntity |
AlertDefinitionEntity.getCluster()
Gets the cluster that this alert definition is a member of.
|
ClusterEntity |
RequestScheduleEntity.getClusterEntity() |
ClusterEntity |
WidgetEntity.getClusterEntity() |
ClusterEntity |
WidgetLayoutEntity.getClusterEntity() |
ClusterEntity |
ServiceConfigEntity.getClusterEntity() |
ClusterEntity |
ClusterConfigEntity.getClusterEntity() |
ClusterEntity |
ConfigGroupEntity.getClusterEntity() |
ClusterEntity |
ClusterStateEntity.getClusterEntity() |
ClusterEntity |
ClusterServiceEntity.getClusterEntity() |
Modifier and Type | Method and Description |
---|---|
Collection<ClusterEntity> |
HostEntity.getClusterEntities() |
Modifier and Type | Method and Description |
---|---|
void |
AlertDefinitionEntity.setCluster(ClusterEntity clusterEntity)
Sets the cluster that the alert definition is a member of.
|
void |
RequestScheduleEntity.setClusterEntity(ClusterEntity clusterEntity) |
void |
WidgetEntity.setClusterEntity(ClusterEntity clusterEntity) |
void |
WidgetLayoutEntity.setClusterEntity(ClusterEntity clusterEntity) |
void |
ServiceConfigEntity.setClusterEntity(ClusterEntity clusterEntity) |
void |
ClusterConfigEntity.setClusterEntity(ClusterEntity clusterEntity) |
void |
ConfigGroupEntity.setClusterEntity(ClusterEntity clusterEntity) |
void |
ClusterStateEntity.setClusterEntity(ClusterEntity clusterEntity) |
void |
ClusterServiceEntity.setClusterEntity(ClusterEntity clusterEntity) |
Modifier and Type | Method and Description |
---|---|
void |
HostEntity.setClusterEntities(Collection<ClusterEntity> clusterEntities) |
Modifier and Type | Method and Description |
---|---|
ClusterEntity |
Cluster.getClusterEntity() |
Modifier and Type | Method and Description |
---|---|
ClusterEntity |
ClusterImpl.getClusterEntity()
|
Modifier and Type | Method and Description |
---|---|
Cluster |
ClusterFactory.create(ClusterEntity clusterEntity) |
Constructor and Description |
---|
ClusterImpl(ClusterEntity clusterEntity,
com.google.inject.Injector injector,
AmbariEventPublisher eventPublisher) |
Copyright © 2022 Apache Software Foundation. All rights reserved.