Package org.dspace.content.dao.impl
Class EntityTypeDAOImpl
- java.lang.Object
-
- org.dspace.core.AbstractHibernateDAO<EntityType>
-
- org.dspace.content.dao.impl.EntityTypeDAOImpl
-
- All Implemented Interfaces:
EntityTypeDAO,GenericDAO<EntityType>
public class EntityTypeDAOImpl extends AbstractHibernateDAO<EntityType> implements EntityTypeDAO
-
-
Constructor Summary
Constructors Constructor Description EntityTypeDAOImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityTypefindByEntityType(Context context, String entityType)This method returns the EntityType object that has the given entityType String as label-
Methods inherited from class org.dspace.core.AbstractHibernateDAO
count, count, countLong, create, createQuery, delete, executeCriteriaQuery, findAll, findAll, findByID, findByID, findByX, findMany, findMany, findUnique, getCriteriaBuilder, getCriteriaQuery, getHibernateSession, iterate, list, list, list, save, singleResult, singleResult, uniqueResult, uniqueResult
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findByEntityType
public EntityType findByEntityType(Context context, String entityType) throws SQLException
Description copied from interface:EntityTypeDAOThis method returns the EntityType object that has the given entityType String as label- Specified by:
findByEntityTypein interfaceEntityTypeDAO- Parameters:
context- The relevant DSpace contextentityType- The entityType String that will be matched on to find the correct EntityType- Returns:
- The EntityType object that has the entityType String as label
- Throws:
SQLException- If something goes wrong
-
-