Class ClientPlugin
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, de.xima.cmn.dao.interfaces.ILockableEntity<Long>, IDescriptionProviding, ILockingVersionProviding, IMandantDependent, INameProviding, IPluginEntity<ClientPluginFile, ClientPluginFileData, ClientPluginConfigData>, ITransferable, ITransferableEntity, ITransferableLockableEntity, IUUIDEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity
public class ClientPlugin
extends APluginEntity<ClientPluginFile, ClientPluginFileData, ClientPluginConfigData>
implements IMandantDependent
Entity for the binary data of an client-wide plugin
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected ClientPluginFileprotected @NotNull MandantFields inherited from class APluginEntity
active, ATTR_ACTIVE, ATTR_PLUGIN_FILE_KEY, ATTR_PLUGIN_KEY, ATTR_PLUGIN_REPOSITORY, ATTR_REMOTE_SYNC, COL_ACTIVE, COL_PLUGIN_FILE_KEY, COL_PLUGIN_KEY, COL_PLUGIN_REPOSITORY, COL_REMOTE_SYNC, COL_RESTRICT_SERVER_TYPE, COL_UUID, description, name, pluginFileKey, pluginKey, pluginRepository, remoteSync, serverRestrictionType, uuidFields inherited from class AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTIONFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface IMandantDependent
ATTR_CLIENT, ATTR_MANDANT, COL_CLIENT_IDFields inherited from interface INameProviding
ATTR_NAME, COL_NAMEFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface IUUIDEntity
ATTR_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()voidsetFileEntity(ClientPluginFile fileEntity) void!!!voidsetMandant(Mandant mandant) Methods inherited from class APluginEntity
getBeschreibung, getName, getPluginFileKey, getPluginId, getPluginKey, getPluginRepository, getRuntimeKey, getServerRestrictionType, getUUID, getUUIDObject, isActive, isRemoteSync, setActive, setBeschreibung, setName, setPluginFileKey, setPluginKey, setPluginRepository, setRemoteSync, setServerRestrictionType, setUUID, setUUIDObjectMethods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class AbstractEntity
asIntValue, isPersisted, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from interface Comparable
compareToMethods inherited from interface IDescriptionProviding
getDescriptionMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted
-
Field Details
-
COL_CLIENTID
- See Also:
-
mandant
-
fileEntity
-
-
Constructor Details
-
ClientPlugin
public ClientPlugin()
-
-
Method Details
-
getId
-
setId
Description copied from class:AbstractEntity!!!WARNING: Currently values biggerInteger.MAX_VALUEor lower thenInteger.MIN_VALUEwill be altered to null!!!- Specified by:
setIdin interfacede.xima.cmn.dao.interfaces.IEntity<Long>- Overrides:
setIdin classAbstractEntity- Parameters:
id-Longthe database-id to set
-
getFileEntity
- Specified by:
getFileEntityin interfaceIPluginEntity<ClientPluginFile, ClientPluginFileData, ClientPluginConfigData>- Returns:
- File entity with the file meta data of the plugin file, such as the file size.
-
setFileEntity
-
getMandant
- Specified by:
getMandantin interfaceIMandantDependent
-
setMandant
- Specified by:
setMandantin interfaceIMandantDependent
-
getScopeKey
- Specified by:
getScopeKeyin interfaceIPluginEntity<ClientPluginFile, ClientPluginFileData, ClientPluginConfigData>- Returns:
- The scope key of this plugin, either the client UUID for client-scoped plugins or
SYSTEM_SCOPE_KEYfor system scoped plugins.
-