1
14
15 package com.liferay.portlet.ratings.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.ratings.model.RatingsStats;
20
21
34 public interface RatingsStatsPersistence extends BasePersistence<RatingsStats> {
35 public void cacheResult(
36 com.liferay.portlet.ratings.model.RatingsStats ratingsStats);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.ratings.model.RatingsStats> ratingsStatses);
40
41 public com.liferay.portlet.ratings.model.RatingsStats create(long statsId);
42
43 public com.liferay.portlet.ratings.model.RatingsStats remove(long statsId)
44 throws com.liferay.portal.SystemException,
45 com.liferay.portlet.ratings.NoSuchStatsException;
46
47
50 public com.liferay.portlet.ratings.model.RatingsStats update(
51 com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
52 throws com.liferay.portal.SystemException;
53
54 public com.liferay.portlet.ratings.model.RatingsStats updateImpl(
55 com.liferay.portlet.ratings.model.RatingsStats ratingsStats,
56 boolean merge) throws com.liferay.portal.SystemException;
57
58 public com.liferay.portlet.ratings.model.RatingsStats findByPrimaryKey(
59 long statsId)
60 throws com.liferay.portal.SystemException,
61 com.liferay.portlet.ratings.NoSuchStatsException;
62
63 public com.liferay.portlet.ratings.model.RatingsStats fetchByPrimaryKey(
64 long statsId) throws com.liferay.portal.SystemException;
65
66 public com.liferay.portlet.ratings.model.RatingsStats findByC_C(
67 long classNameId, long classPK)
68 throws com.liferay.portal.SystemException,
69 com.liferay.portlet.ratings.NoSuchStatsException;
70
71 public com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(
72 long classNameId, long classPK)
73 throws com.liferay.portal.SystemException;
74
75 public com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(
76 long classNameId, long classPK, boolean retrieveFromCache)
77 throws com.liferay.portal.SystemException;
78
79 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll()
80 throws com.liferay.portal.SystemException;
81
82 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll(
83 int start, int end) throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll(
86 int start, int end,
87 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
88 throws com.liferay.portal.SystemException;
89
90 public void removeByC_C(long classNameId, long classPK)
91 throws com.liferay.portal.SystemException,
92 com.liferay.portlet.ratings.NoSuchStatsException;
93
94 public void removeAll() throws com.liferay.portal.SystemException;
95
96 public int countByC_C(long classNameId, long classPK)
97 throws com.liferay.portal.SystemException;
98
99 public int countAll() throws com.liferay.portal.SystemException;
100 }