com.liferay.portal.service
Class ServiceComponentLocalServiceUtil
java.lang.Object
com.liferay.portal.service.ServiceComponentLocalServiceUtil
public class ServiceComponentLocalServiceUtil
- 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
ServiceComponentLocalService
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:
ServiceComponentLocalService
- Generated:
Method Summary |
static ServiceComponent |
addServiceComponent(ServiceComponent serviceComponent)
|
static ServiceComponent |
createServiceComponent(long serviceComponentId)
|
static void |
deleteServiceComponent(long serviceComponentId)
|
static void |
deleteServiceComponent(ServiceComponent serviceComponent)
|
static void |
destroyServiceComponent(javax.servlet.ServletContext servletContext,
java.lang.ClassLoader classLoader)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static ServiceComponentLocalService |
getService()
|
static ServiceComponent |
getServiceComponent(long serviceComponentId)
|
static java.util.List<ServiceComponent> |
getServiceComponents(int start,
int end)
|
static int |
getServiceComponentsCount()
|
static ServiceComponent |
initServiceComponent(javax.servlet.ServletContext servletContext,
java.lang.ClassLoader classLoader,
java.lang.String buildNamespace,
long buildNumber,
long buildDate,
boolean buildAutoUpgrade)
|
void |
setService(ServiceComponentLocalService service)
|
static ServiceComponent |
updateServiceComponent(ServiceComponent serviceComponent)
|
static ServiceComponent |
updateServiceComponent(ServiceComponent serviceComponent,
boolean merge)
|
static void |
upgradeDB(java.lang.ClassLoader classLoader,
java.lang.String buildNamespace,
long buildNumber,
boolean buildAutoUpgrade,
ServiceComponent previousServiceComponent,
java.lang.String tablesSQL,
java.lang.String sequencesSQL,
java.lang.String indexesSQL)
|
static void |
verifyDB()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceComponentLocalServiceUtil
public ServiceComponentLocalServiceUtil()
addServiceComponent
public static ServiceComponent addServiceComponent(ServiceComponent serviceComponent)
throws SystemException
- Throws:
SystemException
createServiceComponent
public static ServiceComponent createServiceComponent(long serviceComponentId)
deleteServiceComponent
public static void deleteServiceComponent(long serviceComponentId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteServiceComponent
public static void deleteServiceComponent(ServiceComponent serviceComponent)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getServiceComponent
public static ServiceComponent getServiceComponent(long serviceComponentId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getServiceComponents
public static java.util.List<ServiceComponent> getServiceComponents(int start,
int end)
throws SystemException
- Throws:
SystemException
getServiceComponentsCount
public static int getServiceComponentsCount()
throws SystemException
- Throws:
SystemException
updateServiceComponent
public static ServiceComponent updateServiceComponent(ServiceComponent serviceComponent)
throws SystemException
- Throws:
SystemException
updateServiceComponent
public static ServiceComponent updateServiceComponent(ServiceComponent serviceComponent,
boolean merge)
throws SystemException
- Throws:
SystemException
destroyServiceComponent
public static void destroyServiceComponent(javax.servlet.ServletContext servletContext,
java.lang.ClassLoader classLoader)
throws SystemException
- Throws:
SystemException
initServiceComponent
public static ServiceComponent initServiceComponent(javax.servlet.ServletContext servletContext,
java.lang.ClassLoader classLoader,
java.lang.String buildNamespace,
long buildNumber,
long buildDate,
boolean buildAutoUpgrade)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
upgradeDB
public static void upgradeDB(java.lang.ClassLoader classLoader,
java.lang.String buildNamespace,
long buildNumber,
boolean buildAutoUpgrade,
ServiceComponent previousServiceComponent,
java.lang.String tablesSQL,
java.lang.String sequencesSQL,
java.lang.String indexesSQL)
throws java.lang.Exception
- Throws:
java.lang.Exception
verifyDB
public static void verifyDB()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static ServiceComponentLocalService getService()
setService
public void setService(ServiceComponentLocalService service)