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
-
-
Constructor Summary
Constructors Constructor Description OriginDAO()Instantiates a new origins DAO.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclear()Clear the storage.intdeleteCallOrigins(String callId)Deprecated.List<OriginEntity>findCallOrigins(String callId, String type)Find call's origins.
-
-
-
Method Detail
-
findCallOrigins
public List<OriginEntity> findCallOrigins(String callId, String type) throws javax.persistence.PersistenceException, IllegalStateException, IllegalArgumentException
Find call's origins.- Parameters:
callId- the call idtype- the type of participant- Returns:
- the list
- Throws:
javax.persistence.PersistenceException- the persistence exceptionIllegalStateException- the illegal state exceptionIllegalArgumentException- the illegal argument exception
-
deleteCallOrigins
@Deprecated public int deleteCallOrigins(String callId) throws javax.persistence.PersistenceException, IllegalStateException, IllegalArgumentException
Deprecated.Delete call's origins.- Parameters:
callId- the call id- Returns:
- the int
- Throws:
javax.persistence.PersistenceException- the persistence exceptionIllegalStateException- the illegal state exceptionIllegalArgumentException- the illegal argument exception
-
clear
public void clear()
Clear the storage.
-
-