@Singleton public class HostNodeModelDao extends GenericDaoImpl<HostNodeModel> implements IGenericDAO<HostNodeModel>
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<org.gcube.rest.commons.resourceawareservice.resources.HostNode,HostNodeModel> |
converterBaseToModel |
static com.google.common.base.Function<HostNodeModel,org.gcube.rest.commons.resourceawareservice.resources.HostNode> |
converterModelToBase |
| Constructor and Description |
|---|
HostNodeModelDao() |
| Modifier and Type | Method and Description |
|---|---|
static List<org.gcube.rest.commons.resourceawareservice.resources.HostNode> |
convertToHostNodeList(List<HostNodeModel> list) |
List<HostNodeModel> |
getByScope(String scope) |
Class<HostNodeModel> |
getClazz() |
countAll, countByCriteria, countByExample, delete, deleteById, deleteByResourceID, findAll, findByCriteria, findByCriteria, findByCriteria, findByExample, findById, findByNamedQuery, findByNamedQueryAndNamedParams, getByResourceID, load, saveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountAll, delete, deleteById, findAll, findByCriteria, findByExample, findByNamedQuery, findByNamedQueryAndNamedParams, load, savepublic static final com.google.common.base.Function<HostNodeModel,org.gcube.rest.commons.resourceawareservice.resources.HostNode> converterModelToBase
public static final com.google.common.base.Function<org.gcube.rest.commons.resourceawareservice.resources.HostNode,HostNodeModel> converterBaseToModel
public Class<HostNodeModel> getClazz()
getClazz in class GenericDaoImpl<HostNodeModel>public List<HostNodeModel> getByScope(String scope)
public static List<org.gcube.rest.commons.resourceawareservice.resources.HostNode> convertToHostNodeList(List<HostNodeModel> list)
Copyright © 2016. All Rights Reserved.