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