1
22
23 package com.liferay.portlet.announcements.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface AnnouncementsFlagPersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.announcements.model.AnnouncementsFlag announcementsFlag);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsFlag> announcementsFlags);
46
47 public void clearCache();
48
49 public com.liferay.portlet.announcements.model.AnnouncementsFlag create(
50 long flagId);
51
52 public com.liferay.portlet.announcements.model.AnnouncementsFlag remove(
53 long flagId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.announcements.NoSuchFlagException;
56
57 public com.liferay.portlet.announcements.model.AnnouncementsFlag remove(
58 com.liferay.portlet.announcements.model.AnnouncementsFlag announcementsFlag)
59 throws com.liferay.portal.SystemException;
60
61
64 public com.liferay.portlet.announcements.model.AnnouncementsFlag update(
65 com.liferay.portlet.announcements.model.AnnouncementsFlag announcementsFlag)
66 throws com.liferay.portal.SystemException;
67
68
80 public com.liferay.portlet.announcements.model.AnnouncementsFlag update(
81 com.liferay.portlet.announcements.model.AnnouncementsFlag announcementsFlag,
82 boolean merge) throws com.liferay.portal.SystemException;
83
84 public com.liferay.portlet.announcements.model.AnnouncementsFlag updateImpl(
85 com.liferay.portlet.announcements.model.AnnouncementsFlag announcementsFlag,
86 boolean merge) throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.announcements.model.AnnouncementsFlag findByPrimaryKey(
89 long flagId)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.announcements.NoSuchFlagException;
92
93 public com.liferay.portlet.announcements.model.AnnouncementsFlag fetchByPrimaryKey(
94 long flagId) throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsFlag> findByEntryId(
97 long entryId) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsFlag> findByEntryId(
100 long entryId, int start, int end)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsFlag> findByEntryId(
104 long entryId, int start, int end,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException;
107
108 public com.liferay.portlet.announcements.model.AnnouncementsFlag findByEntryId_First(
109 long entryId, com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.announcements.NoSuchFlagException;
112
113 public com.liferay.portlet.announcements.model.AnnouncementsFlag findByEntryId_Last(
114 long entryId, com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.announcements.NoSuchFlagException;
117
118 public com.liferay.portlet.announcements.model.AnnouncementsFlag[] findByEntryId_PrevAndNext(
119 long flagId, long entryId,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portlet.announcements.NoSuchFlagException;
123
124 public com.liferay.portlet.announcements.model.AnnouncementsFlag findByU_E_V(
125 long userId, long entryId, int value)
126 throws com.liferay.portal.SystemException,
127 com.liferay.portlet.announcements.NoSuchFlagException;
128
129 public com.liferay.portlet.announcements.model.AnnouncementsFlag fetchByU_E_V(
130 long userId, long entryId, int value)
131 throws com.liferay.portal.SystemException;
132
133 public com.liferay.portlet.announcements.model.AnnouncementsFlag fetchByU_E_V(
134 long userId, long entryId, int value, boolean retrieveFromCache)
135 throws com.liferay.portal.SystemException;
136
137 public java.util.List<Object> findWithDynamicQuery(
138 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
139 throws com.liferay.portal.SystemException;
140
141 public java.util.List<Object> findWithDynamicQuery(
142 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
143 int end) throws com.liferay.portal.SystemException;
144
145 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsFlag> findAll()
146 throws com.liferay.portal.SystemException;
147
148 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsFlag> findAll(
149 int start, int end) throws com.liferay.portal.SystemException;
150
151 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsFlag> findAll(
152 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
153 throws com.liferay.portal.SystemException;
154
155 public void removeByEntryId(long entryId)
156 throws com.liferay.portal.SystemException;
157
158 public void removeByU_E_V(long userId, long entryId, int value)
159 throws com.liferay.portal.SystemException,
160 com.liferay.portlet.announcements.NoSuchFlagException;
161
162 public void removeAll() throws com.liferay.portal.SystemException;
163
164 public int countByEntryId(long entryId)
165 throws com.liferay.portal.SystemException;
166
167 public int countByU_E_V(long userId, long entryId, int value)
168 throws com.liferay.portal.SystemException;
169
170 public int countAll() throws com.liferay.portal.SystemException;
171 }