public class GamificationItemDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<GamificationContextItemEntity,Long>
| Constructor and Description |
|---|
GamificationItemDAO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteItem(GamificationContextItemEntity gamificationContextItemEntity)
Delete item
|
List<GamificationContextItemEntity> |
findGamificationItemsByUserIdAndDomain(String userid,
String domain)
Get gamification items by userid and by domain
|
public List<GamificationContextItemEntity> findGamificationItemsByUserIdAndDomain(String userid, String domain) throws javax.persistence.PersistenceException
userid - : username to loaddomain - : domain to loadjavax.persistence.PersistenceException - hibernate exceptionpublic boolean deleteItem(GamificationContextItemEntity gamificationContextItemEntity)
gamificationContextItemEntity - Item to loadCopyright © 2003–2018 eXo Platform SAS. All rights reserved.