1
14
15 package com.liferay.portlet.polls.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.polls.model.PollsQuestion;
20
21
34 public interface PollsQuestionPersistence extends BasePersistence<PollsQuestion> {
35 public void cacheResult(
36 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.polls.model.PollsQuestion> pollsQuestions);
40
41 public com.liferay.portlet.polls.model.PollsQuestion create(long questionId);
42
43 public com.liferay.portlet.polls.model.PollsQuestion remove(long questionId)
44 throws com.liferay.portal.SystemException,
45 com.liferay.portlet.polls.NoSuchQuestionException;
46
47
50 public com.liferay.portlet.polls.model.PollsQuestion update(
51 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
52 throws com.liferay.portal.SystemException;
53
54 public com.liferay.portlet.polls.model.PollsQuestion updateImpl(
55 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion,
56 boolean merge) throws com.liferay.portal.SystemException;
57
58 public com.liferay.portlet.polls.model.PollsQuestion findByPrimaryKey(
59 long questionId)
60 throws com.liferay.portal.SystemException,
61 com.liferay.portlet.polls.NoSuchQuestionException;
62
63 public com.liferay.portlet.polls.model.PollsQuestion fetchByPrimaryKey(
64 long questionId) throws com.liferay.portal.SystemException;
65
66 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> findByUuid(
67 java.lang.String uuid) throws com.liferay.portal.SystemException;
68
69 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> findByUuid(
70 java.lang.String uuid, int start, int end)
71 throws com.liferay.portal.SystemException;
72
73 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> findByUuid(
74 java.lang.String uuid, int start, int end,
75 com.liferay.portal.kernel.util.OrderByComparator obc)
76 throws com.liferay.portal.SystemException;
77
78 public com.liferay.portlet.polls.model.PollsQuestion findByUuid_First(
79 java.lang.String uuid,
80 com.liferay.portal.kernel.util.OrderByComparator obc)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.polls.NoSuchQuestionException;
83
84 public com.liferay.portlet.polls.model.PollsQuestion findByUuid_Last(
85 java.lang.String uuid,
86 com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.polls.NoSuchQuestionException;
89
90 public com.liferay.portlet.polls.model.PollsQuestion[] findByUuid_PrevAndNext(
91 long questionId, java.lang.String uuid,
92 com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.polls.NoSuchQuestionException;
95
96 public com.liferay.portlet.polls.model.PollsQuestion findByUUID_G(
97 java.lang.String uuid, long groupId)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portlet.polls.NoSuchQuestionException;
100
101 public com.liferay.portlet.polls.model.PollsQuestion fetchByUUID_G(
102 java.lang.String uuid, long groupId)
103 throws com.liferay.portal.SystemException;
104
105 public com.liferay.portlet.polls.model.PollsQuestion fetchByUUID_G(
106 java.lang.String uuid, long groupId, boolean retrieveFromCache)
107 throws com.liferay.portal.SystemException;
108
109 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> findByGroupId(
110 long groupId) throws com.liferay.portal.SystemException;
111
112 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> findByGroupId(
113 long groupId, int start, int end)
114 throws com.liferay.portal.SystemException;
115
116 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> findByGroupId(
117 long groupId, int start, int end,
118 com.liferay.portal.kernel.util.OrderByComparator obc)
119 throws com.liferay.portal.SystemException;
120
121 public com.liferay.portlet.polls.model.PollsQuestion findByGroupId_First(
122 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.polls.NoSuchQuestionException;
125
126 public com.liferay.portlet.polls.model.PollsQuestion findByGroupId_Last(
127 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.polls.NoSuchQuestionException;
130
131 public com.liferay.portlet.polls.model.PollsQuestion[] findByGroupId_PrevAndNext(
132 long questionId, long groupId,
133 com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.SystemException,
135 com.liferay.portlet.polls.NoSuchQuestionException;
136
137 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> findAll()
138 throws com.liferay.portal.SystemException;
139
140 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> findAll(
141 int start, int end) throws com.liferay.portal.SystemException;
142
143 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> findAll(
144 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.SystemException;
146
147 public void removeByUuid(java.lang.String uuid)
148 throws com.liferay.portal.SystemException;
149
150 public void removeByUUID_G(java.lang.String uuid, long groupId)
151 throws com.liferay.portal.SystemException,
152 com.liferay.portlet.polls.NoSuchQuestionException;
153
154 public void removeByGroupId(long groupId)
155 throws com.liferay.portal.SystemException;
156
157 public void removeAll() throws com.liferay.portal.SystemException;
158
159 public int countByUuid(java.lang.String uuid)
160 throws com.liferay.portal.SystemException;
161
162 public int countByUUID_G(java.lang.String uuid, long groupId)
163 throws com.liferay.portal.SystemException;
164
165 public int countByGroupId(long groupId)
166 throws com.liferay.portal.SystemException;
167
168 public int countAll() throws com.liferay.portal.SystemException;
169 }