public class RelationshipListAccess extends Object implements org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.relationship.model.Relationship>
| Constructor and Description |
|---|
RelationshipListAccess(List<org.exoplatform.social.core.relationship.model.Relationship> list)
Initializes the access list.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSize()
Gets the number of element in accessing list.
|
org.exoplatform.social.core.relationship.model.Relationship[] |
load(int index,
int length)
Implements load method of ListAccess interfaces for load all initial variables.
|
public RelationshipListAccess(List<org.exoplatform.social.core.relationship.model.Relationship> list)
list - List is used for initialize.public org.exoplatform.social.core.relationship.model.Relationship[] load(int index,
int length)
throws Exception,
IllegalArgumentException
load in interface org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.relationship.model.Relationship>ExceptionIllegalArgumentExceptionCopyright © 2003–2018 eXo Platform SAS. All rights reserved.