Package de.xima.fc.entities
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
COL_CLIENTID
protected ClientPluginFile
fileEntity
protected @NotNull Mandant
mandant
-
Fields 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.fc.entities.interfaces.IMandantDependent
ATTR_MANDANT, COL_CLIENT_ID
-
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 Constructor Description ClientPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientPluginFile
getFileEntity()
Long
getId()
Mandant
getMandant()
String
getScopeKey()
void
setFileEntity(ClientPluginFile fileEntity)
void
setId(Long id)
!!!WARNING: Currently values biggerInteger.MAX_VALUE
or lower thenInteger.MIN_VALUE
will be altered to null!!!void
setMandant(Mandant mandant)
-
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
-
-
-
-
Field Detail
-
COL_CLIENTID
public static final String COL_CLIENTID
- See Also:
- Constant Field Values
-
mandant
@NotNull protected @NotNull Mandant mandant
-
fileEntity
protected ClientPluginFile fileEntity
-
-
Method Detail
-
setId
public void setId(Long id)
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
public ClientPluginFile getFileEntity()
- Specified by:
getFileEntity
in interfaceIPluginEntity<ClientPluginFile,ClientPluginFileData,ClientPluginConfigData>
- Returns:
- File entity with the file meta data of the plugin file, such as the file size.
-
setFileEntity
public void setFileEntity(ClientPluginFile fileEntity)
-
getMandant
public Mandant getMandant()
- Specified by:
getMandant
in interfaceIMandantDependent
-
setMandant
public void setMandant(Mandant mandant)
- Specified by:
setMandant
in interfaceIMandantDependent
-
getScopeKey
public String getScopeKey()
- Specified by:
getScopeKey
in interfaceIPluginEntity<ClientPluginFile,ClientPluginFileData,ClientPluginConfigData>
- Returns:
- The scope key of this plugin, either the client UUID for client-scoped plugins or
SYSTEM_SCOPE_KEY
for system scoped plugins.
-
-