com.liferay.portlet.softwarecatalog.service
Interface SCProductVersionService


public interface SCProductVersionService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.softwarecatalog.service.impl.SCProductVersionServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

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.

Author:
Brian Wing Shun Chan
See Also:
SCProductVersionServiceFactory, SCProductVersionServiceUtil

Method Summary
 SCProductVersion addProductVersion(long productEntryId, java.lang.String version, java.lang.String changeLog, java.lang.String downloadPageURL, java.lang.String directDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 SCProductVersion addProductVersion(long productEntryId, java.lang.String version, java.lang.String changeLog, java.lang.String downloadPageURL, java.lang.String directDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteProductVersion(long productVersionId)
           
 SCProductVersion getProductVersion(long productVersionId)
           
 java.util.List<SCProductVersion> getProductVersions(long productEntryId, int begin, int end)
           
 int getProductVersionsCount(long productEntryId)
           
 SCProductVersion updateProductVersion(long productVersionId, java.lang.String version, java.lang.String changeLog, java.lang.String downloadPageURL, java.lang.String directDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds)
           
 

Method Detail

addProductVersion

SCProductVersion addProductVersion(long productEntryId,
                                   java.lang.String version,
                                   java.lang.String changeLog,
                                   java.lang.String downloadPageURL,
                                   java.lang.String directDownloadURL,
                                   boolean repoStoreArtifact,
                                   long[] frameworkVersionIds,
                                   boolean addCommunityPermissions,
                                   boolean addGuestPermissions)
                                   throws java.rmi.RemoteException,
                                          com.liferay.portal.SystemException,
                                          com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addProductVersion

SCProductVersion addProductVersion(long productEntryId,
                                   java.lang.String version,
                                   java.lang.String changeLog,
                                   java.lang.String downloadPageURL,
                                   java.lang.String directDownloadURL,
                                   boolean repoStoreArtifact,
                                   long[] frameworkVersionIds,
                                   java.lang.String[] communityPermissions,
                                   java.lang.String[] guestPermissions)
                                   throws java.rmi.RemoteException,
                                          com.liferay.portal.SystemException,
                                          com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteProductVersion

void deleteProductVersion(long productVersionId)
                          throws java.rmi.RemoteException,
                                 com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getProductVersion

SCProductVersion getProductVersion(long productVersionId)
                                   throws java.rmi.RemoteException,
                                          com.liferay.portal.SystemException,
                                          com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getProductVersions

java.util.List<SCProductVersion> getProductVersions(long productEntryId,
                                                    int begin,
                                                    int end)
                                                    throws java.rmi.RemoteException,
                                                           com.liferay.portal.SystemException,
                                                           com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getProductVersionsCount

int getProductVersionsCount(long productEntryId)
                            throws java.rmi.RemoteException,
                                   com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateProductVersion

SCProductVersion updateProductVersion(long productVersionId,
                                      java.lang.String version,
                                      java.lang.String changeLog,
                                      java.lang.String downloadPageURL,
                                      java.lang.String directDownloadURL,
                                      boolean repoStoreArtifact,
                                      long[] frameworkVersionIds)
                                      throws java.rmi.RemoteException,
                                             com.liferay.portal.SystemException,
                                             com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException