001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portlet.softwarecatalog.service;
022:
023: /**
024: * <a href="SCProductEntryLocalService.java.html"><b><i>View Source</i></b></a>
025: *
026: * <p>
027: * ServiceBuilder generated this class. Modifications in this class will be
028: * overwritten the next time is generated.
029: * </p>
030: *
031: * <p>
032: * This interface defines the service. The default implementation is
033: * <code>com.liferay.portlet.softwarecatalog.service.impl.SCProductEntryLocalServiceImpl</code>.
034: * Modify methods in that class and rerun ServiceBuilder to populate this class
035: * and all other generated classes.
036: * </p>
037: *
038: * <p>
039: * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
040: * </p>
041: *
042: * @author Brian Wing Shun Chan
043: *
044: * @see com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalServiceFactory
045: * @see com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalServiceUtil
046: *
047: */
048: public interface SCProductEntryLocalService {
049: public com.liferay.portlet.softwarecatalog.model.SCProductEntry addSCProductEntry(
050: com.liferay.portlet.softwarecatalog.model.SCProductEntry model)
051: throws com.liferay.portal.SystemException;
052:
053: public java.util.List dynamicQuery(
054: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
055: throws com.liferay.portal.SystemException;
056:
057: public java.util.List dynamicQuery(
058: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
059: int begin, int end)
060: throws com.liferay.portal.SystemException;
061:
062: public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
063: com.liferay.portlet.softwarecatalog.model.SCProductEntry model)
064: throws com.liferay.portal.SystemException;
065:
066: public com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence getSCLicensePersistence();
067:
068: public void setSCLicensePersistence(
069: com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence);
070:
071: public com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence getSCFrameworkVersionPersistence();
072:
073: public void setSCFrameworkVersionPersistence(
074: com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence);
075:
076: public com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence getSCProductEntryPersistence();
077:
078: public void setSCProductEntryPersistence(
079: com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence);
080:
081: public com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence getSCProductScreenshotPersistence();
082:
083: public void setSCProductScreenshotPersistence(
084: com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence);
085:
086: public com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence getSCProductVersionPersistence();
087:
088: public void setSCProductVersionPersistence(
089: com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence);
090:
091: public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence();
092:
093: public void setResourcePersistence(
094: com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence);
095:
096: public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder();
097:
098: public void setResourceFinder(
099: com.liferay.portal.service.persistence.ResourceFinder resourceFinder);
100:
101: public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
102:
103: public void setUserPersistence(
104: com.liferay.portal.service.persistence.UserPersistence userPersistence);
105:
106: public com.liferay.portal.service.persistence.UserFinder getUserFinder();
107:
108: public void setUserFinder(
109: com.liferay.portal.service.persistence.UserFinder userFinder);
110:
111: public com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence getMBMessagePersistence();
112:
113: public void setMBMessagePersistence(
114: com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence);
115:
116: public com.liferay.portlet.messageboards.service.persistence.MBMessageFinder getMBMessageFinder();
117:
118: public void setMBMessageFinder(
119: com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder);
120:
121: public com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence getRatingsStatsPersistence();
122:
123: public void setRatingsStatsPersistence(
124: com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence ratingsStatsPersistence);
125:
126: public void afterPropertiesSet();
127:
128: public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
129: long userId, long plid, java.lang.String name,
130: java.lang.String type, java.lang.String tags,
131: java.lang.String shortDescription,
132: java.lang.String longDescription, java.lang.String pageURL,
133: java.lang.String author, java.lang.String repoGroupId,
134: java.lang.String repoArtifactId, long[] licenseIds,
135: java.util.List thumbnails, java.util.List fullImages,
136: boolean addCommunityPermissions, boolean addGuestPermissions)
137: throws com.liferay.portal.SystemException,
138: com.liferay.portal.PortalException;
139:
140: public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
141: long userId, long plid, java.lang.String name,
142: java.lang.String type, java.lang.String tags,
143: java.lang.String shortDescription,
144: java.lang.String longDescription, java.lang.String pageURL,
145: java.lang.String author, java.lang.String repoGroupId,
146: java.lang.String repoArtifactId, long[] licenseIds,
147: java.util.List thumbnails, java.util.List fullImages,
148: java.lang.String[] communityPermissions,
149: java.lang.String[] guestPermissions)
150: throws com.liferay.portal.SystemException,
151: com.liferay.portal.PortalException;
152:
153: public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
154: long userId, long plid, java.lang.String name,
155: java.lang.String type, java.lang.String tags,
156: java.lang.String shortDescription,
157: java.lang.String longDescription, java.lang.String pageURL,
158: java.lang.String author, java.lang.String repoGroupId,
159: java.lang.String repoArtifactId, long[] licenseIds,
160: java.util.List thumbnails, java.util.List fullImages,
161: java.lang.Boolean addCommunityPermissions,
162: java.lang.Boolean addGuestPermissions,
163: java.lang.String[] communityPermissions,
164: java.lang.String[] guestPermissions)
165: throws com.liferay.portal.SystemException,
166: com.liferay.portal.PortalException;
167:
168: public void addProductEntryResources(long productEntryId,
169: boolean addCommunityPermissions, boolean addGuestPermissions)
170: throws com.liferay.portal.SystemException,
171: com.liferay.portal.PortalException;
172:
173: public void addProductEntryResources(
174: com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
175: boolean addCommunityPermissions, boolean addGuestPermissions)
176: throws com.liferay.portal.SystemException,
177: com.liferay.portal.PortalException;
178:
179: public void addProductEntryResources(long productEntryId,
180: java.lang.String[] communityPermissions,
181: java.lang.String[] guestPermissions)
182: throws com.liferay.portal.SystemException,
183: com.liferay.portal.PortalException;
184:
185: public void addProductEntryResources(
186: com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
187: java.lang.String[] communityPermissions,
188: java.lang.String[] guestPermissions)
189: throws com.liferay.portal.SystemException,
190: com.liferay.portal.PortalException;
191:
192: public void deleteProductEntries(long groupId)
193: throws com.liferay.portal.SystemException,
194: com.liferay.portal.PortalException;
195:
196: public void deleteProductEntry(long productEntryId)
197: throws com.liferay.portal.SystemException,
198: com.liferay.portal.PortalException;
199:
200: public void deleteProductEntry(
201: com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry)
202: throws com.liferay.portal.SystemException,
203: com.liferay.portal.PortalException;
204:
205: public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
206: long productEntryId)
207: throws com.liferay.portal.SystemException,
208: com.liferay.portal.PortalException;
209:
210: public java.util.List getProductEntries(long groupId, int begin,
211: int end) throws com.liferay.portal.SystemException;
212:
213: public java.util.List getProductEntries(long groupId, int begin,
214: int end,
215: com.liferay.portal.kernel.util.OrderByComparator obc)
216: throws com.liferay.portal.SystemException;
217:
218: public java.util.List getProductEntries(long groupId, long userId,
219: int begin, int end)
220: throws com.liferay.portal.SystemException;
221:
222: public java.util.List getProductEntries(long groupId, long userId,
223: int begin, int end,
224: com.liferay.portal.kernel.util.OrderByComparator obc)
225: throws com.liferay.portal.SystemException;
226:
227: public int getProductEntriesCount(long groupId)
228: throws com.liferay.portal.SystemException;
229:
230: public int getProductEntriesCount(long groupId, long userId)
231: throws com.liferay.portal.SystemException;
232:
233: public java.lang.String getRepositoryXML(long groupId,
234: java.lang.String baseImageURL, java.util.Date oldestDate,
235: int maxNumOfVersions, java.util.Properties repoSettings)
236: throws com.liferay.portal.SystemException,
237: com.liferay.portal.PortalException;
238:
239: public java.lang.String getRepositoryXML(long groupId,
240: java.lang.String version, java.lang.String baseImageURL,
241: java.util.Date oldestDate, int maxNumOfVersions,
242: java.util.Properties repoSettings)
243: throws com.liferay.portal.SystemException,
244: com.liferay.portal.PortalException;
245:
246: public void reIndex(java.lang.String[] ids)
247: throws com.liferay.portal.SystemException;
248:
249: public com.liferay.portal.kernel.search.Hits search(long companyId,
250: long groupId, java.lang.String keywords,
251: java.lang.String type)
252: throws com.liferay.portal.SystemException;
253:
254: public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
255: long productEntryId, java.lang.String name,
256: java.lang.String type, java.lang.String tags,
257: java.lang.String shortDescription,
258: java.lang.String longDescription, java.lang.String pageURL,
259: java.lang.String author, java.lang.String repoGroupId,
260: java.lang.String repoArtifactId, long[] licenseIds,
261: java.util.List thumbnails, java.util.List fullImages)
262: throws com.liferay.portal.SystemException,
263: com.liferay.portal.PortalException;
264: }
|