本文整理汇总了Java中com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery类的典型用法代码示例。如果您正苦于以下问题:Java ActionableDynamicQuery类的具体用法?Java ActionableDynamicQuery怎么用?Java ActionableDynamicQuery使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ActionableDynamicQuery类属于com.liferay.portal.kernel.dao.orm包,在下文中一共展示了ActionableDynamicQuery类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = ServiceInfoLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<ServiceInfo>() {
@Override
public void performAction(ServiceInfo object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index contact " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:ServiceInfoIndexer.java
示例2: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = DossierLogLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<DossierStatistic>() {
@Override
public void performAction(DossierStatistic object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index DossierLog " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:DossierStatisticIndexer.java
示例3: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = DossierActionLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<DossierAction>() {
@Override
public void performAction(DossierAction object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index contact " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:DossierActionIndexer.java
示例4: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = RegistrationFormLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<RegistrationForm>() {
@Override
public void performAction(RegistrationForm object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index DossierLog " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:RegistrationFormIndexer.java
示例5: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = ProcessStepLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<ProcessStep>() {
@Override
public void performAction(ProcessStep object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index contact " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:ProcessStepIndexer.java
示例6: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = ProcessOptionLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<ProcessOption>() {
@Override
public void performAction(ProcessOption object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index contact " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:ProcessOptionIndexer.java
示例7: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = PaymentConfigLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<PaymentConfig>() {
@Override
public void performAction(PaymentConfig object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index contact " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:PaymentConfigIndexer.java
示例8: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = ServiceConfigLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<ServiceConfig>() {
@Override
public void performAction(ServiceConfig object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index contact " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:ServiceConfigIndexer.java
示例9: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = DossierTemplateLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<DossierTemplate>() {
@Override
public void performAction(DossierTemplate object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index contact " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:DossierTemplateIndexer.java
示例10: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = RegistrationLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<Registration>() {
@Override
public void performAction(Registration object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index contact " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:RegistrationIndexer.java
示例11: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = DossierFileLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<DossierFile>() {
@Override
public void performAction(DossierFile object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index DossierFile " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:DossierFileIndexer.java
示例12: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = ProcessActionLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<ProcessAction>() {
@Override
public void performAction(ProcessAction object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index contact " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:ProcessActionIndexer.java
示例13: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = DossierActionSyncLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<DossierActionSync>() {
@Override
public void performAction(DossierActionSync object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index contact " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:DossierActionSyncIndexer.java
示例14: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = DeliverableLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<Deliverable>() {
@Override
public void performAction(Deliverable object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index contact " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:DeliverableIndexer.java
示例15: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = DossierLogLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<DossierLog>() {
@Override
public void performAction(DossierLog object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index DossierLog " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:DossierLogIndexer.java
示例16: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = RegistrationLogLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<RegistrationLog>() {
@Override
public void performAction(RegistrationLog object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index RegistrationLog " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:RegistrationLogIndexer.java
示例17: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = PaymentFileLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<PaymentFile>() {
@Override
public void performAction(PaymentFile object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index PaymentFile " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:PaymentFileIndexer.java
示例18: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = DossierPartLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<DossierPart>() {
@Override
public void performAction(DossierPart object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index contact " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:DossierPartIndexer.java
示例19: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = DossierLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<Dossier>() {
@Override
public void performAction(Dossier object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index contact " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:DossierIndexer.java
示例20: reindex
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery; //导入依赖的package包/类
protected void reindex(long companyId) throws PortalException {
final IndexableActionableDynamicQuery indexableActionableDynamicQuery = ServiceProcessLocalServiceUtil
.getIndexableActionableDynamicQuery();
indexableActionableDynamicQuery.setCompanyId(companyId);
indexableActionableDynamicQuery
.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<ServiceProcess>() {
@Override
public void performAction(ServiceProcess object) {
try {
Document document = getDocument(object);
indexableActionableDynamicQuery.addDocuments(document);
} catch (PortalException pe) {
if (_log.isWarnEnabled()) {
_log.warn("Unable to index contact " + object.getPrimaryKey(), pe);
}
}
}
});
indexableActionableDynamicQuery.setSearchEngineId(getSearchEngineId());
indexableActionableDynamicQuery.performActions();
}
开发者ID:VietOpenCPS,项目名称:opencps-v2,代码行数:27,代码来源:ServiceProcessIndexer.java
注:本文中的com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论