Class InviteDAO
java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<InviteEntity,InviteId>
org.exoplatform.webconferencing.dao.InviteDAO
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<InviteEntity,InviteId>
public class InviteDAO
extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<InviteEntity,InviteId>
The Class InviteDAO.
-
Field Summary
Fields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear the storage.intdeleteCallInvites(String callId) Delete call invites.findCallInvites(String callId) Find call invites.Methods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAll
-
Constructor Details
-
InviteDAO
public InviteDAO()
-
-
Method Details
-
findCallInvites
public List<InviteEntity> findCallInvites(String callId) throws jakarta.persistence.PersistenceException, IllegalStateException, IllegalArgumentException Find call invites.- Parameters:
callId- the call id- Returns:
- the list
- Throws:
jakarta.persistence.PersistenceException- the persistence exceptionIllegalStateException- the illegal state exceptionIllegalArgumentException- the illegal argument exception
-
deleteCallInvites
public int deleteCallInvites(String callId) throws jakarta.persistence.PersistenceException, IllegalStateException, IllegalArgumentException Delete call invites.- Parameters:
callId- the call id- Returns:
- the int
- Throws:
jakarta.persistence.PersistenceException- the persistence exceptionIllegalStateException- the illegal state exceptionIllegalArgumentException- the illegal argument exception
-
clear
public void clear()Clear the storage.
-