com.liferay.portlet.softwarecatalog.service
Class SCProductVersionServiceUtil
java.lang.Object
com.liferay.portlet.softwarecatalog.service.SCProductVersionServiceUtil
public class SCProductVersionServiceUtil
- extends Object
This class provides static methods for the
SCProductVersionService bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- See Also:
SCProductVersionService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static SCProductVersion |
addProductVersion(long productEntryId,
String version,
String changeLog,
String downloadPageURL,
String directDownloadURL,
boolean testDirectDownloadURL,
boolean repoStoreArtifact,
long[] frameworkVersionIds,
ServiceContext serviceContext)
|
static void |
deleteProductVersion(long productVersionId)
|
static SCProductVersion |
getProductVersion(long productVersionId)
|
static List<SCProductVersion> |
getProductVersions(long productEntryId,
int start,
int end)
|
static int |
getProductVersionsCount(long productEntryId)
|
static SCProductVersionService |
getService()
|
void |
setService(SCProductVersionService service)
|
static SCProductVersion |
updateProductVersion(long productVersionId,
String version,
String changeLog,
String downloadPageURL,
String directDownloadURL,
boolean testDirectDownloadURL,
boolean repoStoreArtifact,
long[] frameworkVersionIds)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCProductVersionServiceUtil
public SCProductVersionServiceUtil()
addProductVersion
public static SCProductVersion addProductVersion(long productEntryId,
String version,
String changeLog,
String downloadPageURL,
String directDownloadURL,
boolean testDirectDownloadURL,
boolean repoStoreArtifact,
long[] frameworkVersionIds,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteProductVersion
public static void deleteProductVersion(long productVersionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getProductVersion
public static SCProductVersion getProductVersion(long productVersionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getProductVersions
public static List<SCProductVersion> getProductVersions(long productEntryId,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getProductVersionsCount
public static int getProductVersionsCount(long productEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateProductVersion
public static SCProductVersion updateProductVersion(long productVersionId,
String version,
String changeLog,
String downloadPageURL,
String directDownloadURL,
boolean testDirectDownloadURL,
boolean repoStoreArtifact,
long[] frameworkVersionIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static SCProductVersionService getService()
setService
public void setService(SCProductVersionService service)