com.liferay.portal.service
Interface ServiceComponentLocalService
- All Known Implementing Classes:
- ServiceComponentLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,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(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(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()
|
addServiceComponent
ServiceComponent addServiceComponent(ServiceComponent serviceComponent)
throws SystemException
- Throws:
SystemException
createServiceComponent
ServiceComponent createServiceComponent(long serviceComponentId)
deleteServiceComponent
void deleteServiceComponent(long serviceComponentId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteServiceComponent
void deleteServiceComponent(ServiceComponent serviceComponent)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getServiceComponent
@Transactional(propagation=SUPPORTS,
readOnly=true)
ServiceComponent getServiceComponent(long serviceComponentId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getServiceComponents
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ServiceComponent> getServiceComponents(int start,
int end)
throws SystemException
- Throws:
SystemException
getServiceComponentsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getServiceComponentsCount()
throws SystemException
- Throws:
SystemException
updateServiceComponent
ServiceComponent updateServiceComponent(ServiceComponent serviceComponent)
throws SystemException
- Throws:
SystemException
updateServiceComponent
ServiceComponent updateServiceComponent(ServiceComponent serviceComponent,
boolean merge)
throws SystemException
- Throws:
SystemException
destroyServiceComponent
void destroyServiceComponent(javax.servlet.ServletContext servletContext,
java.lang.ClassLoader classLoader)
throws SystemException
- Throws:
SystemException
initServiceComponent
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
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 PortalException,
SystemException
- Throws:
PortalException
SystemException