com.liferay.portlet.softwarecatalog.service.impl
Class SCProductVersionServiceImpl

java.lang.Object
  extended bycom.liferay.portal.service.impl.PrincipalBean
      extended bycom.liferay.portlet.softwarecatalog.service.impl.SCProductVersionServiceImpl
All Implemented Interfaces:
com.liferay.portlet.softwarecatalog.service.SCProductVersionService

public class SCProductVersionServiceImpl
extends PrincipalBean
implements com.liferay.portlet.softwarecatalog.service.SCProductVersionService

View Source

Author:
Jorge Ferrer, Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portal.service.impl.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
SCProductVersionServiceImpl()
           
 
Method Summary
 com.liferay.portlet.softwarecatalog.model.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)
           
 com.liferay.portlet.softwarecatalog.model.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)
           
 com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(long productVersionId)
           
 java.util.List getProductVersions(long productEntryId, int begin, int end)
           
 int getProductVersionsCount(long productEntryId)
           
 com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(long productVersionId, java.lang.String version, java.lang.String changeLog, java.lang.String downloadPageURL, java.lang.String directDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds)
           
 
Methods inherited from class com.liferay.portal.service.impl.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCProductVersionServiceImpl

public SCProductVersionServiceImpl()
Method Detail

addProductVersion

public com.liferay.portlet.softwarecatalog.model.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 com.liferay.portal.PortalException,
                                                                                    com.liferay.portal.SystemException
Specified by:
addProductVersion in interface com.liferay.portlet.softwarecatalog.service.SCProductVersionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addProductVersion

public com.liferay.portlet.softwarecatalog.model.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 com.liferay.portal.PortalException,
                                                                                    com.liferay.portal.SystemException
Specified by:
addProductVersion in interface com.liferay.portlet.softwarecatalog.service.SCProductVersionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteProductVersion

public void deleteProductVersion(long productVersionId)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Specified by:
deleteProductVersion in interface com.liferay.portlet.softwarecatalog.service.SCProductVersionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getProductVersion

public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(long productVersionId)
                                                                             throws com.liferay.portal.PortalException,
                                                                                    com.liferay.portal.SystemException
Specified by:
getProductVersion in interface com.liferay.portlet.softwarecatalog.service.SCProductVersionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getProductVersions

public java.util.List getProductVersions(long productEntryId,
                                         int begin,
                                         int end)
                                  throws com.liferay.portal.SystemException,
                                         com.liferay.portal.PortalException
Specified by:
getProductVersions in interface com.liferay.portlet.softwarecatalog.service.SCProductVersionService
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getProductVersionsCount

public int getProductVersionsCount(long productEntryId)
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Specified by:
getProductVersionsCount in interface com.liferay.portlet.softwarecatalog.service.SCProductVersionService
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateProductVersion

public com.liferay.portlet.softwarecatalog.model.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
Specified by:
updateProductVersion in interface com.liferay.portlet.softwarecatalog.service.SCProductVersionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException