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