@ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault public class StreamingCustomFieldValueDTORetriever extends BaseStreamingRetriever<Long,String,CustomFieldValueDTO>
| Constructor and Description |
|---|
StreamingCustomFieldValueDTORetriever(QueryDslAccessor queryDslAccessor,
DatabaseAccessor dbAccessor) |
| Modifier and Type | Method and Description |
|---|---|
protected List<CustomFieldValueDTO> |
getEntitiesBatchByIds(List<Long> idsBatch)
The implementation should return the entities based on provided ids list
|
protected List<Long> |
getEntityIds(String mentionText)
The implementation should return all the ids of entities which will be then returned in batches
|
streampublic StreamingCustomFieldValueDTORetriever(QueryDslAccessor queryDslAccessor, DatabaseAccessor dbAccessor)
protected List<Long> getEntityIds(String mentionText)
BaseStreamingRetrievergetEntityIds in class BaseStreamingRetriever<Long,String,CustomFieldValueDTO>mentionText - the parameter which is used to find the entitiesprotected List<CustomFieldValueDTO> getEntitiesBatchByIds(List<Long> idsBatch)
BaseStreamingRetrievergetEntitiesBatchByIds in class BaseStreamingRetriever<Long,String,CustomFieldValueDTO>idsBatch - the batch of ids for the entities to be returnedCopyright © 2002-2021 Atlassian. All Rights Reserved.