public interface VmTemplateDAO extends GenericDao<VmTemplate,Guid>, StatusAwareDao<Guid,VmTemplateStatus>
VmTemplateDAO
defines a type for performing CRUD operations on instances of VmTemplate
.Modifier and Type | Method and Description |
---|---|
List<VmTemplate> |
getAllForStorageDomain(Guid storageDomain)
Retrieves all templates for the specified storage domain.
|
List<VmTemplate> |
getAllForVdsGroup(Guid vdsGroup)
Retrieves all templates for the specified VDS group.
|
List<VmTemplate> |
getAllWithQuery(String query)
Retrieves all templates using a SQL query.
|
List<VmTemplate> |
getTemplatesWithPermittedAction(Guid userId,
ActionGroup actionGroup)
Retrieves templates with permissions to perform the given action.
|
remove, save, update
updateStatus
List<VmTemplate> getAllForStorageDomain(Guid storageDomain)
storageDomain
- the storage domainList<VmTemplate> getAllWithQuery(String query)
query
- the queryList<VmTemplate> getAllForVdsGroup(Guid vdsGroup)
vdsGroup
- the VDS groupList<VmTemplate> getTemplatesWithPermittedAction(Guid userId, ActionGroup actionGroup)
userId
- actionGroup
- Copyright © 2012. All Rights Reserved.