use of com.liferay.portal.kernel.dao.orm.Property in project liferay-ide by liferay.
the class ArtistExportActionableDynamicQuery method addCriteria.
@Override
protected void addCriteria(DynamicQuery dynamicQuery) {
_portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate");
StagedModelDataHandler<?> stagedModelDataHandler = StagedModelDataHandlerRegistryUtil.getStagedModelDataHandler(Artist.class.getName());
Property workflowStatusProperty = PropertyFactoryUtil.forName("status");
dynamicQuery.add(workflowStatusProperty.in(stagedModelDataHandler.getExportableStatuses()));
}
use of com.liferay.portal.kernel.dao.orm.Property in project liferay-ide by liferay.
the class SongExportActionableDynamicQuery method addCriteria.
@Override
protected void addCriteria(DynamicQuery dynamicQuery) {
_portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate");
StagedModelDataHandler<?> stagedModelDataHandler = StagedModelDataHandlerRegistryUtil.getStagedModelDataHandler(Song.class.getName());
Property workflowStatusProperty = PropertyFactoryUtil.forName("status");
dynamicQuery.add(workflowStatusProperty.in(stagedModelDataHandler.getExportableStatuses()));
}
use of com.liferay.portal.kernel.dao.orm.Property in project liferay-ide by liferay.
the class KBArticleExportActionableDynamicQuery method addCriteria.
@Override
protected void addCriteria(DynamicQuery dynamicQuery) {
_portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate");
StagedModelDataHandler<?> stagedModelDataHandler = StagedModelDataHandlerRegistryUtil.getStagedModelDataHandler(KBArticle.class.getName());
Property workflowStatusProperty = PropertyFactoryUtil.forName("status");
dynamicQuery.add(workflowStatusProperty.in(stagedModelDataHandler.getExportableStatuses()));
}
Aggregations