Class FormTemplate
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, IFileProviding<FormTemplateFile, FormTemplateFileData>, ILockingVersionProviding, IMandantDependent, INameProviding, ITransferable, ITransferableEntity, ITransferableLockableEntity, IUUIDEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity
public class FormTemplate
extends AClientDependentEntity
implements IFileProviding<FormTemplateFile, FormTemplateFileData>, IDescriptionProviding, INameProviding, IUUIDEntity
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class AClientDependentEntity
COL_CLIENTID, mandantFields inherited from class AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface IDescriptionProviding
ATTR_BESCHREIBUNG, COL_DESCRIPTIONFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface IFileProviding
ATTR_DATEI, ATTR_FILEFields 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
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 TypeMethodDescriptionvoidaddTag(FormTemplateTag tag) getId()getName()getScope()getTags()getUUID()Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidUpdates who changed this tag most recently and when they changed it.voidremoveTag(FormTemplateTag tag) voidsetClassname(String classname) voidsetDescription(String description) voidsetFileEntity(FormTemplateFile fileEntity) void!!!voidvoidsetScope(EFormTemplateScope scope) voidsetTags(List<FormTemplateTag> tags) This method should only be used by Hibernate.voidSets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetUUIDObject(UUID uuid) Methods inherited from class AClientDependentEntity
getMandant, setMandantMethods 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 de.xima.cmn.dao.interfaces.IEntity
isPersistedMethods inherited from interface IFileProviding
getDatei, setDatei
-
Field Details
-
ATTR_NAME
- See Also:
-
ATTR_DESCRIPTION
- See Also:
-
ATTR_TAGS
- See Also:
-
ATTR_CLASSNAME
- See Also:
-
ATTR_SCOPE
- See Also:
-
COL_UUID
- See Also:
-
-
Constructor Details
-
FormTemplate
public FormTemplate()
-
-
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
-
getUUID
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
setUUID
Description copied from interface:IUUIDEntitySets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
setUUIDin interfaceIUUIDEntity- Parameters:
uuid- The UUID of the entity.
-
getUUIDObject
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDObjectin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
setUUIDObject
-
getClassname
-
setClassname
-
getDescription
- Specified by:
getDescriptionin interfaceIDescriptionProviding- Returns:
- A human-readable description for this object.
-
setDescription
-
getScope
-
setScope
-
getName
- Specified by:
getNamein interfaceINameProviding- Returns:
- The name of this object.
-
setName
-
getTags
-
setTags
This method should only be used by Hibernate. To add tags or remove tags, useaddTag(FormTemplateTag),removeTag(FormTemplateTag). These methods take care of keeping the template lists for the tags synced.- Parameters:
tags- List of tags to set
-
getFileEntity
- Specified by:
getFileEntityin interfaceIFileProviding<FormTemplateFile, FormTemplateFileData>
-
setFileEntity
- Specified by:
setFileEntityin interfaceIFileProviding<FormTemplateFile, FormTemplateFileData>
-
addTag
- Parameters:
tag- Tag to be added to this template.
-
removeTag
- Parameters:
tag- Tag to be removed to this template.
-
getBeschreibung
- Specified by:
getBeschreibungin interfaceIDescriptionProviding
-
nowEdited
Updates who changed this tag most recently and when they changed it. Uses the current server date.- Parameters:
editor- Name of the user who made the change.
-