public class BackendStorageDomainTemplateResource extends AbstractBackendStorageDomainContentResource<Templates,Template,VmTemplate> implements StorageDomainContentResource<Template>
AbstractBackendSubResource.ParametersProvider<R,Q>
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
parent
guid, id, STRICTLY_IMMUTABLE
ACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollections
backend, httpHeaders, LOG, messageBundle, sessionHelper, uriInfo
Constructor and Description |
---|
BackendStorageDomainTemplateResource(BackendStorageDomainTemplatesResource parent,
String templateId) |
Modifier and Type | Method and Description |
---|---|
protected Template |
addParents(Template template)
Add any parent resource references needed for constructing links.
|
javax.ws.rs.core.Response |
doImport(Action action) |
ActionResource |
getActionSubresource(String action,
String ids) |
protected VmTemplate |
getEntity() |
protected Template |
getFromDataDomain() |
get, getClusterId, getDestStorageDomainId, getFromExportDomain, getParent, lookupClusterById, lookupClusterByName, lookupClusterIdByName
actionAsync, actionFailure, actionStatus, actionSuccess, awaitGrace, doAction, expectBlocking, getHostId, getHostId, handleError
getEntity, getStrictlyImmutable, performGet, performGet, performUpdate, performUpdate, validateUpdate
addLinks, addLinks, addLinks, addLinks, addOrUpdateLink, asCollection, asGuidOr404, asString, awaitCompletion, delay, entityNotFound, getAsynchronousStatus, getMapper, getMappingLocator, getQueryParams, incomplete, inject, injectSearchLinks, linkSubCollections, linkSubResource, map, map, map, map, newModel, notFound, notFound, populate, removeIfExist, setMappingLocator, urlEncode
doAction, doGetEntity, doNonBlockingAction, expectNonBlocking, getBackendCollection, getConfigurationValue, getEntity, getEntity, getEntity, performAction, performAction, performNonBlockingAction
asCollection, asGuid, asGuid, combine, fault, getBackend, getCurrent, getEffectiveLocale, getHttpHeaders, getMessageBundle, getSessionHelper, getUriInfo, handleError, handleError, instantiate, localize, localize, localize, sessionize, sessionize, setBackend, setHttpHeaders, setMessageBundle, setSessionHelper, setUriInfo, validateEnum, validateParameters, validateParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
public BackendStorageDomainTemplateResource(BackendStorageDomainTemplatesResource parent, String templateId)
protected Template getFromDataDomain()
getFromDataDomain
in class AbstractBackendStorageDomainContentResource<Templates,Template,VmTemplate>
public javax.ws.rs.core.Response doImport(Action action)
doImport
in interface StorageDomainContentResource<Template>
public ActionResource getActionSubresource(String action, String ids)
getActionSubresource
in interface StorageDomainContentResource<Template>
getActionSubresource
in class AbstractBackendActionableResource<Template,VmTemplate>
protected Template addParents(Template template)
AbstractBackendResource
addParents
in class AbstractBackendResource<Template,VmTemplate>
protected VmTemplate getEntity()
Copyright © 2012. All Rights Reserved.