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="SCProductVersionService.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.SCProductVersionServiceImpl</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 remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
040: * </p>
041: *
042: * @author Brian Wing Shun Chan
043: *
044: * @see com.liferay.portlet.softwarecatalog.service.SCProductVersionServiceFactory
045: * @see com.liferay.portlet.softwarecatalog.service.SCProductVersionServiceUtil
046: *
047: */
048: public interface SCProductVersionService {
049: public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
050: long productEntryId, java.lang.String version,
051: java.lang.String changeLog,
052: java.lang.String downloadPageURL,
053: java.lang.String directDownloadURL,
054: boolean repoStoreArtifact, long[] frameworkVersionIds,
055: boolean addCommunityPermissions, boolean addGuestPermissions)
056: throws java.rmi.RemoteException,
057: com.liferay.portal.SystemException,
058: com.liferay.portal.PortalException;
059:
060: public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
061: long productEntryId, java.lang.String version,
062: java.lang.String changeLog,
063: java.lang.String downloadPageURL,
064: java.lang.String directDownloadURL,
065: boolean repoStoreArtifact, long[] frameworkVersionIds,
066: java.lang.String[] communityPermissions,
067: java.lang.String[] guestPermissions)
068: throws java.rmi.RemoteException,
069: com.liferay.portal.SystemException,
070: com.liferay.portal.PortalException;
071:
072: public void deleteProductVersion(long productVersionId)
073: throws java.rmi.RemoteException,
074: com.liferay.portal.SystemException,
075: com.liferay.portal.PortalException;
076:
077: public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
078: long productVersionId) throws java.rmi.RemoteException,
079: com.liferay.portal.SystemException,
080: com.liferay.portal.PortalException;
081:
082: public java.util.List getProductVersions(long productEntryId,
083: int begin, int end) throws java.rmi.RemoteException,
084: com.liferay.portal.SystemException,
085: com.liferay.portal.PortalException;
086:
087: public int getProductVersionsCount(long productEntryId)
088: throws java.rmi.RemoteException,
089: com.liferay.portal.SystemException,
090: com.liferay.portal.PortalException;
091:
092: public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
093: long productVersionId, java.lang.String version,
094: java.lang.String changeLog,
095: java.lang.String downloadPageURL,
096: java.lang.String directDownloadURL,
097: boolean repoStoreArtifact, long[] frameworkVersionIds)
098: throws java.rmi.RemoteException,
099: com.liferay.portal.SystemException,
100: com.liferay.portal.PortalException;
101: }
|