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