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="SCProductVersionLocalService.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.SCProductVersionLocalServiceImpl</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.SCProductVersionLocalServiceFactory
045: * @see com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalServiceUtil
046: *
047: */
048: public interface SCProductVersionLocalService {
049: public com.liferay.portlet.softwarecatalog.model.SCProductVersion addSCProductVersion(
050: com.liferay.portlet.softwarecatalog.model.SCProductVersion 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.SCProductVersion updateSCProductVersion(
063: com.liferay.portlet.softwarecatalog.model.SCProductVersion 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.UserPersistence getUserPersistence();
092:
093: public void setUserPersistence(
094: com.liferay.portal.service.persistence.UserPersistence userPersistence);
095:
096: public com.liferay.portal.service.persistence.UserFinder getUserFinder();
097:
098: public void setUserFinder(
099: com.liferay.portal.service.persistence.UserFinder userFinder);
100:
101: public void afterPropertiesSet();
102:
103: public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
104: long userId, long productEntryId, java.lang.String version,
105: java.lang.String changeLog,
106: java.lang.String downloadPageURL,
107: java.lang.String directDownloadURL,
108: boolean repoStoreArtifact, long[] frameworkVersionIds,
109: boolean addCommunityPermissions, boolean addGuestPermissions)
110: throws com.liferay.portal.SystemException,
111: com.liferay.portal.PortalException;
112:
113: public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
114: long userId, long productEntryId, java.lang.String version,
115: java.lang.String changeLog,
116: java.lang.String downloadPageURL,
117: java.lang.String directDownloadURL,
118: boolean repoStoreArtifact, long[] frameworkVersionIds,
119: java.lang.String[] communityPermissions,
120: java.lang.String[] guestPermissions)
121: throws com.liferay.portal.SystemException,
122: com.liferay.portal.PortalException;
123:
124: public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
125: long userId, long productEntryId, java.lang.String version,
126: java.lang.String changeLog,
127: java.lang.String downloadPageURL,
128: java.lang.String directDownloadURL,
129: boolean repoStoreArtifact, long[] frameworkVersionIds,
130: java.lang.Boolean addCommunityPermissions,
131: java.lang.Boolean addGuestPermissions,
132: java.lang.String[] communityPermissions,
133: java.lang.String[] guestPermissions)
134: throws com.liferay.portal.SystemException,
135: com.liferay.portal.PortalException;
136:
137: public void deleteProductVersion(long productVersionId)
138: throws com.liferay.portal.SystemException,
139: com.liferay.portal.PortalException;
140:
141: public void deleteProductVersion(
142: com.liferay.portlet.softwarecatalog.model.SCProductVersion productVersion)
143: throws com.liferay.portal.SystemException,
144: com.liferay.portal.PortalException;
145:
146: public void deleteProductVersions(long productEntryId)
147: throws com.liferay.portal.SystemException,
148: com.liferay.portal.PortalException;
149:
150: public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
151: long productVersionId)
152: throws com.liferay.portal.SystemException,
153: com.liferay.portal.PortalException;
154:
155: public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersionByDirectDownloadURL(
156: java.lang.String directDownloadURL)
157: throws com.liferay.portal.SystemException,
158: com.liferay.portal.PortalException;
159:
160: public java.util.List getProductVersions(long productEntryId,
161: int begin, int end)
162: throws com.liferay.portal.SystemException;
163:
164: public int getProductVersionsCount(long productEntryId)
165: throws com.liferay.portal.SystemException;
166:
167: public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
168: long productVersionId, java.lang.String version,
169: java.lang.String changeLog,
170: java.lang.String downloadPageURL,
171: java.lang.String directDownloadURL,
172: boolean repoStoreArtifact, long[] frameworkVersionIds)
173: throws com.liferay.portal.SystemException,
174: com.liferay.portal.PortalException;
175: }
|