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 StringCOL_CLIENTIDprotected ClientPluginFilefileEntityprotected @NotNull Mandantmandant- 
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_UUID, description, name, pluginFileKey, pluginKey, pluginRepository, remoteSync, 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 ClientPluginFilegetFileEntity()LonggetId()MandantgetMandant()StringgetScopeKey()voidsetFileEntity(ClientPluginFile fileEntity)voidsetId(Long id)!!!WARNING: Currently values biggerInteger.MAX_VALUEor lower thenInteger.MIN_VALUEwill be altered to null!!!voidsetMandant(Mandant mandant)- 
Methods inherited from class de.xima.fc.entities.APluginEntity
getBeschreibung, getName, getPluginFileKey, getPluginId, getPluginKey, getPluginRepository, getRuntimeKey, getUUID, getUUIDObject, isActive, isRemoteSync, setActive, setBeschreibung, setName, setPluginFileKey, setPluginKey, setPluginRepository, setRemoteSync, 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_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
public ClientPluginFile 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
public void setFileEntity(ClientPluginFile fileEntity)
 
- 
getMandant
public Mandant getMandant()
- Specified by:
 getMandantin interfaceIMandantDependent
 
- 
setMandant
public void setMandant(Mandant mandant)
- Specified by:
 setMandantin interfaceIMandantDependent
 
- 
getScopeKey
public String 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. 
 
 - 
 
 -