public class PluginPackageUtil
extends Object
Modifier and Type | Method and Description |
---|---|
static void |
endPluginPackageInstallation(String preliminaryContext) |
static com.liferay.portal.kernel.plugin.PluginPackage |
getInstalledPluginPackage(String context) |
static List<com.liferay.portal.kernel.plugin.PluginPackage> |
getInstalledPluginPackages() |
static boolean |
isCurrentVersionSupported(List<String> versions) |
static boolean |
isInstalled(String context) |
static com.liferay.portal.kernel.plugin.PluginPackage |
readPluginPackageProperties(String displayName,
Properties properties) |
static com.liferay.portal.kernel.plugin.PluginPackage |
readPluginPackageServletContext(javax.servlet.ServletContext servletContext) |
static com.liferay.portal.kernel.plugin.PluginPackage |
readPluginPackageXml(String xml) |
static void |
registerInstalledPluginPackage(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) |
static void |
unregisterInstalledPluginPackage(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) |
static void |
updateInstallingPluginPackage(String preliminaryContext,
com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) |
public static void endPluginPackageInstallation(String preliminaryContext)
public static com.liferay.portal.kernel.plugin.PluginPackage getInstalledPluginPackage(String context)
public static List<com.liferay.portal.kernel.plugin.PluginPackage> getInstalledPluginPackages()
public static boolean isCurrentVersionSupported(List<String> versions)
public static boolean isInstalled(String context)
public static com.liferay.portal.kernel.plugin.PluginPackage readPluginPackageProperties(String displayName, Properties properties)
public static com.liferay.portal.kernel.plugin.PluginPackage readPluginPackageServletContext(javax.servlet.ServletContext servletContext) throws com.liferay.portal.kernel.xml.DocumentException, IOException
com.liferay.portal.kernel.xml.DocumentException
IOException
public static com.liferay.portal.kernel.plugin.PluginPackage readPluginPackageXml(String xml) throws com.liferay.portal.kernel.xml.DocumentException
com.liferay.portal.kernel.xml.DocumentException
public static void registerInstalledPluginPackage(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unregisterInstalledPluginPackage(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void updateInstallingPluginPackage(String preliminaryContext, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)