Class IdentityDAOImpl.IdentityWithRelationshipListAccess
java.lang.Object
org.exoplatform.social.core.jpa.storage.dao.jpa.IdentityDAOImpl.IdentityWithRelationshipListAccess
- All Implemented Interfaces:
org.exoplatform.commons.utils.ListAccess<Map.Entry<IdentityEntity,ConnectionEntity>>
- Enclosing class:
IdentityDAOImpl
public class IdentityDAOImpl.IdentityWithRelationshipListAccess
extends Object
implements org.exoplatform.commons.utils.ListAccess<Map.Entry<IdentityEntity,ConnectionEntity>>
-
Constructor Summary
ConstructorsConstructorDescriptionIdentityWithRelationshipListAccess(long identityId, jakarta.persistence.Query identityQuery, jakarta.persistence.TypedQuery<ConnectionEntity> connctionsQuery, jakarta.persistence.TypedQuery<Long> countQuery) -
Method Summary
-
Constructor Details
-
IdentityWithRelationshipListAccess
public IdentityWithRelationshipListAccess(long identityId, jakarta.persistence.Query identityQuery, jakarta.persistence.TypedQuery<ConnectionEntity> connctionsQuery, jakarta.persistence.TypedQuery<Long> countQuery)
-
-
Method Details
-
load
public Map.Entry<IdentityEntity,ConnectionEntity>[] load(int offset, int limit) throws Exception, IllegalArgumentException - Specified by:
loadin interfaceorg.exoplatform.commons.utils.ListAccess<Map.Entry<IdentityEntity,ConnectionEntity>> - Throws:
ExceptionIllegalArgumentException
-
getSize
- Specified by:
getSizein interfaceorg.exoplatform.commons.utils.ListAccess<Map.Entry<IdentityEntity,ConnectionEntity>> - Throws:
Exception
-