com.liferay.portlet.softwarecatalog.service
Interface SCProductVersionLocalService

All Known Implementing Classes:
SCProductVersionLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
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
Generated:

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 testDirectDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds, ServiceContext serviceContext)
           
 SCProductVersion addSCProductVersion(SCProductVersion scProductVersion)
           
 SCProductVersion createSCProductVersion(long productVersionId)
           
 void deleteProductVersion(long productVersionId)
           
 void deleteProductVersion(SCProductVersion productVersion)
           
 void deleteProductVersions(long productEntryId)
           
 void deleteSCProductVersion(long productVersionId)
           
 void deleteSCProductVersion(SCProductVersion scProductVersion)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 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 testDirectDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds)
           
 SCProductVersion updateSCProductVersion(SCProductVersion scProductVersion)
           
 SCProductVersion updateSCProductVersion(SCProductVersion scProductVersion, boolean merge)
           
 

Method Detail

addSCProductVersion

SCProductVersion addSCProductVersion(SCProductVersion scProductVersion)
                                     throws SystemException
Throws:
SystemException

createSCProductVersion

SCProductVersion createSCProductVersion(long productVersionId)

deleteSCProductVersion

void deleteSCProductVersion(long productVersionId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

deleteSCProductVersion

void deleteSCProductVersion(SCProductVersion scProductVersion)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getSCProductVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SCProductVersion getSCProductVersion(long productVersionId)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

getSCProductVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCProductVersion> getSCProductVersions(int start,
                                                                                               int end)
                                                      throws SystemException
Throws:
SystemException

getSCProductVersionsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getSCProductVersionsCount()
                              throws SystemException
Throws:
SystemException

updateSCProductVersion

SCProductVersion updateSCProductVersion(SCProductVersion scProductVersion)
                                        throws SystemException
Throws:
SystemException

updateSCProductVersion

SCProductVersion updateSCProductVersion(SCProductVersion scProductVersion,
                                        boolean merge)
                                        throws SystemException
Throws:
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 testDirectDownloadURL,
                                   boolean repoStoreArtifact,
                                   long[] frameworkVersionIds,
                                   ServiceContext serviceContext)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

deleteProductVersion

void deleteProductVersion(long productVersionId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

deleteProductVersion

void deleteProductVersion(SCProductVersion productVersion)
                          throws SystemException
Throws:
SystemException

deleteProductVersions

void deleteProductVersions(long productEntryId)
                           throws SystemException
Throws:
SystemException

getProductVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SCProductVersion getProductVersion(long productVersionId)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getProductVersionByDirectDownloadURL

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SCProductVersion getProductVersionByDirectDownloadURL(java.lang.String directDownloadURL)
                                                      throws PortalException,
                                                             SystemException
Throws:
PortalException
SystemException

getProductVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCProductVersion> getProductVersions(long productEntryId,
                                                                                             int start,
                                                                                             int end)
                                                    throws SystemException
Throws:
SystemException

getProductVersionsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getProductVersionsCount(long productEntryId)
                            throws SystemException
Throws:
SystemException

updateProductVersion

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