com.dotmarketing.plugin.business
Class PluginFactory
java.lang.Object
com.dotmarketing.plugin.business.PluginFactory
- Direct Known Subclasses:
- PluginFactoryDBImpl
public abstract class PluginFactory
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginFactory
public PluginFactory()
findPlugins
protected abstract java.util.List<Plugin> findPlugins()
throws DotDataException
- Loads all plugins in the system
- Returns:
-
- Throws:
DotDataException
loadPlugin
protected abstract Plugin loadPlugin(java.lang.String id)
throws DotDataException
- Load a plugin by its primary key(ID). The primary key of a Plugin
is it's fully qualified name in the plugin directory.
- Parameters:
id -
- Returns:
-
- Throws:
DotDataException
save
protected abstract void save(Plugin plugin)
throws DotDataException
- Parameters:
plugin -
- Throws:
DotDataException
delete
protected abstract void delete(Plugin plugin)
throws DotDataException
- Parameters:
plugin -
- Throws:
DotDataException
deletePluginProperties
protected abstract void deletePluginProperties(java.lang.String pluginId)
throws DotDataException
- Deletes all properties for a specified plugin
- Parameters:
pluginId -
- Throws:
DotDataException
loadProperty
protected abstract PluginProperty loadProperty(java.lang.String pluginId,
java.lang.String key)
throws DotDataException
- Parameters:
pluginId - key -
- Returns:
-
- Throws:
DotDataException
saveProperty
protected abstract void saveProperty(PluginProperty pluginProperty)
throws DotDataException
- Parameters:
pluginId - key - value -
- Throws:
DotDataException
Copyright © 2013 dotCMS Inc. All Rights Reserved.