com.liferay.portlet.softwarecatalog.service
Interface SCProductVersionLocalService


public interface SCProductVersionLocalService

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.SCProductVersionLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

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.

Author:
Brian Wing Shun Chan
See Also:
SCProductVersionLocalServiceUtil

Method Summary
 SCProductVersion addProductVersion(long userId, 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 userId, long productEntryId, java.lang.String version, java.lang.String changeLog, java.lang.String downloadPageURL, java.lang.String directDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds, java.lang.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 SCProductVersion addProductVersion(long userId, 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)
           
 SCProductVersion addSCProductVersion(SCProductVersion scProductVersion)
           
 void deleteProductVersion(long productVersionId)
           
 void deleteProductVersion(SCProductVersion productVersion)
           
 void deleteProductVersions(long productEntryId)
           
 void deleteSCProductVersion(long productVersionId)
           
 void deleteSCProductVersion(SCProductVersion scProductVersion)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 SCProductVersion getProductVersion(long productVersionId)
           
 SCProductVersion getProductVersionByDirectDownloadURL(java.lang.String directDownloadURL)
           
 java.util.List<SCProductVersion> getProductVersions(long productEntryId, int start, int end)
           
 int getProductVersionsCount(long productEntryId)
           
 SCProductVersion getSCProductVersion(long productVersionId)
           
 java.util.List<SCProductVersion> getSCProductVersions(int start, int end)
           
 int getSCProductVersionsCount()
           
 SCProductVersion updateProductVersion(long productVersionId, java.lang.String version, java.lang.String changeLog, java.lang.String downloadPageURL, java.lang.String directDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds)
           
 SCProductVersion updateSCProductVersion(SCProductVersion scProductVersion)
           
 

Method Detail

addSCProductVersion

SCProductVersion addSCProductVersion(SCProductVersion scProductVersion)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteSCProductVersion

void deleteSCProductVersion(long productVersionId)
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteSCProductVersion

void deleteSCProductVersion(SCProductVersion scProductVersion)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCProductVersion

SCProductVersion getSCProductVersion(long productVersionId)
                                     throws com.liferay.portal.SystemException,
                                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getSCProductVersions

java.util.List<SCProductVersion> getSCProductVersions(int start,
                                                      int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCProductVersionsCount

int getSCProductVersionsCount()
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateSCProductVersion

SCProductVersion updateSCProductVersion(SCProductVersion scProductVersion)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addProductVersion

SCProductVersion addProductVersion(long userId,
                                   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 com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addProductVersion

SCProductVersion addProductVersion(long userId,
                                   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 com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addProductVersion

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

deleteProductVersion

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

deleteProductVersion

void deleteProductVersion(SCProductVersion productVersion)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteProductVersions

void deleteProductVersions(long productEntryId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductVersion

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

getProductVersionByDirectDownloadURL

SCProductVersion getProductVersionByDirectDownloadURL(java.lang.String directDownloadURL)
                                                      throws com.liferay.portal.PortalException,
                                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getProductVersions

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

getProductVersionsCount

int getProductVersionsCount(long productEntryId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

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 com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException