public class PluginWrapperModel<E extends IPluginEntity<?,?,?>> extends I18nUtils implements INameProviding
ATTR_NAME, COL_NAME
Constructor and Description |
---|
PluginWrapperModel(Locale locale,
E pluginEntity,
IGenericDao<E> dao)
Creates a new plugin wrapper for a given plugin runtime and database access object.
|
PluginWrapperModel(Locale locale,
PluginRuntime pluginRuntime,
IGenericDao<E> dao)
Creates a new plugin wrapper for a given plugin runtime and database access object.
|
Modifier and Type | Method and Description |
---|---|
void |
addNewProperty() |
void |
delete(Benutzer user) |
void |
deselected() |
boolean |
equals(Object obj) |
protected void |
finalize() |
List<ParameterModel> |
getAllProperties() |
EPluginCompatibility |
getCompatibility() |
String |
getInitErrorMsg() |
PluginManifest |
getManifest() |
String |
getManifestAsString() |
String |
getName() |
E |
getPluginEntity() |
List<ParameterModel> |
getPluginList() |
PluginRuntime |
getPluginRuntime() |
ParameterModel |
getProperty(String paramName) |
String |
getRuntimeKey() |
String |
getScopeKey() |
void |
initPluginUpload(File sourceFile,
String fileName,
Locale currentLocale,
boolean pluginInstall,
boolean pluginIntialize) |
boolean |
isActive() |
boolean |
isEmpty() |
boolean |
isSystemManaged() |
boolean |
isUnsaved() |
void |
removeProperty(int idx) |
List<FCMessage> |
save(Benutzer user) |
void |
selected() |
void |
setActive(boolean isActive) |
void |
setPluginEntity(E pluginEntity) |
public PluginWrapperModel(Locale locale, E pluginEntity, IGenericDao<E> dao)
locale
- Locale for localizing the plugin name and description.pluginEntity
- Plugin instance to wrap.dao
- Database access object for the plugin.public PluginWrapperModel(Locale locale, PluginRuntime pluginRuntime, IGenericDao<E> dao)
locale
- Locale for localizing the plugin name and description.pluginRuntime
- Runtime of the plugin to wrap.dao
- Database access object for the plugin.public void initPluginUpload(File sourceFile, String fileName, Locale currentLocale, boolean pluginInstall, boolean pluginIntialize) throws MalformedURLException
MalformedURLException
public String getName()
getName
in interface INameProviding
public List<ParameterModel> getAllProperties()
public PluginRuntime getPluginRuntime()
public List<ParameterModel> getPluginList()
public PluginManifest getManifest()
public EPluginCompatibility getCompatibility()
public boolean isSystemManaged()
public String getScopeKey()
public String getRuntimeKey()
public void setPluginEntity(E pluginEntity)
public E getPluginEntity()
public boolean isActive()
public void setActive(boolean isActive)
public String getInitErrorMsg()
public String getManifestAsString()
public void addNewProperty()
public void removeProperty(int idx)
public ParameterModel getProperty(String paramName)
public List<FCMessage> save(Benutzer user) throws IOException, FCPluginException
IOException
FCPluginException
public void delete(Benutzer user) throws IOException
IOException
public void deselected()
public void selected()
public boolean isUnsaved()
public boolean isEmpty()
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.