com.liferay.portlet.softwarecatalog.service
Class SCFrameworkVersionServiceUtil

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionServiceUtil

public class SCFrameworkVersionServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService 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.

Author:
Brian Wing Shun Chan
See Also:
SCFrameworkVersionService

Constructor Summary
SCFrameworkVersionServiceUtil()
           
 
Method Summary
static SCFrameworkVersion addFrameworkVersion(java.lang.String name, java.lang.String url, boolean active, int priority, ServiceContext serviceContext)
           
static void deleteFrameworkVersion(long frameworkVersionId)
           
static SCFrameworkVersion getFrameworkVersion(long frameworkVersionId)
           
static java.util.List<SCFrameworkVersion> getFrameworkVersions(long groupId, boolean active)
           
static java.util.List<SCFrameworkVersion> getFrameworkVersions(long groupId, boolean active, int start, int end)
           
static SCFrameworkVersionService getService()
           
 void setService(SCFrameworkVersionService service)
           
static SCFrameworkVersion updateFrameworkVersion(long frameworkVersionId, java.lang.String name, java.lang.String url, boolean active, int priority)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCFrameworkVersionServiceUtil

public SCFrameworkVersionServiceUtil()
Method Detail

addFrameworkVersion

public static SCFrameworkVersion addFrameworkVersion(java.lang.String name,
                                                     java.lang.String url,
                                                     boolean active,
                                                     int priority,
                                                     ServiceContext serviceContext)
                                              throws com.liferay.portal.PortalException,
                                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFrameworkVersion

public static void deleteFrameworkVersion(long frameworkVersionId)
                                   throws com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFrameworkVersion

public static SCFrameworkVersion getFrameworkVersion(long frameworkVersionId)
                                              throws com.liferay.portal.PortalException,
                                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFrameworkVersions

public static java.util.List<SCFrameworkVersion> getFrameworkVersions(long groupId,
                                                                      boolean active)
                                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFrameworkVersions

public static java.util.List<SCFrameworkVersion> getFrameworkVersions(long groupId,
                                                                      boolean active,
                                                                      int start,
                                                                      int end)
                                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateFrameworkVersion

public static SCFrameworkVersion updateFrameworkVersion(long frameworkVersionId,
                                                        java.lang.String name,
                                                        java.lang.String url,
                                                        boolean active,
                                                        int priority)
                                                 throws com.liferay.portal.PortalException,
                                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getService

public static SCFrameworkVersionService getService()

setService

public void setService(SCFrameworkVersionService service)