Package org.ametys.plugins.core.search
Class UserAndGroupSearchManager.PopulationSearchDataResult
- java.lang.Object
-
- org.ametys.plugins.core.search.UserAndGroupSearchManager.PopulationSearchDataResult
-
- All Implemented Interfaces:
UserAndGroupSearchManager.SearchDataResult
- Enclosing class:
- UserAndGroupSearchManager
private static class UserAndGroupSearchManager.PopulationSearchDataResult extends Object implements UserAndGroupSearchManager.SearchDataResult
-
-
Field Summary
Fields Modifier and Type Field Description private UserHelper_helperprivate boolean_isFinishedprivate int_offsetprivate String_sourceIdprivate List<User>_users
-
Constructor Summary
Constructors Constructor Description PopulationSearchDataResult(UserHelper userHelper, String sourceId, boolean isFinished, List<User> users, int initialOffset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLastSortableName()intgetOffset()StringgetSourceId()StringgetType()booleanisFinished()List<Map<String,Object>>results2Json()StringtoString()voidtruncateAfter(String entry)
-
-
-
Field Detail
-
_isFinished
private boolean _isFinished
-
_offset
private int _offset
-
_helper
private UserHelper _helper
-
-
Constructor Detail
-
PopulationSearchDataResult
public PopulationSearchDataResult(UserHelper userHelper, String sourceId, boolean isFinished, List<User> users, int initialOffset)
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getTypein interfaceUserAndGroupSearchManager.SearchDataResult
-
getSourceId
public String getSourceId()
- Specified by:
getSourceIdin interfaceUserAndGroupSearchManager.SearchDataResult
-
isFinished
public boolean isFinished()
- Specified by:
isFinishedin interfaceUserAndGroupSearchManager.SearchDataResult
-
truncateAfter
public void truncateAfter(String entry)
- Specified by:
truncateAfterin interfaceUserAndGroupSearchManager.SearchDataResult
-
getOffset
public int getOffset()
- Specified by:
getOffsetin interfaceUserAndGroupSearchManager.SearchDataResult
-
results2Json
public List<Map<String,Object>> results2Json()
- Specified by:
results2Jsonin interfaceUserAndGroupSearchManager.SearchDataResult
-
getLastSortableName
public String getLastSortableName()
- Specified by:
getLastSortableNamein interfaceUserAndGroupSearchManager.SearchDataResult
-
-