Package com.liferay.portal.service.impl
Class ServiceComponentLocalServiceImpl
Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portal.service.base.ServiceComponentLocalServiceBaseImpl
com.liferay.portal.service.impl.ServiceComponentLocalServiceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceComponentLocalService
- Author:
- Brian Wing Shun Chan
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.ServiceComponentLocalServiceBaseImpl
counterLocalService, serviceComponentFinder, serviceComponentLocalService, serviceComponentPersistence -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.liferay.portal.kernel.model.ServiceComponent>getModelNames(ClassLoader classLoader) getModelNames(String xml) getModifiedTableNames(String previousTablesSQL, String tablesSQL) protected com.liferay.portal.kernel.upgrade.util.UpgradeTableListenergetUpgradeTableListener(ClassLoader classLoader, Class<?> modelClass) com.liferay.portal.kernel.model.ServiceComponentinitServiceComponent(com.liferay.portal.kernel.service.configuration.ServiceComponentConfiguration serviceComponentConfiguration, ClassLoader classLoader, String buildNamespace, long buildNumber, long buildDate) protected voidremoveOldServiceComponents(String buildNamespace) voidupgradeDB(ClassLoader classLoader, String buildNamespace, long buildNumber, com.liferay.portal.kernel.model.ServiceComponent previousServiceComponent, String tablesSQL, String sequencesSQL, String indexesSQL) protected voidupgradeModels(ClassLoader classLoader, com.liferay.portal.kernel.model.ServiceComponent previousServiceComponent, String tablesSQL) Methods inherited from class com.liferay.portal.service.base.ServiceComponentLocalServiceBaseImpl
addServiceComponent, afterPropertiesSet, createPersistedModel, createServiceComponent, deletePersistedModel, deleteServiceComponent, deleteServiceComponent, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchServiceComponent, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getServiceComponent, getServiceComponentFinder, getServiceComponentLocalService, getServiceComponentPersistence, getServiceComponents, getServiceComponentsCount, initActionableDynamicQuery, runSQL, setCounterLocalService, setServiceComponentFinder, setServiceComponentLocalService, setServiceComponentPersistence, updateServiceComponentMethods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
ServiceComponentLocalServiceImpl
public ServiceComponentLocalServiceImpl()
-
-
Method Details
-
getLatestServiceComponents
-
initServiceComponent
public com.liferay.portal.kernel.model.ServiceComponent initServiceComponent(com.liferay.portal.kernel.service.configuration.ServiceComponentConfiguration serviceComponentConfiguration, ClassLoader classLoader, String buildNamespace, long buildNumber, long buildDate) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
upgradeDB
public void upgradeDB(ClassLoader classLoader, String buildNamespace, long buildNumber, com.liferay.portal.kernel.model.ServiceComponent previousServiceComponent, String tablesSQL, String sequencesSQL, String indexesSQL) throws Exception - Throws:
Exception
-
getModelNames
protected List<String> getModelNames(ClassLoader classLoader) throws com.liferay.portal.kernel.xml.DocumentException, IOException - Throws:
com.liferay.portal.kernel.xml.DocumentExceptionIOException
-
getModelNames
protected List<String> getModelNames(String xml) throws com.liferay.portal.kernel.xml.DocumentException - Throws:
com.liferay.portal.kernel.xml.DocumentException
-
getModifiedTableNames
-
getUpgradeTableListener
protected com.liferay.portal.kernel.upgrade.util.UpgradeTableListener getUpgradeTableListener(ClassLoader classLoader, Class<?> modelClass) -
removeOldServiceComponents
-
upgradeModels
protected void upgradeModels(ClassLoader classLoader, com.liferay.portal.kernel.model.ServiceComponent previousServiceComponent, String tablesSQL) throws Exception - Throws:
Exception
-