List of usage examples for com.liferay.portal.kernel.workflow WorkflowConstants STATUS_ANY
int STATUS_ANY
To view the source code for com.liferay.portal.kernel.workflow WorkflowConstants STATUS_ANY.
Click Source Link
From source file:com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl.java
License:Open Source License
public List<BlogsEntry> getCompanyEntries(long companyId, Date displayDate, int status, int start, int end, OrderByComparator obc) throws SystemException { if (status == WorkflowConstants.STATUS_ANY) { return blogsEntryPersistence.findByC_LtD(companyId, displayDate, start, end, obc); } else {/*from ww w . j a va 2s. c o m*/ return blogsEntryPersistence.findByC_LtD_S(companyId, displayDate, status, start, end, obc); } }
From source file:com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl.java
License:Open Source License
public int getCompanyEntriesCount(long companyId, Date displayDate, int status) throws SystemException { if (status == WorkflowConstants.STATUS_ANY) { return blogsEntryPersistence.countByC_LtD(companyId, displayDate); } else {//from w ww . ja v a2 s .c o m return blogsEntryPersistence.countByC_LtD_S(companyId, displayDate, status); } }
From source file:com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl.java
License:Open Source License
public List<BlogsEntry> getGroupEntries(long groupId, Date displayDate, int status, int start, int end) throws SystemException { if (status == WorkflowConstants.STATUS_ANY) { return blogsEntryPersistence.findByG_LtD(groupId, displayDate, start, end); } else {//from ww w.jav a 2 s . c om return blogsEntryPersistence.findByG_LtD_S(groupId, displayDate, status, start, end); } }
From source file:com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl.java
License:Open Source License
public List<BlogsEntry> getGroupEntries(long groupId, Date displayDate, int status, int start, int end, OrderByComparator obc) throws SystemException { if (status == WorkflowConstants.STATUS_ANY) { return blogsEntryPersistence.findByG_LtD(groupId, displayDate, start, end, obc); } else {/*from ww w. j av a 2 s .com*/ return blogsEntryPersistence.findByG_LtD_S(groupId, displayDate, status, start, end, obc); } }
From source file:com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl.java
License:Open Source License
public List<BlogsEntry> getGroupEntries(long groupId, int status, int start, int end) throws SystemException { if (status == WorkflowConstants.STATUS_ANY) { return blogsEntryPersistence.findByGroupId(groupId, start, end); } else {//from w w w . j a v a2s . com return blogsEntryPersistence.findByG_S(groupId, status, start, end); } }
From source file:com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl.java
License:Open Source License
public List<BlogsEntry> getGroupEntries(long groupId, int status, int start, int end, OrderByComparator obc) throws SystemException { if (status == WorkflowConstants.STATUS_ANY) { return blogsEntryPersistence.findByGroupId(groupId, start, end, obc); } else {//from ww w . j av a 2s. c o m return blogsEntryPersistence.findByG_S(groupId, status, start, end, obc); } }
From source file:com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl.java
License:Open Source License
public int getGroupEntriesCount(long groupId, Date displayDate, int status) throws SystemException { if (status == WorkflowConstants.STATUS_ANY) { return blogsEntryPersistence.countByG_LtD(groupId, displayDate); } else {//from ww w .jav a2 s . co m return blogsEntryPersistence.countByG_LtD_S(groupId, displayDate, status); } }
From source file:com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl.java
License:Open Source License
public int getGroupEntriesCount(long groupId, int status) throws SystemException { if (status == WorkflowConstants.STATUS_ANY) { return blogsEntryPersistence.countByGroupId(groupId); } else {//from w w w .j av a2 s. c o m return blogsEntryPersistence.countByG_S(groupId, status); } }
From source file:com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl.java
License:Open Source License
public List<BlogsEntry> getGroupUserEntries(long groupId, long userId, Date displayDate, int status, int start, int end) throws SystemException { if (status == WorkflowConstants.STATUS_ANY) { return blogsEntryPersistence.findByG_U_LtD(groupId, userId, displayDate, start, end); } else {//from w w w.ja v a2 s. c o m return blogsEntryPersistence.findByG_U_LtD_S(groupId, userId, displayDate, status, start, end); } }
From source file:com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl.java
License:Open Source License
public List<BlogsEntry> getGroupUserEntries(long groupId, long userId, Date displayDate, int status, int start, int end, OrderByComparator obc) throws SystemException { if (status == WorkflowConstants.STATUS_ANY) { return blogsEntryPersistence.findByG_U_LtD(groupId, userId, displayDate, start, end, obc); } else {//from ww w . jav a2 s . c o m return blogsEntryPersistence.findByG_U_LtD_S(groupId, userId, displayDate, status, start, end, obc); } }