com.liferay.portlet.softwarecatalog.service
Class SCFrameworkVersionServiceUtil

java.lang.Object
  extended bycom.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.

com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
SCFrameworkVersionService, SCFrameworkVersionServiceFactory

Constructor Summary
SCFrameworkVersionServiceUtil()
           
 
Method Summary
static SCFrameworkVersion addFrameworkVersion(long plid, java.lang.String name, java.lang.String url, boolean active, int priority, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static SCFrameworkVersion addFrameworkVersion(long plid, java.lang.String name, java.lang.String url, boolean active, int priority, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
static void deleteFrameworkVersion(long frameworkVersionId)
           
static SCFrameworkVersion getFrameworkVersion(long frameworkVersionId)
           
static java.util.List getFrameworkVersions(long groupId, boolean active)
           
static java.util.List getFrameworkVersions(long groupId, boolean active, int begin, int end)
           
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(long plid,
                                                     java.lang.String name,
                                                     java.lang.String url,
                                                     boolean active,
                                                     int priority,
                                                     boolean addCommunityPermissions,
                                                     boolean addGuestPermissions)
                                              throws com.liferay.portal.PortalException,
                                                     com.liferay.portal.SystemException,
                                                     java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addFrameworkVersion

public static SCFrameworkVersion addFrameworkVersion(long plid,
                                                     java.lang.String name,
                                                     java.lang.String url,
                                                     boolean active,
                                                     int priority,
                                                     java.lang.String[] communityPermissions,
                                                     java.lang.String[] guestPermissions)
                                              throws com.liferay.portal.PortalException,
                                                     com.liferay.portal.SystemException,
                                                     java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteFrameworkVersion

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

getFrameworkVersion

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

getFrameworkVersions

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

getFrameworkVersions

public static java.util.List getFrameworkVersions(long groupId,
                                                  boolean active,
                                                  int begin,
                                                  int end)
                                           throws com.liferay.portal.SystemException,
                                                  java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

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