1
22
23 package com.liferay.portlet.softwarecatalog.service.persistence;
24
25
31 public interface SCProductVersionPersistence {
32 public com.liferay.portlet.softwarecatalog.model.SCProductVersion create(
33 long productVersionId);
34
35 public com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(
36 long productVersionId)
37 throws com.liferay.portal.SystemException,
38 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
39
40 public com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(
41 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
42 throws com.liferay.portal.SystemException;
43
44 public com.liferay.portlet.softwarecatalog.model.SCProductVersion update(
45 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
46 throws com.liferay.portal.SystemException;
47
48 public com.liferay.portlet.softwarecatalog.model.SCProductVersion update(
49 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
50 boolean merge) throws com.liferay.portal.SystemException;
51
52 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByPrimaryKey(
53 long productVersionId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
56
57 public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByPrimaryKey(
58 long productVersionId) throws com.liferay.portal.SystemException;
59
60 public java.util.List findByProductEntryId(long productEntryId)
61 throws com.liferay.portal.SystemException;
62
63 public java.util.List findByProductEntryId(long productEntryId, int begin,
64 int end) throws com.liferay.portal.SystemException;
65
66 public java.util.List findByProductEntryId(long productEntryId, int begin,
67 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
68 throws com.liferay.portal.SystemException;
69
70 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_First(
71 long productEntryId,
72 com.liferay.portal.kernel.util.OrderByComparator obc)
73 throws com.liferay.portal.SystemException,
74 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
75
76 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_Last(
77 long productEntryId,
78 com.liferay.portal.kernel.util.OrderByComparator obc)
79 throws com.liferay.portal.SystemException,
80 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
81
82 public com.liferay.portlet.softwarecatalog.model.SCProductVersion[] findByProductEntryId_PrevAndNext(
83 long productVersionId, long productEntryId,
84 com.liferay.portal.kernel.util.OrderByComparator obc)
85 throws com.liferay.portal.SystemException,
86 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
87
88 public java.util.List findWithDynamicQuery(
89 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
90 throws com.liferay.portal.SystemException;
91
92 public java.util.List findWithDynamicQuery(
93 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
94 int begin, int end) throws com.liferay.portal.SystemException;
95
96 public java.util.List findAll() throws com.liferay.portal.SystemException;
97
98 public java.util.List findAll(int begin, int end)
99 throws com.liferay.portal.SystemException;
100
101 public java.util.List findAll(int begin, int end,
102 com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.SystemException;
104
105 public void removeByProductEntryId(long productEntryId)
106 throws com.liferay.portal.SystemException;
107
108 public void removeAll() throws com.liferay.portal.SystemException;
109
110 public int countByProductEntryId(long productEntryId)
111 throws com.liferay.portal.SystemException;
112
113 public int countAll() throws com.liferay.portal.SystemException;
114
115 public java.util.List getSCFrameworkVersions(long pk)
116 throws com.liferay.portal.SystemException,
117 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
118
119 public java.util.List getSCFrameworkVersions(long pk, int begin, int end)
120 throws com.liferay.portal.SystemException,
121 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
122
123 public java.util.List getSCFrameworkVersions(long pk, int begin, int end,
124 com.liferay.portal.kernel.util.OrderByComparator obc)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
127
128 public int getSCFrameworkVersionsSize(long pk)
129 throws com.liferay.portal.SystemException;
130
131 public boolean containsSCFrameworkVersion(long pk, long scFrameworkVersionPK)
132 throws com.liferay.portal.SystemException;
133
134 public boolean containsSCFrameworkVersions(long pk)
135 throws com.liferay.portal.SystemException;
136
137 public void addSCFrameworkVersion(long pk, long scFrameworkVersionPK)
138 throws com.liferay.portal.SystemException,
139 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
140 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
141
142 public void addSCFrameworkVersion(long pk,
143 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
144 throws com.liferay.portal.SystemException,
145 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
146 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
147
148 public void addSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
149 throws com.liferay.portal.SystemException,
150 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
151 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
152
153 public void addSCFrameworkVersions(long pk,
154 java.util.List scFrameworkVersions)
155 throws com.liferay.portal.SystemException,
156 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
157 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
158
159 public void clearSCFrameworkVersions(long pk)
160 throws com.liferay.portal.SystemException,
161 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
162
163 public void removeSCFrameworkVersion(long pk, long scFrameworkVersionPK)
164 throws com.liferay.portal.SystemException,
165 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
166 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
167
168 public void removeSCFrameworkVersion(long pk,
169 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
170 throws com.liferay.portal.SystemException,
171 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
172 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
173
174 public void removeSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
175 throws com.liferay.portal.SystemException,
176 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
177 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
178
179 public void removeSCFrameworkVersions(long pk,
180 java.util.List scFrameworkVersions)
181 throws com.liferay.portal.SystemException,
182 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
183 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
184
185 public void setSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
186 throws com.liferay.portal.SystemException,
187 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
188 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
189
190 public void setSCFrameworkVersions(long pk,
191 java.util.List scFrameworkVersions)
192 throws com.liferay.portal.SystemException,
193 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
194 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
195 }