com.liferay.portlet.messageboards.service.persistence
Interface MBThreadPersistence
- All Known Implementing Classes:
- MBThreadPersistenceImpl
- public interface MBThreadPersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByCategoryId(long categoryId)
|
com.liferay.portlet.messageboards.model.MBThread |
create(long threadId)
|
com.liferay.portlet.messageboards.model.MBThread |
fetchByPrimaryKey(long threadId)
|
java.util.List |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.messageboards.model.MBThread |
findByCategoryId_First(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.messageboards.model.MBThread |
findByCategoryId_Last(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.messageboards.model.MBThread[] |
findByCategoryId_PrevAndNext(long threadId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByCategoryId(long categoryId)
|
java.util.List |
findByCategoryId(long categoryId,
int begin,
int end)
|
java.util.List |
findByCategoryId(long categoryId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.messageboards.model.MBThread |
findByPrimaryKey(long threadId)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
com.liferay.portlet.messageboards.model.MBThread |
remove(long threadId)
|
com.liferay.portlet.messageboards.model.MBThread |
remove(com.liferay.portlet.messageboards.model.MBThread mbThread)
|
void |
removeAll()
|
void |
removeByCategoryId(long categoryId)
|
com.liferay.portlet.messageboards.model.MBThread |
update(com.liferay.portlet.messageboards.model.MBThread mbThread)
|
com.liferay.portlet.messageboards.model.MBThread |
update(com.liferay.portlet.messageboards.model.MBThread mbThread,
boolean merge)
|
create
public com.liferay.portlet.messageboards.model.MBThread create(long threadId)
remove
public com.liferay.portlet.messageboards.model.MBThread remove(long threadId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.messageboards.NoSuchThreadException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchThreadException
remove
public com.liferay.portlet.messageboards.model.MBThread remove(com.liferay.portlet.messageboards.model.MBThread mbThread)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.messageboards.model.MBThread update(com.liferay.portlet.messageboards.model.MBThread mbThread)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.messageboards.model.MBThread update(com.liferay.portlet.messageboards.model.MBThread mbThread,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portlet.messageboards.model.MBThread findByPrimaryKey(long threadId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.messageboards.NoSuchThreadException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchThreadException
fetchByPrimaryKey
public com.liferay.portlet.messageboards.model.MBThread fetchByPrimaryKey(long threadId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCategoryId
public java.util.List findByCategoryId(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCategoryId
public java.util.List findByCategoryId(long categoryId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCategoryId
public java.util.List findByCategoryId(long categoryId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCategoryId_First
public com.liferay.portlet.messageboards.model.MBThread findByCategoryId_First(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.messageboards.NoSuchThreadException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchThreadException
findByCategoryId_Last
public com.liferay.portlet.messageboards.model.MBThread findByCategoryId_Last(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.messageboards.NoSuchThreadException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchThreadException
findByCategoryId_PrevAndNext
public com.liferay.portlet.messageboards.model.MBThread[] findByCategoryId_PrevAndNext(long threadId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.messageboards.NoSuchThreadException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchThreadException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCategoryId
public void removeByCategoryId(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCategoryId
public int countByCategoryId(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException