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