public class IndexableActionableDynamicQuery extends DefaultActionableDynamicQuery
ActionableDynamicQuery.AddCriteriaMethod, ActionableDynamicQuery.AddOrderCriteriaMethod, ActionableDynamicQuery.PerformActionMethod<T>, ActionableDynamicQuery.PerformCountMethod
REQUIRES_NEW_TRANSACTION_CONFIG
Constructor and Description |
---|
IndexableActionableDynamicQuery() |
Modifier and Type | Method and Description |
---|---|
protected void |
actionsCompleted() |
void |
addDocuments(Document... documents) |
protected long |
doPerformActions(long previousPrimaryKey) |
protected String |
getSearchEngineId() |
protected void |
indexInterval() |
void |
performActions() |
protected void |
sendStatusMessage() |
protected void |
sendStatusMessage(long documentIntervalCount) |
void |
setIndexWriterHelper(IndexWriterHelper indexWriterHelper) |
void |
setParallel(boolean parallel) |
void |
setSearchEngineId(String searchEngineId) |
addCriteria, addDefaultCriteria, addOrderCriteria, executeDynamicQuery, getAddCriteriaMethod, getAddOrderCriteriaMethod, getCompanyId, getCountProjection, getInterval, getModelClass, getPerformActionMethod, getPerformCountMethod, getTransactionConfig, intervalCompleted, isParallel, performAction, performCount, setAddCriteriaMethod, setAddOrderCriteriaMethod, setBaseLocalService, setClass, setClassLoader, setCompanyId, setGroupId, setGroupIdPropertyName, setInterval, setModelClass, setPerformActionMethod, setPerformCountMethod, setPrimaryKeyPropertyName, setTransactionConfig
public void addDocuments(Document... documents) throws PortalException
PortalException
public void performActions() throws PortalException
performActions
in interface ActionableDynamicQuery
performActions
in class DefaultActionableDynamicQuery
PortalException
public void setIndexWriterHelper(IndexWriterHelper indexWriterHelper)
public void setParallel(boolean parallel)
setParallel
in interface ActionableDynamicQuery
setParallel
in class DefaultActionableDynamicQuery
public void setSearchEngineId(String searchEngineId)
protected void actionsCompleted() throws PortalException
actionsCompleted
in class DefaultActionableDynamicQuery
PortalException
protected long doPerformActions(long previousPrimaryKey) throws PortalException
doPerformActions
in class DefaultActionableDynamicQuery
PortalException
protected String getSearchEngineId()
protected void indexInterval() throws PortalException
PortalException
protected void sendStatusMessage()
protected void sendStatusMessage(long documentIntervalCount)