Package io.meeds.gamification.dao
Class ConnectorAccountDAO
java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<ConnectorAccountEntity,Long>
io.meeds.gamification.dao.ConnectorAccountDAO
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<ConnectorAccountEntity,Long>
public class ConnectorAccountDAO
extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<ConnectorAccountEntity,Long>
-
Field Summary
FieldsFields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetAssociatedUserIdentityId(String connectorName, String connectorRemoteId) getConnectorAccountByNameAndRemoteId(String connectorName, String connectorRemoteId) getConnectorAccountByNameAndUserId(String connectorName, long userIdentityId) getConnectorRemoteId(String connectorName, long userIdentityId) Methods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAll
-
Field Details
-
CONNECTOR_NAME
- See Also:
-
USER_IDENTITY_ID
- See Also:
-
REMOTE_ID
- See Also:
-
-
Constructor Details
-
ConnectorAccountDAO
public ConnectorAccountDAO()
-
-
Method Details
-
getConnectorAccountByNameAndUserId
public ConnectorAccountEntity getConnectorAccountByNameAndUserId(String connectorName, long userIdentityId) -
getConnectorAccountByNameAndRemoteId
public ConnectorAccountEntity getConnectorAccountByNameAndRemoteId(String connectorName, String connectorRemoteId) -
getConnectorRemoteId
-
getAssociatedUserIdentityId
-