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

    Constructors
    Constructor
    Description
    UserFilterListAccess(org.exoplatform.services.organization.OrganizationService organizationService, org.exoplatform.social.core.storage.api.IdentityStorage identityStorage, org.exoplatform.social.core.profile.ProfileFilter profileFilter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    org.exoplatform.services.organization.User[]
    load(int offset, int limit)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      load in interface org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User>
      Throws:
      Exception
      IllegalArgumentException
    • getSize

      public int getSize() throws Exception
      Specified by:
      getSize in interface org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User>
      Throws:
      Exception