public class SectionIndexBeanProvider extends AbstractIndexBeanProvider
AbstractIndexBeanProvider.DetectMissingBeansAction
GenericService.StartCommand, GenericService.StopCommand
CLASS_VERSION
mLogger, state
Constructor and Description |
---|
SectionIndexBeanProvider() |
Modifier and Type | Method and Description |
---|---|
protected AbstractIndexBeanProvider.DetectMissingBeansAction |
createMissingBeansAction(Timestamp pModifiedAfter) |
List<IndexBean> |
getBeans(Head pFrom,
boolean pAscending,
int pCount,
boolean pInsertAsTail)
Retrieves a number of
beans from the given position
in a specified order. |
List<IndexBean> |
getBeans(Timestamp pFrom,
boolean pAscending,
int pCount)
Retrieves a number of
beans from the given timestamp
in a specified order. |
protected List<IndexBean> |
getBeans(Timestamp pFromTimestamp,
int pFromID,
String pSelector,
boolean pAscending,
int pCount,
boolean pInsertAsTail) |
IndexBean.IndexBeanType |
getIndexBeanType()
Returns type of
IndexBean which is provided by the IndexBeanProvider. |
getACLManager, getContentManager, getMissingBeans, getMissingBeans, setACLManager, setContentManager, startService, stopService
doStartService, doStopService, stopIdleService
assertServiceRunning, getServiceDescription, getServiceMessage, getServiceState, isServiceEnabled, isServiceFailed, isServiceIdle, isServiceRunning, isServiceShutdownFailed, isServiceStopped, setServiceDescription, setServiceEnabled, start, stop, validateIsTrue, validateNotNull
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBeans
public List<IndexBean> getBeans(Timestamp pFrom, boolean pAscending, int pCount)
IndexBeanProvider
beans
from the given timestamp
in a specified order.public List<IndexBean> getBeans(Head pFrom, boolean pAscending, int pCount, boolean pInsertAsTail)
IndexBeanProvider
beans
from the given position
in a specified order.pFrom
- - the to fetch the beans
from.
For backwards compatibility, the Head must contain both the objectID and the last modified
timestamp of the head item.pAscending
- - the order of the returned beans
.pCount
- - the number of objects to be returned.pInsertAsTail
- - true if the beans should be inserted as tail entriesbeans
in the specified order.protected List<IndexBean> getBeans(Timestamp pFromTimestamp, int pFromID, String pSelector, boolean pAscending, int pCount, boolean pInsertAsTail)
public IndexBean.IndexBeanType getIndexBeanType()
IndexBeanProvider
IndexBean
which is provided by the IndexBeanProvider.protected AbstractIndexBeanProvider.DetectMissingBeansAction createMissingBeansAction(Timestamp pModifiedAfter)
createMissingBeansAction
in class AbstractIndexBeanProvider
© 1998- 2021 Escenic AS