1
22
23 package com.liferay.portlet.ratings.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27 import com.liferay.portlet.ratings.model.RatingsStats;
28
29
42 public interface RatingsStatsPersistence extends BasePersistence<RatingsStats> {
43 public void cacheResult(
44 com.liferay.portlet.ratings.model.RatingsStats ratingsStats);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.ratings.model.RatingsStats> ratingsStatses);
48
49 public com.liferay.portlet.ratings.model.RatingsStats create(long statsId);
50
51 public com.liferay.portlet.ratings.model.RatingsStats remove(long statsId)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.ratings.NoSuchStatsException;
54
55
58 public com.liferay.portlet.ratings.model.RatingsStats update(
59 com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
60 throws com.liferay.portal.SystemException;
61
62 public com.liferay.portlet.ratings.model.RatingsStats updateImpl(
63 com.liferay.portlet.ratings.model.RatingsStats ratingsStats,
64 boolean merge) throws com.liferay.portal.SystemException;
65
66 public com.liferay.portlet.ratings.model.RatingsStats findByPrimaryKey(
67 long statsId)
68 throws com.liferay.portal.SystemException,
69 com.liferay.portlet.ratings.NoSuchStatsException;
70
71 public com.liferay.portlet.ratings.model.RatingsStats fetchByPrimaryKey(
72 long statsId) throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.ratings.model.RatingsStats findByC_C(
75 long classNameId, long classPK)
76 throws com.liferay.portal.SystemException,
77 com.liferay.portlet.ratings.NoSuchStatsException;
78
79 public com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(
80 long classNameId, long classPK)
81 throws com.liferay.portal.SystemException;
82
83 public com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(
84 long classNameId, long classPK, boolean retrieveFromCache)
85 throws com.liferay.portal.SystemException;
86
87 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll()
88 throws com.liferay.portal.SystemException;
89
90 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll(
91 int start, int end) throws com.liferay.portal.SystemException;
92
93 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll(
94 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException;
96
97 public void removeByC_C(long classNameId, long classPK)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portlet.ratings.NoSuchStatsException;
100
101 public void removeAll() throws com.liferay.portal.SystemException;
102
103 public int countByC_C(long classNameId, long classPK)
104 throws com.liferay.portal.SystemException;
105
106 public int countAll() throws com.liferay.portal.SystemException;
107 }