public class ServiceComponentLocalServiceImpl extends ServiceComponentLocalServiceBaseImpl
Modifier and Type | Class and Description |
---|---|
class |
ServiceComponentLocalServiceImpl.DoUpgradeDBPrivilegedExceptionAction |
static interface |
ServiceComponentLocalServiceImpl.PACL |
counterLocalService, persistedModelLocalServiceRegistry, releaseLocalService, releasePersistence, serviceComponentFinder, serviceComponentLocalService, serviceComponentPersistence
Constructor and Description |
---|
ServiceComponentLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
destroyServiceComponent(com.liferay.portal.kernel.service.configuration.ServiceComponentConfiguration serviceComponentConfiguration,
ClassLoader classLoader) |
protected void |
doUpgradeDB(ClassLoader classLoader,
String buildNamespace,
long buildNumber,
boolean buildAutoUpgrade,
com.liferay.portal.kernel.model.ServiceComponent previousServiceComponent,
String tablesSQL,
String sequencesSQL,
String indexesSQL)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
List<com.liferay.portal.kernel.model.ServiceComponent> |
getLatestServiceComponents() |
protected List<String> |
getModelNames(ClassLoader classLoader) |
protected List<String> |
getModelNames(String xml) |
protected List<String> |
getModifiedTableNames(String previousTablesSQL,
String tablesSQL) |
protected com.liferay.portal.kernel.upgrade.util.UpgradeTableListener |
getUpgradeTableListener(ClassLoader classLoader,
Class<?> modelClass) |
com.liferay.portal.kernel.model.ServiceComponent |
initServiceComponent(com.liferay.portal.kernel.service.configuration.ServiceComponentConfiguration serviceComponentConfiguration,
ClassLoader classLoader,
String buildNamespace,
long buildNumber,
long buildDate) |
com.liferay.portal.kernel.model.ServiceComponent |
initServiceComponent(com.liferay.portal.kernel.service.configuration.ServiceComponentConfiguration serviceComponentConfiguration,
ClassLoader classLoader,
String buildNamespace,
long buildNumber,
long buildDate,
boolean buildAutoUpgrade)
Deprecated.
As of Judson (7.1.x), replaced by
initServiceComponent(ServiceComponentConfiguration,
ClassLoader, String, long, long) |
protected void |
removeOldServiceComponents(String buildNamespace) |
void |
upgradeDB(ClassLoader classLoader,
String buildNamespace,
long buildNumber,
boolean buildAutoUpgrade,
com.liferay.portal.kernel.model.ServiceComponent previousServiceComponent,
String tablesSQL,
String sequencesSQL,
String indexesSQL)
Deprecated.
As of Judson (7.1.x), replaced by
upgradeDB(ClassLoader, String, long, ServiceComponent,
String, String, String) |
void |
upgradeDB(ClassLoader classLoader,
String buildNamespace,
long buildNumber,
com.liferay.portal.kernel.model.ServiceComponent previousServiceComponent,
String tablesSQL,
String sequencesSQL,
String indexesSQL) |
protected void |
upgradeModels(ClassLoader classLoader,
com.liferay.portal.kernel.model.ServiceComponent previousServiceComponent,
String tablesSQL) |
void |
verifyDB() |
addServiceComponent, afterPropertiesSet, createServiceComponent, deletePersistedModel, deleteServiceComponent, deleteServiceComponent, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchServiceComponent, getActionableDynamicQuery, getCounterLocalService, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getReleaseLocalService, getReleasePersistence, getServiceComponent, getServiceComponentFinder, getServiceComponentLocalService, getServiceComponentPersistence, getServiceComponents, getServiceComponentsCount, initActionableDynamicQuery, runSQL, setCounterLocalService, setReleaseLocalService, setReleasePersistence, setServiceComponentFinder, setServiceComponentLocalService, setServiceComponentPersistence, updateServiceComponent
public void destroy()
destroy
in class ServiceComponentLocalServiceBaseImpl
public void destroyServiceComponent(com.liferay.portal.kernel.service.configuration.ServiceComponentConfiguration serviceComponentConfiguration, ClassLoader classLoader)
public List<com.liferay.portal.kernel.model.ServiceComponent> getLatestServiceComponents()
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
com.liferay.portal.kernel.exception.PortalException
@Deprecated public com.liferay.portal.kernel.model.ServiceComponent initServiceComponent(com.liferay.portal.kernel.service.configuration.ServiceComponentConfiguration serviceComponentConfiguration, ClassLoader classLoader, String buildNamespace, long buildNumber, long buildDate, boolean buildAutoUpgrade) throws com.liferay.portal.kernel.exception.PortalException
initServiceComponent(ServiceComponentConfiguration,
ClassLoader, String, long, long)
com.liferay.portal.kernel.exception.PortalException
@Deprecated public void upgradeDB(ClassLoader classLoader, String buildNamespace, long buildNumber, boolean buildAutoUpgrade, com.liferay.portal.kernel.model.ServiceComponent previousServiceComponent, String tablesSQL, String sequencesSQL, String indexesSQL) throws Exception
upgradeDB(ClassLoader, String, long, ServiceComponent,
String, String, String)
Exception
public void upgradeDB(ClassLoader classLoader, String buildNamespace, long buildNumber, com.liferay.portal.kernel.model.ServiceComponent previousServiceComponent, String tablesSQL, String sequencesSQL, String indexesSQL) throws Exception
Exception
public void verifyDB()
@Deprecated protected void doUpgradeDB(ClassLoader classLoader, String buildNamespace, long buildNumber, boolean buildAutoUpgrade, com.liferay.portal.kernel.model.ServiceComponent previousServiceComponent, String tablesSQL, String sequencesSQL, String indexesSQL) throws Exception
Exception
protected List<String> getModelNames(ClassLoader classLoader) throws com.liferay.portal.kernel.xml.DocumentException, IOException
com.liferay.portal.kernel.xml.DocumentException
IOException
protected List<String> getModelNames(String xml) throws com.liferay.portal.kernel.xml.DocumentException
com.liferay.portal.kernel.xml.DocumentException
protected List<String> getModifiedTableNames(String previousTablesSQL, String tablesSQL)
protected com.liferay.portal.kernel.upgrade.util.UpgradeTableListener getUpgradeTableListener(ClassLoader classLoader, Class<?> modelClass)
protected void removeOldServiceComponents(String buildNamespace)
protected void upgradeModels(ClassLoader classLoader, com.liferay.portal.kernel.model.ServiceComponent previousServiceComponent, String tablesSQL) throws Exception
Exception