Class OriginDAO
java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<OriginEntity,OriginId>
org.exoplatform.webconferencing.dao.OriginDAO
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<OriginEntity,OriginId>
public class OriginDAO
extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<OriginEntity,OriginId>
Created by The eXo Platform SAS.
- Version:
- $Id: OriginDAO.java 00000 Dec 18, 2020 pnedonosko $
- Author:
- Peter Nedonosko
-
Field Summary
Fields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear the storage.intdeleteCallOrigins(String callId) Deprecated.findCallOrigins(String callId, String type) Find call's origins.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
-
OriginDAO
public OriginDAO()Instantiates a new origins DAO.
-
-
Method Details
-
findCallOrigins
public List<OriginEntity> findCallOrigins(String callId, String type) throws jakarta.persistence.PersistenceException, IllegalStateException, IllegalArgumentException Find call's origins.- Parameters:
callId- the call idtype- the type of participant- Returns:
- the list
- Throws:
jakarta.persistence.PersistenceException- the persistence exceptionIllegalStateException- the illegal state exceptionIllegalArgumentException- the illegal argument exception
-
deleteCallOrigins
@Deprecated public int deleteCallOrigins(String callId) throws jakarta.persistence.PersistenceException, IllegalStateException, IllegalArgumentException Deprecated.Delete call's origins.- 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.
-