Package | Description |
---|---|
org.apache.ambari.server.orm.dao | |
org.apache.ambari.server.orm.entities | |
org.apache.ambari.server.view |
Modifier and Type | Method and Description |
---|---|
ViewEntity |
ViewDAO.findByName(String viewName)
Find a view with a given name.
|
ViewEntity |
ViewDAO.merge(ViewEntity ViewEntity)
Merge the state of the given entity into the current persistence context.
|
Modifier and Type | Method and Description |
---|---|
List<ViewEntity> |
ViewDAO.findAll()
Find all views.
|
Modifier and Type | Method and Description |
---|---|
void |
ViewDAO.create(ViewEntity ViewEntity)
Make an instance managed and persistent.
|
ViewEntity |
ViewDAO.merge(ViewEntity ViewEntity)
Merge the state of the given entity into the current persistence context.
|
void |
ViewDAO.refresh(ViewEntity ViewEntity)
Refresh the state of the instance from the database,
overwriting changes made to the entity, if any.
|
void |
ViewDAO.remove(ViewEntity ViewEntity)
Remove the entity instance.
|
Modifier and Type | Method and Description |
---|---|
ViewEntity |
ViewResourceEntity.getViewEntity()
Get the parent view entity.
|
ViewEntity |
ViewInstanceEntity.getViewEntity()
Get the parent view entity.
|
ViewEntity |
ViewParameterEntity.getViewEntity()
Get the associated view entity.
|
Modifier and Type | Method and Description |
---|---|
void |
ViewResourceEntity.setViewEntity(ViewEntity view)
Set the parent view entity.
|
void |
ViewInstanceEntity.setViewEntity(ViewEntity view)
Set the parent view entity.
|
void |
ViewParameterEntity.setViewEntity(ViewEntity view)
Set the associated view entity.
|
Constructor and Description |
---|
ViewInstanceEntity(ViewEntity view,
InstanceConfig instanceConfig)
Construct a view instance definition.
|
ViewInstanceEntity(ViewEntity view,
String name)
Construct a view instance definition.
|
Modifier and Type | Method and Description |
---|---|
ViewEntity |
ViewRegistry.getDefinition(String viewName)
Get a view definition for the given name.
|
Modifier and Type | Method and Description |
---|---|
Collection<ViewEntity> |
ViewRegistry.getDefinitions()
Get the collection of all the view definitions.
|
Modifier and Type | Method and Description |
---|---|
void |
ViewRegistry.addDefinition(ViewEntity definition)
Add a view definition to the registry.
|
void |
ViewRegistry.addInstanceDefinition(ViewEntity definition,
ViewInstanceEntity instanceDefinition)
Add an instance definition for the given view definition.
|
Collection<ViewInstanceEntity> |
ViewRegistry.getInstanceDefinitions(ViewEntity definition)
Get the collection of view instances for the given view definition.
|
void |
ViewRegistry.removeInstanceDefinition(ViewEntity definition,
String instanceName)
Remove an instance definition for the given view definition.
|
Constructor and Description |
---|
ViewExternalSubResourceProvider(Resource.Type type,
ViewEntity viewDefinition)
Construct a view sub-resource provider.
|
ViewSubResourceDefinition(ViewEntity viewDefinition,
ResourceConfig resourceConfiguration)
Construct a sub-resource definition.
|
ViewSubResourceProvider(Resource.Type type,
Class<?> clazz,
String pkField,
ViewEntity viewDefinition)
Construct a view resource provider for the given resource type and bean class.
|
Copyright © 2014. All rights reserved.