Package org.nuxeo.ecm.core.scroll
Class ScrollServiceImpl
- java.lang.Object
-
- org.nuxeo.ecm.core.scroll.ScrollServiceImpl
-
- All Implemented Interfaces:
ScrollService
public class ScrollServiceImpl extends Object implements ScrollService
- Since:
- 11.1
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
DEFAULT_NAME
protected Map<String,ScrollDescriptor>
descriptors
protected static String
SEP_KEY
-
Constructor Summary
Constructors Constructor Description ScrollServiceImpl(List<ScrollDescriptor> scrollDescriptors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exists(ScrollRequest request)
Returnstrue
if the requested Scroll implementation exists.protected String
getDefaultKey(ScrollDescriptor descriptor)
protected String
getKey(String type, String name)
protected String
getKey(ScrollRequest request)
protected String
getKey(ScrollDescriptor descriptor)
Scroll
scroll(ScrollRequest request)
Returns aScroll
instance to execute the request.
-
-
-
Field Detail
-
SEP_KEY
protected static final String SEP_KEY
- See Also:
- Constant Field Values
-
DEFAULT_NAME
protected static final String DEFAULT_NAME
- See Also:
- Constant Field Values
-
descriptors
protected final Map<String,ScrollDescriptor> descriptors
-
-
Constructor Detail
-
ScrollServiceImpl
public ScrollServiceImpl(List<ScrollDescriptor> scrollDescriptors)
-
-
Method Detail
-
getKey
protected String getKey(ScrollDescriptor descriptor)
-
getDefaultKey
protected String getDefaultKey(ScrollDescriptor descriptor)
-
getKey
protected String getKey(ScrollRequest request)
-
scroll
public Scroll scroll(ScrollRequest request)
Description copied from interface:ScrollService
Returns aScroll
instance to execute the request.- Specified by:
scroll
in interfaceScrollService
-
exists
public boolean exists(ScrollRequest request)
Description copied from interface:ScrollService
Returnstrue
if the requested Scroll implementation exists.- Specified by:
exists
in interfaceScrollService
-
-