Class UserFilterListAccess
java.lang.Object
org.exoplatform.social.core.identity.UserFilterListAccess
- All Implemented Interfaces:
org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User>
public class UserFilterListAccess
extends Object
implements org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User>
ListAccess is used in loading users with the input profile filter. With this
list we can manage the size of returned list by offset and limit.
-
Constructor Summary
ConstructorsConstructorDescriptionUserFilterListAccess(org.exoplatform.services.organization.OrganizationService organizationService, org.exoplatform.social.core.storage.api.IdentityStorage identityStorage, org.exoplatform.social.core.profile.ProfileFilter profileFilter) -
Method Summary
-
Constructor Details
-
UserFilterListAccess
public UserFilterListAccess(org.exoplatform.services.organization.OrganizationService organizationService, org.exoplatform.social.core.storage.api.IdentityStorage identityStorage, org.exoplatform.social.core.profile.ProfileFilter profileFilter)
-
-
Method Details
-
load
public org.exoplatform.services.organization.User[] load(int offset, int limit) throws Exception, IllegalArgumentException - Specified by:
loadin interfaceorg.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User>- Throws:
ExceptionIllegalArgumentException
-
getSize
- Specified by:
getSizein interfaceorg.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User>- Throws:
Exception
-