org.exoplatform.social.webui
Class IdentityListAccess

java.lang.Object
  extended by org.exoplatform.social.webui.IdentityListAccess
All Implemented Interfaces:
org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity>

public class IdentityListAccess
extends Object
implements org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity>


Constructor Summary
IdentityListAccess(List<org.exoplatform.social.core.identity.model.Identity> list)
          Initializes IdentityListAccess object.
 
Method Summary
 int getSize()
          Gets the number of element in accessing list.
 org.exoplatform.social.core.identity.model.Identity[] load(int index, int length)
          Implements load method of ListAccess interfaces for load all initial variables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityListAccess

public IdentityListAccess(List<org.exoplatform.social.core.identity.model.Identity> list)
Initializes IdentityListAccess object.

Parameters:
list - List using for accessing.
Method Detail

load

public org.exoplatform.social.core.identity.model.Identity[] load(int index,
                                                                  int length)
                                                           throws Exception,
                                                                  IllegalArgumentException
Implements load method of ListAccess interfaces for load all initial variables.

Specified by:
load in interface org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity>
Returns:
result Array of identity using in access list.
Throws:
Exception
IllegalArgumentException

getSize

public int getSize()
            throws Exception
Gets the number of element in accessing list.

Specified by:
getSize in interface org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity>
Returns:
size Number of element in list.
Throws:
Exception


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.