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 obc)
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 obc)
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 obc)
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 obc)
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, com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.kernel.exception.SystemException;
117
118 public void removeByProductEntryId(long productEntryId)
119 throws com.liferay.portal.kernel.exception.SystemException;
120
121 public void removeByDirectDownloadURL(java.lang.String directDownloadURL)
122 throws com.liferay.portal.kernel.exception.SystemException,
123 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
124
125 public void removeAll()
126 throws com.liferay.portal.kernel.exception.SystemException;
127
128 public int countByProductEntryId(long productEntryId)
129 throws com.liferay.portal.kernel.exception.SystemException;
130
131 public int countByDirectDownloadURL(java.lang.String directDownloadURL)
132 throws com.liferay.portal.kernel.exception.SystemException;
133
134 public int countAll()
135 throws com.liferay.portal.kernel.exception.SystemException;
136
137 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
138 long pk) throws com.liferay.portal.kernel.exception.SystemException;
139
140 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
141 long pk, int start, int end)
142 throws com.liferay.portal.kernel.exception.SystemException;
143
144 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
145 long pk, int start, int end,
146 com.liferay.portal.kernel.util.OrderByComparator obc)
147 throws com.liferay.portal.kernel.exception.SystemException;
148
149 public int getSCFrameworkVersionsSize(long pk)
150 throws com.liferay.portal.kernel.exception.SystemException;
151
152 public boolean containsSCFrameworkVersion(long pk, long scFrameworkVersionPK)
153 throws com.liferay.portal.kernel.exception.SystemException;
154
155 public boolean containsSCFrameworkVersions(long pk)
156 throws com.liferay.portal.kernel.exception.SystemException;
157
158 public void addSCFrameworkVersion(long pk, long scFrameworkVersionPK)
159 throws com.liferay.portal.kernel.exception.SystemException;
160
161 public void addSCFrameworkVersion(long pk,
162 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
163 throws com.liferay.portal.kernel.exception.SystemException;
164
165 public void addSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
166 throws com.liferay.portal.kernel.exception.SystemException;
167
168 public void addSCFrameworkVersions(long pk,
169 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
170 throws com.liferay.portal.kernel.exception.SystemException;
171
172 public void clearSCFrameworkVersions(long pk)
173 throws com.liferay.portal.kernel.exception.SystemException;
174
175 public void removeSCFrameworkVersion(long pk, long scFrameworkVersionPK)
176 throws com.liferay.portal.kernel.exception.SystemException;
177
178 public void removeSCFrameworkVersion(long pk,
179 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
180 throws com.liferay.portal.kernel.exception.SystemException;
181
182 public void removeSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
183 throws com.liferay.portal.kernel.exception.SystemException;
184
185 public void removeSCFrameworkVersions(long pk,
186 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
187 throws com.liferay.portal.kernel.exception.SystemException;
188
189 public void setSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
190 throws com.liferay.portal.kernel.exception.SystemException;
191
192 public void setSCFrameworkVersions(long pk,
193 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
194 throws com.liferay.portal.kernel.exception.SystemException;
195 }