Package | Description |
---|---|
org.apache.ambari.server.api.services | |
org.apache.ambari.server.orm.dao | |
org.apache.ambari.server.orm.entities | |
org.apache.ambari.server.view |
Constructor and Description |
---|
ViewExternalSubResourceService(Resource.Type type,
ViewInstanceEntity viewInstanceDefinition) |
Modifier and Type | Method and Description |
---|---|
ViewInstanceEntity |
ViewInstanceDAO.findByName(String viewName,
String instanceName)
Find a view with the given names.
|
ViewInstanceEntity |
ViewInstanceDAO.merge(ViewInstanceEntity ViewInstanceEntity)
Merge the state of the given entity into the current persistence context.
|
Modifier and Type | Method and Description |
---|---|
List<ViewInstanceEntity> |
ViewInstanceDAO.findAll()
Find all view instances.
|
Modifier and Type | Method and Description |
---|---|
void |
ViewInstanceDAO.create(ViewInstanceEntity ViewInstanceEntity)
Make an instance managed and persistent.
|
ViewInstanceEntity |
ViewInstanceDAO.merge(ViewInstanceEntity ViewInstanceEntity)
Merge the state of the given entity into the current persistence context.
|
void |
ViewInstanceDAO.refresh(ViewInstanceEntity ViewInstanceEntity)
Refresh the state of the instance from the database,
overwriting changes made to the entity, if any.
|
void |
ViewInstanceDAO.remove(ViewInstanceEntity ViewInstanceEntity)
Remove the entity instance.
|
Modifier and Type | Method and Description |
---|---|
ViewInstanceEntity |
ViewEntity.getInstanceDefinition(String instanceName)
Get an instance definition for the given name.
|
ViewInstanceEntity |
ViewInstanceDataEntity.getViewInstanceEntity() |
ViewInstanceEntity |
ViewInstancePropertyEntity.getViewInstanceEntity()
Get the parent instance entity.
|
Modifier and Type | Method and Description |
---|---|
Collection<ViewInstanceEntity> |
ViewEntity.getInstances()
Get the view instances.
|
Modifier and Type | Method and Description |
---|---|
void |
ViewEntity.addInstanceDefinition(ViewInstanceEntity viewInstanceDefinition)
Add an instance definition.
|
void |
ViewInstanceDataEntity.setViewInstanceEntity(ViewInstanceEntity viewInstance) |
void |
ViewInstancePropertyEntity.setViewInstanceEntity(ViewInstanceEntity viewInstance)
Set the parent instance entity.
|
Modifier and Type | Method and Description |
---|---|
void |
ViewEntity.setInstances(Collection<ViewInstanceEntity> instances)
Set the view instances.
|
Modifier and Type | Method and Description |
---|---|
ViewInstanceEntity |
ViewRegistry.getInstanceDefinition(String viewName,
String instanceName)
Get the instance definition for the given view nam,e and instance name.
|
Modifier and Type | Method and Description |
---|---|
Collection<ViewInstanceEntity> |
ViewRegistry.getInstanceDefinitions(ViewEntity definition)
Get the collection of view instances for the given view definition.
|
Set<ViewInstanceEntity> |
ViewRegistry.readViewArchives(Configuration configuration)
Read the view archives.
|
Modifier and Type | Method and Description |
---|---|
void |
ViewRegistry.addInstanceDefinition(ViewEntity definition,
ViewInstanceEntity instanceDefinition)
Add an instance definition for the given view definition.
|
org.eclipse.jetty.webapp.WebAppContext |
ViewRegistry.getWebAppContext(ViewInstanceEntity viewInstanceDefinition)
Get a WebAppContext for the given view instance.
|
void |
ViewRegistry.installViewInstance(ViewInstanceEntity instanceEntity)
Install a view instance for the view with the given view name.
|
void |
ViewRegistry.uninstallViewInstance(ViewInstanceEntity instanceEntity)
Uninstall a view instance for the view with the given view name.
|
void |
ViewRegistry.updateViewInstance(ViewInstanceEntity instanceEntity)
Update a view instance for the view with the given view name.
|
Constructor and Description |
---|
ViewContextImpl(ViewInstanceEntity viewInstanceEntity,
ViewRegistry viewRegistry)
Construct a view context from the given view entity.
|
Copyright © 2016. All rights reserved.