Package de.xima.fc.entities
Class SystemPlugin
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
,INameProviding
,IPluginEntity<SystemPluginFile,
,SystemPluginFileData, SystemPluginConfigData> ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,IUUIDEntity
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity
public class SystemPlugin
extends APluginEntity<SystemPluginFile,SystemPluginFileData,SystemPluginConfigData>
Entity for system-wide plugins
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
FieldsFields inherited from class de.xima.fc.entities.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, uuid
Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
Fields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_ID
Fields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSION
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
Fields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
ATTR_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
void
setFileEntity
(SystemPluginFile fileEntity) void
!!!Methods inherited from class de.xima.fc.entities.APluginEntity
getBeschreibung, getName, getPluginFileKey, getPluginId, getPluginKey, getPluginRepository, getRuntimeKey, getServerRestrictionType, getUUID, getUUIDObject, isActive, isRemoteSync, setActive, setBeschreibung, setName, setPluginFileKey, setPluginKey, setPluginRepository, setRemoteSync, setServerRestrictionType, setUUID, setUUIDObject
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toString
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
getDescription
Methods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted
-
Field Details
-
fileEntity
-
-
Constructor Details
-
SystemPlugin
public SystemPlugin()
-
-
Method Details
-
getId
-
setId
Description copied from class:AbstractEntity
!!!WARNING: Currently values biggerInteger.MAX_VALUE
or lower thenInteger.MIN_VALUE
will be altered to null!!!- Specified by:
setId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
- Overrides:
setId
in classAbstractEntity
- Parameters:
id
-Long
the database-id to set
-
getFileEntity
- Returns:
- File entity with the file meta data of the plugin file, such as the file size.
-
setFileEntity
-
getScopeKey
- Returns:
- The scope key of this plugin, either the client UUID for client-scoped plugins or
SYSTEM_SCOPE_KEY
for system scoped plugins.
-