com.liferay.portal.service
Class ReleaseLocalServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.ReleaseLocalServiceUtil

public class ReleaseLocalServiceUtil
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 ReleaseLocalService 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:
ReleaseLocalService
Generated:

Constructor Summary
ReleaseLocalServiceUtil()
           
 
Method Summary
static Release addRelease(Release release)
           
static Release addRelease(java.lang.String servletContextName, int buildNumber)
           
static Release createRelease(long releaseId)
           
static void createTablesAndPopulate()
           
static void deleteRelease(long releaseId)
           
static void deleteRelease(Release release)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static int getBuildNumberOrCreate()
           
static Release getRelease(long releaseId)
           
static Release getRelease(java.lang.String servletContextName, int buildNumber)
           
static java.util.List<Release> getReleases(int start, int end)
           
static int getReleasesCount()
           
static ReleaseLocalService getService()
           
 void setService(ReleaseLocalService service)
           
static Release updateRelease(long releaseId, int buildNumber, java.util.Date buildDate, boolean verified)
           
static Release updateRelease(Release release)
           
static Release updateRelease(Release release, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReleaseLocalServiceUtil

public ReleaseLocalServiceUtil()
Method Detail

addRelease

public static Release addRelease(Release release)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createRelease

public static Release createRelease(long releaseId)

deleteRelease

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

deleteRelease

public static void deleteRelease(Release release)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                          int start,
                                          int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                          int start,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQueryCount

public static int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getRelease

public static Release getRelease(long releaseId)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getReleases

public static java.util.List<Release> getReleases(int start,
                                                  int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getReleasesCount

public static int getReleasesCount()
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateRelease

public static Release updateRelease(Release release)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateRelease

public static Release updateRelease(Release release,
                                    boolean merge)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addRelease

public static Release addRelease(java.lang.String servletContextName,
                                 int buildNumber)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createTablesAndPopulate

public static void createTablesAndPopulate()
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getBuildNumberOrCreate

public static int getBuildNumberOrCreate()
                                  throws com.liferay.portal.PortalException,
                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getRelease

public static Release getRelease(java.lang.String servletContextName,
                                 int buildNumber)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateRelease

public static Release updateRelease(long releaseId,
                                    int buildNumber,
                                    java.util.Date buildDate,
                                    boolean verified)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getService

public static ReleaseLocalService getService()

setService

public void setService(ReleaseLocalService service)