Package de.xima.fc.entities.interfaces
Interface IPluginEntity<META extends IPluginFileEntity<?,?,?>,DATA extends IFileDataEntity<META>,CONFIG extends IFileDataEntity<META>>
- 
- Type Parameters:
- META- File entity with the file meta data of the plugin file, such as the file size.
- DATA- Data entity with the binary data of the plugin JAR.
- CONFIG- Data entity with the properties configuration file of the plugin.
 - All Superinterfaces:
- Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>,- IDescriptionProviding,- de.xima.cmn.dao.interfaces.IEntity<Long>,- INameProviding,- IUUIDEntity,- Serializable
 - All Known Implementing Classes:
- APluginEntity,- ClientPlugin,- SystemPlugin
 
 public interface IPluginEntity<META extends IPluginFileEntity<?,?,?>,DATA extends IFileDataEntity<META>,CONFIG extends IFileDataEntity<META>> extends IUUIDEntity, INameProviding, IDescriptionProviding, de.xima.cmn.dao.interfaces.IEntity<Long> A plugin entity, either scoped to a particular client or to the system.- Author:
- XIMA MEDIA GmbH
 
- 
- 
Field Summary- 
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProvidingATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
 - 
Fields inherited from interface de.xima.fc.entities.interfaces.INameProvidingATTR_NAME, COL_NAME
 - 
Fields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntityATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description METAgetFileEntity()StringgetPluginFileKey()PluginIDgetPluginId()Gets the ID of this plugin, if it has one.StringgetPluginKey()StringgetPluginRepository()StringgetRuntimeKey()StringgetScopeKey()EPluginServerRestrictionTypegetServerRestrictionType()booleanisActive()booleanisRemoteSync()voidsetActive(boolean active)voidsetBeschreibung(String description)voidsetName(String name)voidsetPluginFileKey(String pluginFileKey)voidsetPluginKey(String pluginKey)voidsetPluginRepository(String pluginRepository)voidsetRemoteSync(boolean sync)voidsetServerRestrictionType(EPluginServerRestrictionType serverRestrictionType)- 
Methods inherited from interface java.lang.ComparablecompareTo
 - 
Methods inherited from interface de.xima.fc.entities.interfaces.IDescriptionProvidinggetBeschreibung, getDescription
 - 
Methods inherited from interface de.xima.fc.entities.interfaces.INameProvidinggetName
 - 
Methods inherited from interface de.xima.fc.entities.interfaces.IUUIDEntitygetUUID, getUUIDObject, setUUID
 
- 
 
- 
- 
- 
Method Detail- 
getFileEntityMETA getFileEntity() - Returns:
- File entity with the file meta data of the plugin file, such as the file size.
 
 - 
getPluginFileKeyString getPluginFileKey() - Returns:
- The plugin file key as reported by the plugin, part of the ID that identifies the plugin. Plugins do not have a file key when they consist of only a single file.
 
 - 
getPluginIdPluginID getPluginId() Gets the ID of this plugin, if it has one.- Returns:
- The ID of this plugin, or nullif this plugin does not have an ID.
 
 - 
getPluginKeyString getPluginKey() - Returns:
- The plugin key as reported by the plugin, part of the ID that identifies the plugin. All plugins must have a plugin key, but legacy plugins may not have such a key yet.
 
 - 
getPluginRepositoryString getPluginRepository() - Returns:
- The repository of the plugin. Defaults to REPOSITORY_NONE. When a repository exists, the plugin can e.g. be updated automatically.
 
 - 
getRuntimeKeyString getRuntimeKey() - Returns:
- The runtime key of the plugin, the UUID of the database entity.
 
 - 
getScopeKeyString getScopeKey() - Returns:
- The scope key of this plugin, either the client UUID for client-scoped plugins or
     SYSTEM_SCOPE_KEYfor system scoped plugins.
 
 - 
isActiveboolean isActive() - Returns:
- Whether this plugin is currently enabled.
 
 - 
isRemoteSyncboolean isRemoteSync() - Returns:
- Whether this plugin is allowed to be enabled on the frontend server.
 
 - 
setActivevoid setActive(boolean active) - Parameters:
- active- Whether this plugin is currently enabled.
 
 - 
setBeschreibungvoid setBeschreibung(String description) - Parameters:
- description- Internal description of the plugin.
 
 - 
setNamevoid setName(String name) - Parameters:
- name- The name of the plugin, e.g. the file name.
 
 - 
setPluginFileKeyvoid setPluginFileKey(String pluginFileKey) - Parameters:
- pluginFileKey- The plugin file key as reported by the plugin, part of the ID that identifies the plugin. Plugins do not have a file key when they consist of only a single file.
 
 - 
setPluginKeyvoid setPluginKey(String pluginKey) - Parameters:
- pluginKey- The plugin key as reported by the plugin, part of the ID that identifies the plugin. All plugins must have a plugin key, but legacy plugins may not have such a key yet.
 
 - 
setPluginRepositoryvoid setPluginRepository(String pluginRepository) - Parameters:
- pluginRepository- The repository of the plugin. Defaults to- REPOSITORY_NONE. When a repository exists, the plugin can e.g. be updated automatically.
 
 - 
setRemoteSyncvoid setRemoteSync(boolean sync) - Parameters:
- sync- Whether this plugin is allowed to be enabled on the frontend server.
 
 - 
getServerRestrictionTypeEPluginServerRestrictionType getServerRestrictionType() - Returns:
- server type to which the installation of a plugin should be restricted
 
 - 
setServerRestrictionTypevoid setServerRestrictionType(EPluginServerRestrictionType serverRestrictionType) - Parameters:
- serverRestrictionType- server type to which the installation of a plugin should be restricted
 
 
- 
 
-