Class ConnectionFilterListAccess
java.lang.Object
org.exoplatform.social.core.identity.ConnectionFilterListAccess
- All Implemented Interfaces:
org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity>
public class ConnectionFilterListAccess
extends Object
implements org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe connection list access Type Enum. -
Constructor Summary
ConstructorsConstructorDescriptionConnectionFilterListAccess(org.exoplatform.social.core.storage.api.IdentityStorage identityStorage, org.exoplatform.social.core.storage.api.RelationshipStorage relationshipStorage, org.exoplatform.social.core.identity.model.Identity identity, org.exoplatform.social.core.profile.ProfileFilter filter) The constructor.ConnectionFilterListAccess(org.exoplatform.social.core.storage.api.IdentityStorage identityStorage, org.exoplatform.social.core.storage.api.RelationshipStorage relationshipStorage, org.exoplatform.social.core.identity.model.Identity identity, org.exoplatform.social.core.profile.ProfileFilter filter, ConnectionFilterListAccess.Type type) The constructor. -
Method Summary
-
Constructor Details
-
ConnectionFilterListAccess
public ConnectionFilterListAccess(org.exoplatform.social.core.storage.api.IdentityStorage identityStorage, org.exoplatform.social.core.storage.api.RelationshipStorage relationshipStorage, org.exoplatform.social.core.identity.model.Identity identity, org.exoplatform.social.core.profile.ProfileFilter filter) The constructor.- Parameters:
relationshipStorage- Storage object of Relationship.identity- Identity to get connection.
-
ConnectionFilterListAccess
public ConnectionFilterListAccess(org.exoplatform.social.core.storage.api.IdentityStorage identityStorage, org.exoplatform.social.core.storage.api.RelationshipStorage relationshipStorage, org.exoplatform.social.core.identity.model.Identity identity, org.exoplatform.social.core.profile.ProfileFilter filter, ConnectionFilterListAccess.Type type) The constructor.- Parameters:
relationshipStorage-identity-type-- Since:
- 1.2.3
-
-
Method Details
-
load
public org.exoplatform.social.core.identity.model.Identity[] load(int offset, int limit) throws Exception - Specified by:
loadin interfaceorg.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity>- Throws:
Exception
-
getSize
- Specified by:
getSizein interfaceorg.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity>- Throws:
Exception
-
getType
Gets the type of connection list access.- Returns:
- Since:
- 1.2.3
-
setType
Sets the type of connection list access.- Parameters:
type-- Since:
- 1.2.3
-