001
014
015 package com.liferay.portlet.messageboards.service.persistence;
016
017 import aQute.bnd.annotation.ProviderType;
018
019
022 @ProviderType
023 public interface MBThreadFinder {
024 public int countByG_U(long groupId, long userId,
025 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
026 throws com.liferay.portal.kernel.exception.SystemException;
027
028 public int countByG_C(long groupId, long categoryId,
029 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
030 throws com.liferay.portal.kernel.exception.SystemException;
031
032 public int countByG_U_C(long groupId, long userId, long[] categoryIds,
033 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
034 throws com.liferay.portal.kernel.exception.SystemException;
035
036 public int countByG_U_LPD(long groupId, long userId,
037 java.util.Date lastPostDate,
038 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
039 throws com.liferay.portal.kernel.exception.SystemException;
040
041 public int countByG_U_A(long groupId, long userId, boolean anonymous,
042 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
043 throws com.liferay.portal.kernel.exception.SystemException;
044
045 public int countByS_G_U(long groupId, long userId,
046 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
047 throws com.liferay.portal.kernel.exception.SystemException;
048
049 public int countByG_U_C_A(long groupId, long userId, long[] categoryIds,
050 boolean anonymous,
051 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
052 throws com.liferay.portal.kernel.exception.SystemException;
053
054 public int countByS_G_U_C(long groupId, long userId, long[] categoryIds,
055 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
056 throws com.liferay.portal.kernel.exception.SystemException;
057
058 public int filterCountByG_C(long groupId, long categoryId)
059 throws com.liferay.portal.kernel.exception.SystemException;
060
061 public int filterCountByG_C(long groupId, long categoryId,
062 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
063 throws com.liferay.portal.kernel.exception.SystemException;
064
065 public int filterCountByS_G_U_C(long groupId, long userId,
066 long[] categoryIds,
067 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
068 throws com.liferay.portal.kernel.exception.SystemException;
069
070 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByG_C(
071 long groupId, long categoryId, int start, int end)
072 throws com.liferay.portal.kernel.exception.SystemException;
073
074 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByG_C(
075 long groupId, long categoryId,
076 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
077 throws com.liferay.portal.kernel.exception.SystemException;
078
079 public com.liferay.portlet.messageboards.model.MBThread[] filterFindByG_C_S_PrevAndNext(
080 long threadId, long groupId, long categoryId, int status,
081 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
082 throws com.liferay.portal.kernel.exception.SystemException,
083 com.liferay.portlet.messageboards.NoSuchThreadException;
084
085 public com.liferay.portlet.messageboards.model.MBThread[] filterFindByG_C_NotS_PrevAndNext(
086 long threadId, long groupId, long categoryId, int status,
087 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
088 throws com.liferay.portal.kernel.exception.SystemException,
089 com.liferay.portlet.messageboards.NoSuchThreadException;
090
091 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByS_G_U_C(
092 long groupId, long userId, long[] categoryIds,
093 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
094 throws com.liferay.portal.kernel.exception.SystemException;
095
096 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByNoAssets()
097 throws com.liferay.portal.kernel.exception.SystemException;
098
099 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U(
100 long groupId, long userId,
101 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
102 throws com.liferay.portal.kernel.exception.SystemException;
103
104 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C(
105 long groupId, long categoryId,
106 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
107 throws com.liferay.portal.kernel.exception.SystemException;
108
109 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U_C(
110 long groupId, long userId, long[] categoryIds,
111 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
112 throws com.liferay.portal.kernel.exception.SystemException;
113
114 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U_LPD(
115 long groupId, long userId, java.util.Date lastPostDate,
116 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
117 throws com.liferay.portal.kernel.exception.SystemException;
118
119 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U_A(
120 long groupId, long userId, boolean anonymous,
121 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
122 throws com.liferay.portal.kernel.exception.SystemException;
123
124 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByS_G_U(
125 long groupId, long userId,
126 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
127 throws com.liferay.portal.kernel.exception.SystemException;
128
129 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U_C_A(
130 long groupId, long userId, long[] categoryIds, boolean anonymous,
131 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
132 throws com.liferay.portal.kernel.exception.SystemException;
133
134 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByS_G_U_C(
135 long groupId, long userId, long[] categoryIds,
136 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
137 throws com.liferay.portal.kernel.exception.SystemException;
138 }