Class ConnectorAccountCachedStorage
java.lang.Object
io.meeds.gamification.storage.ConnectorAccountStorage
io.meeds.gamification.storage.cached.ConnectorAccountCachedStorage
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConnectorAccountCachedStorage(ConnectorAccountDAO connectorAccountDAO, org.exoplatform.services.cache.CacheService cacheService) -
Method Summary
Modifier and TypeMethodDescriptionvoidclearCacheEntries(String connectorName, long userIdentityId) voidclearCacheEntries(String connectorName, String connectorRemoteId) deleteConnectorAccount(String connectorName, String connectorRemoteId) getConnectorAccount(String connectorName, long userId) getConnectorRemoteId(String connectorName, long userId) longgetUserIdentityId(String connectorName, String connectorRemoteId) voidsaveConnectorAccount(ConnectorAccount connectorAccount)
-
Field Details
-
CONNECTOR_CACHE_NAME
- See Also:
-
CONNECTOR_ACCOUNT_BY_REMOTE_ID
- See Also:
-
CONNECTOR_REMOTE_CONTEXT
- See Also:
-
CONNECTOR_LOCAL_CONTEXT
- See Also:
-
-
Constructor Details
-
ConnectorAccountCachedStorage
public ConnectorAccountCachedStorage(ConnectorAccountDAO connectorAccountDAO, org.exoplatform.services.cache.CacheService cacheService)
-
-
Method Details
-
getConnectorRemoteId
- Overrides:
getConnectorRemoteIdin classConnectorAccountStorage
-
getConnectorAccount
- Overrides:
getConnectorAccountin classConnectorAccountStorage
-
getUserIdentityId
- Overrides:
getUserIdentityIdin classConnectorAccountStorage
-
saveConnectorAccount
public void saveConnectorAccount(ConnectorAccount connectorAccount) throws org.exoplatform.commons.ObjectAlreadyExistsException - Overrides:
saveConnectorAccountin classConnectorAccountStorage- Throws:
org.exoplatform.commons.ObjectAlreadyExistsException
-
deleteConnectorAccount
- Overrides:
deleteConnectorAccountin classConnectorAccountStorage
-
clearCacheEntries
-
clearCacheEntries
-