1
22
23 package com.liferay.portlet.softwarecatalog.service;
24
25
26
50 public interface SCProductEntryLocalService {
51 public com.liferay.portlet.softwarecatalog.model.SCProductEntry addSCProductEntry(
52 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portlet.softwarecatalog.model.SCProductEntry createSCProductEntry(
56 long productEntryId);
57
58 public void deleteSCProductEntry(long productEntryId)
59 throws com.liferay.portal.SystemException,
60 com.liferay.portal.PortalException;
61
62 public void deleteSCProductEntry(
63 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
64 throws com.liferay.portal.SystemException;
65
66 public java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72 int end) throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.softwarecatalog.model.SCProductEntry getSCProductEntry(
75 long productEntryId)
76 throws com.liferay.portal.SystemException,
77 com.liferay.portal.PortalException;
78
79 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
80 int start, int end) throws com.liferay.portal.SystemException;
81
82 public int getSCProductEntriesCount()
83 throws com.liferay.portal.SystemException;
84
85 public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
86 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
87 throws com.liferay.portal.SystemException;
88
89 public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
90 long userId, long plid, java.lang.String name, java.lang.String type,
91 java.lang.String tags, java.lang.String shortDescription,
92 java.lang.String longDescription, java.lang.String pageURL,
93 java.lang.String author, java.lang.String repoGroupId,
94 java.lang.String repoArtifactId, long[] licenseIds,
95 java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
96 boolean addCommunityPermissions, boolean addGuestPermissions)
97 throws com.liferay.portal.PortalException,
98 com.liferay.portal.SystemException;
99
100 public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
101 long userId, long plid, java.lang.String name, java.lang.String type,
102 java.lang.String tags, java.lang.String shortDescription,
103 java.lang.String longDescription, java.lang.String pageURL,
104 java.lang.String author, java.lang.String repoGroupId,
105 java.lang.String repoArtifactId, long[] licenseIds,
106 java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
107 java.lang.String[] communityPermissions,
108 java.lang.String[] guestPermissions)
109 throws com.liferay.portal.PortalException,
110 com.liferay.portal.SystemException;
111
112 public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
113 long userId, long plid, java.lang.String name, java.lang.String type,
114 java.lang.String tags, java.lang.String shortDescription,
115 java.lang.String longDescription, java.lang.String pageURL,
116 java.lang.String author, java.lang.String repoGroupId,
117 java.lang.String repoArtifactId, long[] licenseIds,
118 java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
119 java.lang.Boolean addCommunityPermissions,
120 java.lang.Boolean addGuestPermissions,
121 java.lang.String[] communityPermissions,
122 java.lang.String[] guestPermissions)
123 throws com.liferay.portal.PortalException,
124 com.liferay.portal.SystemException;
125
126 public void addProductEntryResources(long productEntryId,
127 boolean addCommunityPermissions, boolean addGuestPermissions)
128 throws com.liferay.portal.PortalException,
129 com.liferay.portal.SystemException;
130
131 public void addProductEntryResources(
132 com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
133 boolean addCommunityPermissions, boolean addGuestPermissions)
134 throws com.liferay.portal.PortalException,
135 com.liferay.portal.SystemException;
136
137 public void addProductEntryResources(long productEntryId,
138 java.lang.String[] communityPermissions,
139 java.lang.String[] guestPermissions)
140 throws com.liferay.portal.PortalException,
141 com.liferay.portal.SystemException;
142
143 public void addProductEntryResources(
144 com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
145 java.lang.String[] communityPermissions,
146 java.lang.String[] guestPermissions)
147 throws com.liferay.portal.PortalException,
148 com.liferay.portal.SystemException;
149
150 public void deleteProductEntries(long groupId)
151 throws com.liferay.portal.PortalException,
152 com.liferay.portal.SystemException;
153
154 public void deleteProductEntry(long productEntryId)
155 throws com.liferay.portal.PortalException,
156 com.liferay.portal.SystemException;
157
158 public void deleteProductEntry(
159 com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry)
160 throws com.liferay.portal.PortalException,
161 com.liferay.portal.SystemException;
162
163 public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
164 long productEntryId)
165 throws com.liferay.portal.PortalException,
166 com.liferay.portal.SystemException;
167
168 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
169 long groupId, int start, int end)
170 throws com.liferay.portal.SystemException;
171
172 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
173 long groupId, int start, int end,
174 com.liferay.portal.kernel.util.OrderByComparator obc)
175 throws com.liferay.portal.SystemException;
176
177 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
178 long groupId, long userId, int start, int end)
179 throws com.liferay.portal.SystemException;
180
181 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
182 long groupId, long userId, int start, int end,
183 com.liferay.portal.kernel.util.OrderByComparator obc)
184 throws com.liferay.portal.SystemException;
185
186 public int getProductEntriesCount(long groupId)
187 throws com.liferay.portal.SystemException;
188
189 public int getProductEntriesCount(long groupId, long userId)
190 throws com.liferay.portal.SystemException;
191
192 public java.lang.String getRepositoryXML(long groupId,
193 java.lang.String baseImageURL, java.util.Date oldestDate,
194 int maxNumOfVersions, java.util.Properties repoSettings)
195 throws com.liferay.portal.SystemException;
196
197 public java.lang.String getRepositoryXML(long groupId,
198 java.lang.String version, java.lang.String baseImageURL,
199 java.util.Date oldestDate, int maxNumOfVersions,
200 java.util.Properties repoSettings)
201 throws com.liferay.portal.SystemException;
202
203 public void reIndex(java.lang.String[] ids)
204 throws com.liferay.portal.SystemException;
205
206 public com.liferay.portal.kernel.search.Hits search(long companyId,
207 long groupId, java.lang.String keywords, java.lang.String type,
208 int start, int end) throws com.liferay.portal.SystemException;
209
210 public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
211 long productEntryId, java.lang.String name, java.lang.String type,
212 java.lang.String tags, java.lang.String shortDescription,
213 java.lang.String longDescription, java.lang.String pageURL,
214 java.lang.String author, java.lang.String repoGroupId,
215 java.lang.String repoArtifactId, long[] licenseIds,
216 java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
217 throws com.liferay.portal.PortalException,
218 com.liferay.portal.SystemException;
219 }