@Singleton public class RunInstanceModelDao extends GenericDaoImpl<RunInstanceModel> implements IGenericDAO<RunInstanceModel>
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<org.gcube.rest.commons.resourceawareservice.resources.RunInstance,RunInstanceModel> |
converterBaseToModel |
static com.google.common.base.Function<RunInstanceModel,org.gcube.rest.commons.resourceawareservice.resources.RunInstance> |
converterModelToBase |
static com.google.common.base.Function<RunInstanceModel,String> |
resourceIDextractor |
| Constructor and Description |
|---|
RunInstanceModelDao() |
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
convertToResourceIDsSet(List<RunInstanceModel> list) |
static List<org.gcube.rest.commons.resourceawareservice.resources.RunInstance> |
convertToRunInstanceList(List<RunInstanceModel> list) |
static Set<org.gcube.rest.commons.resourceawareservice.resources.RunInstance> |
convertToRunInstanceSet(Collection<RunInstanceModel> list) |
List<RunInstanceModel> |
getByServiceClassAndServiceNameAndScope(String serviceClass,
String serviceName,
String scope) |
List<RunInstanceModel> |
getByServiceClassAndServiceNameAndScopeAndEndpointKey(String serviceClass,
String serviceName,
String scope,
String endpointKey) |
Class<RunInstanceModel> |
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<RunInstanceModel,String> resourceIDextractor
public static final com.google.common.base.Function<RunInstanceModel,org.gcube.rest.commons.resourceawareservice.resources.RunInstance> converterModelToBase
public static final com.google.common.base.Function<org.gcube.rest.commons.resourceawareservice.resources.RunInstance,RunInstanceModel> converterBaseToModel
public Class<RunInstanceModel> getClazz()
getClazz in class GenericDaoImpl<RunInstanceModel>public List<RunInstanceModel> getByServiceClassAndServiceNameAndScopeAndEndpointKey(String serviceClass, String serviceName, String scope, String endpointKey)
public List<RunInstanceModel> getByServiceClassAndServiceNameAndScope(String serviceClass, String serviceName, String scope)
public static List<org.gcube.rest.commons.resourceawareservice.resources.RunInstance> convertToRunInstanceList(List<RunInstanceModel> list)
public static Set<org.gcube.rest.commons.resourceawareservice.resources.RunInstance> convertToRunInstanceSet(Collection<RunInstanceModel> list)
public static Set<String> convertToResourceIDsSet(List<RunInstanceModel> list)
Copyright © 2016. All Rights Reserved.