Package org.ametys.plugins.core.search
Class UserAndGroupSearchManager.DirectorySearchDataResult
- java.lang.Object
-
- org.ametys.plugins.core.search.UserAndGroupSearchManager.DirectorySearchDataResult
-
- All Implemented Interfaces:
UserAndGroupSearchManager.SearchDataResult
- Enclosing class:
- UserAndGroupSearchManager
private static class UserAndGroupSearchManager.DirectorySearchDataResult extends Object implements UserAndGroupSearchManager.SearchDataResult
-
-
Field Summary
Fields Modifier and Type Field Description private List<Group>
_groups
private GroupHelper
_helper
private boolean
_isFinished
private int
_offset
private String
_sourceId
-
Constructor Summary
Constructors Constructor Description DirectorySearchDataResult(GroupHelper helper, String sourceId, boolean isFinished, List<Group> groups, int initialOffset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLastSortableName()
int
getOffset()
String
getSourceId()
String
getType()
boolean
isFinished()
List<Map<String,Object>>
results2Json()
String
toString()
void
truncateAfter(String entry)
-
-
-
Field Detail
-
_isFinished
private boolean _isFinished
-
_offset
private int _offset
-
_helper
private GroupHelper _helper
-
-
Constructor Detail
-
DirectorySearchDataResult
public DirectorySearchDataResult(GroupHelper helper, String sourceId, boolean isFinished, List<Group> groups, int initialOffset)
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getType
in interfaceUserAndGroupSearchManager.SearchDataResult
-
getSourceId
public String getSourceId()
- Specified by:
getSourceId
in interfaceUserAndGroupSearchManager.SearchDataResult
-
isFinished
public boolean isFinished()
- Specified by:
isFinished
in interfaceUserAndGroupSearchManager.SearchDataResult
-
truncateAfter
public void truncateAfter(String entry)
- Specified by:
truncateAfter
in interfaceUserAndGroupSearchManager.SearchDataResult
-
getOffset
public int getOffset()
- Specified by:
getOffset
in interfaceUserAndGroupSearchManager.SearchDataResult
-
results2Json
public List<Map<String,Object>> results2Json()
- Specified by:
results2Json
in interfaceUserAndGroupSearchManager.SearchDataResult
-
getLastSortableName
public String getLastSortableName()
- Specified by:
getLastSortableName
in interfaceUserAndGroupSearchManager.SearchDataResult
-
-