com.liferay.portal.service
Interface ServiceComponentLocalService

All Known Implementing Classes:
ServiceComponentLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface ServiceComponentLocalService

View Source

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

This interface defines the service. The default implementation is com.liferay.portal.service.impl.ServiceComponentLocalServiceImpl}. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
ServiceComponentLocalServiceUtil
Generated:

Method Summary
 ServiceComponent addServiceComponent(ServiceComponent serviceComponent)
           
 ServiceComponent createServiceComponent(long serviceComponentId)
           
 void deleteServiceComponent(long serviceComponentId)
           
 void deleteServiceComponent(ServiceComponent serviceComponent)
           
 void destroyServiceComponent(javax.servlet.ServletContext servletContext, java.lang.ClassLoader classLoader)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 ServiceComponent getServiceComponent(long serviceComponentId)
           
 java.util.List<ServiceComponent> getServiceComponents(int start, int end)
           
 int getServiceComponentsCount()
           
 ServiceComponent initServiceComponent(javax.servlet.ServletContext servletContext, java.lang.ClassLoader classLoader, java.lang.String buildNamespace, long buildNumber, long buildDate, boolean buildAutoUpgrade)
           
 ServiceComponent updateServiceComponent(ServiceComponent serviceComponent)
           
 ServiceComponent updateServiceComponent(ServiceComponent serviceComponent, boolean merge)
           
 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)
           
 void verifyDB()
           
 

Method Detail

addServiceComponent

ServiceComponent addServiceComponent(ServiceComponent serviceComponent)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createServiceComponent

ServiceComponent createServiceComponent(long serviceComponentId)

deleteServiceComponent

void deleteServiceComponent(long serviceComponentId)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteServiceComponent

void deleteServiceComponent(ServiceComponent serviceComponent)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

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

dynamicQuery

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

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

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

getServiceComponent

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ServiceComponent getServiceComponent(long serviceComponentId)
                                     throws com.liferay.portal.PortalException,
                                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getServiceComponents

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<ServiceComponent> getServiceComponents(int start,
                                                                    int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getServiceComponentsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getServiceComponentsCount()
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateServiceComponent

ServiceComponent updateServiceComponent(ServiceComponent serviceComponent)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateServiceComponent

ServiceComponent updateServiceComponent(ServiceComponent serviceComponent,
                                        boolean merge)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

destroyServiceComponent

void destroyServiceComponent(javax.servlet.ServletContext servletContext,
                             java.lang.ClassLoader classLoader)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

initServiceComponent

ServiceComponent initServiceComponent(javax.servlet.ServletContext servletContext,
                                      java.lang.ClassLoader classLoader,
                                      java.lang.String buildNamespace,
                                      long buildNumber,
                                      long buildDate,
                                      boolean buildAutoUpgrade)
                                      throws com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

upgradeDB

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

void verifyDB()
              throws com.liferay.portal.PortalException,
                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException