public class MockActivityOfferingClusterDao extends Object implements ActivityOfferingClusterDaoApi
Constructor and Description |
---|
MockActivityOfferingClusterDao() |
Modifier and Type | Method and Description |
---|---|
ActivityOfferingClusterEntity |
find(String primaryKey) |
List<ActivityOfferingClusterEntity> |
findAll() |
List<ActivityOfferingClusterEntity> |
findByIds(List<String> primaryKeys) |
List<ActivityOfferingClusterEntity> |
findByIds(String primaryKeyMemberName,
List<String> primaryKeys) |
List<String> |
getActivityOfferingIdsByClusterId(String activityOfferingClusterId) |
ActivityOfferingClusterEntity |
getByActivityOffering(String activityOfferingId)
Returns all ActivityOfferingClusterEntities that map back to a single activity offering
|
List<ActivityOfferingClusterEntity> |
getByCourseOffering(String courseOfferingId) |
List<ActivityOfferingClusterEntity> |
getByFormatOffering(String formatOfferingId) |
EntityManager |
getEm() |
protected Class<?> |
getEntityClass() |
ActivityOfferingClusterEntity |
merge(ActivityOfferingClusterEntity entity) |
void |
persist(ActivityOfferingClusterEntity entity) |
void |
remove(ActivityOfferingClusterEntity entity) |
void |
setEm(EntityManager em) |
public MockActivityOfferingClusterDao()
protected Class<?> getEntityClass()
public List<ActivityOfferingClusterEntity> getByFormatOffering(String formatOfferingId)
getByFormatOffering
in interface ActivityOfferingClusterDaoApi
public List<String> getActivityOfferingIdsByClusterId(String activityOfferingClusterId)
getActivityOfferingIdsByClusterId
in interface ActivityOfferingClusterDaoApi
public ActivityOfferingClusterEntity find(String primaryKey)
find
in interface EntityDao<String,ActivityOfferingClusterEntity>
public List<ActivityOfferingClusterEntity> findByIds(List<String> primaryKeys) throws Exception
findByIds
in interface EntityDao<String,ActivityOfferingClusterEntity>
Exception
public List<ActivityOfferingClusterEntity> findByIds(String primaryKeyMemberName, List<String> primaryKeys) throws Exception
findByIds
in interface EntityDao<String,ActivityOfferingClusterEntity>
Exception
public List<ActivityOfferingClusterEntity> findAll()
findAll
in interface EntityDao<String,ActivityOfferingClusterEntity>
public void persist(ActivityOfferingClusterEntity entity)
persist
in interface EntityDao<String,ActivityOfferingClusterEntity>
public ActivityOfferingClusterEntity merge(ActivityOfferingClusterEntity entity)
merge
in interface EntityDao<String,ActivityOfferingClusterEntity>
public void remove(ActivityOfferingClusterEntity entity)
remove
in interface EntityDao<String,ActivityOfferingClusterEntity>
public EntityManager getEm() throws UnsupportedOperationException
getEm
in interface EntityDao<String,ActivityOfferingClusterEntity>
UnsupportedOperationException
public void setEm(EntityManager em) throws UnsupportedOperationException
setEm
in interface EntityDao<String,ActivityOfferingClusterEntity>
UnsupportedOperationException
public List<ActivityOfferingClusterEntity> getByCourseOffering(String courseOfferingId)
getByCourseOffering
in interface ActivityOfferingClusterDaoApi
public ActivityOfferingClusterEntity getByActivityOffering(String activityOfferingId)
getByActivityOffering
in interface ActivityOfferingClusterDaoApi
activityOfferingId
- Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.