Package de.xima.fc.entities
Class AFileEntity<E extends de.xima.cmn.dao.interfaces.IEntity<Long>,T extends IFileDataEntity<?>>
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- de.xima.fc.entities.AbstractEntity
-
- de.xima.fc.entities.AbstractLockableEntity
-
- de.xima.fc.entities.AFileEntity<E,T>
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,IAbstractDatei<T>
,IFileEntity<E,T>
,ILockingVersionProviding
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
- Direct Known Subclasses:
APluginFileEntity
,AttachmentDatei
,ClientAuthenticatorFile
,FormEingangDatei
,FormTemplateFile
,FormVersionBackup
,FormVersionDatei
,MandantRessourceDatei
,ProjektRessourceDatei
,SystemAuthenticatorFile
,WorkflowVersionBackup
@MappedSuperclass public abstract class AFileEntity<E extends de.xima.cmn.dao.interfaces.IEntity<Long>,T extends IFileDataEntity<?>> extends AbstractLockableEntity implements IFileEntity<E,T>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Date
aenderungsdatum
protected String
benutzer_erstellt
protected String
benutzer_geaendert
static String
COL_DATE_CREATED
Database column name for thegetErstellungsdatum()
field.static String
COL_DATE_MODIFIED
Database column name for thegetAenderungsdatum()
field.static String
COL_NAME
Database column name for thegetDateiname()
field.static String
COL_USER_NAME_CREATED
Database column name for thegetBenutzer_erstellt()
field.static String
COL_USER_NAME_MODIFIED
Database column name for thegetBenutzer_geaendert()
field.protected @NotNull @Size(min=1,max=1) List<T>
dataEntities
protected String
dateiname
protected Date
erstellungsdatum
-
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.IFileEntity
ATTR_AENDERUNGSDATUM, ATTR_BASE_ENTITY, ATTR_BENUTZER, ATTR_BENUTZER_GEAENDERT, ATTR_DATA_ENTITY, ATTR_DATEINAME, ATTR_DATEN, ATTR_ERSTELLUNGSDATUM
-
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
-
-
Constructor Summary
Constructors Constructor Description AFileEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getAenderungsdatum()
String
getBenutzer_erstellt()
String
getBenutzer_geaendert()
List<T>
getDataEntities()
String
getDateiname()
byte[]
getDaten()
Date
getErstellungsdatum()
void
setAenderungsdatum(Date dateModified)
void
setBenutzer_erstellt(String userNameCreated)
void
setBenutzer_geaendert(String userNameModified)
void
setDataEntities(List<T> dataEntities)
void
setDateiname(String fileName)
void
setErstellungsdatum(Date dateCreated)
-
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, 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.IFileEntity
getBaseEntity, getDataEntity, getDateiDaten, setBaseEntity, setDataEntity, setDateiDaten, setNewData
-
-
-
-
Field Detail
-
COL_DATE_CREATED
public static final String COL_DATE_CREATED
Database column name for thegetErstellungsdatum()
field.- See Also:
- Constant Field Values
-
COL_DATE_MODIFIED
public static final String COL_DATE_MODIFIED
Database column name for thegetAenderungsdatum()
field.- See Also:
- Constant Field Values
-
COL_NAME
public static final String COL_NAME
Database column name for thegetDateiname()
field.- See Also:
- Constant Field Values
-
COL_USER_NAME_CREATED
public static final String COL_USER_NAME_CREATED
Database column name for thegetBenutzer_erstellt()
field.- See Also:
- Constant Field Values
-
COL_USER_NAME_MODIFIED
public static final String COL_USER_NAME_MODIFIED
Database column name for thegetBenutzer_geaendert()
field.- See Also:
- Constant Field Values
-
erstellungsdatum
protected Date erstellungsdatum
-
aenderungsdatum
protected Date aenderungsdatum
-
dateiname
protected String dateiname
-
benutzer_erstellt
protected String benutzer_erstellt
-
benutzer_geaendert
protected String benutzer_geaendert
-
dataEntities
@NotNull @Size(min=1, max=1) protected @NotNull @Size(min=1,max=1) List<T extends IFileDataEntity<?>> dataEntities
-
-
Method Detail
-
getDaten
public byte[] getDaten()
- Specified by:
getDaten
in interfaceIAbstractDatei<E extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Specified by:
getDaten
in interfaceIFileEntity<E extends de.xima.cmn.dao.interfaces.IEntity<Long>,T extends IFileDataEntity<?>>
-
getErstellungsdatum
public Date getErstellungsdatum()
- Specified by:
getErstellungsdatum
in interfaceIAbstractDatei<E extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Specified by:
getErstellungsdatum
in interfaceIFileEntity<E extends de.xima.cmn.dao.interfaces.IEntity<Long>,T extends IFileDataEntity<?>>
-
setErstellungsdatum
public void setErstellungsdatum(Date dateCreated)
- Specified by:
setErstellungsdatum
in interfaceIAbstractDatei<E extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Specified by:
setErstellungsdatum
in interfaceIFileEntity<E extends de.xima.cmn.dao.interfaces.IEntity<Long>,T extends IFileDataEntity<?>>
-
getAenderungsdatum
public Date getAenderungsdatum()
- Specified by:
getAenderungsdatum
in interfaceIAbstractDatei<E extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Specified by:
getAenderungsdatum
in interfaceIFileEntity<E extends de.xima.cmn.dao.interfaces.IEntity<Long>,T extends IFileDataEntity<?>>
-
setAenderungsdatum
public void setAenderungsdatum(Date dateModified)
- Specified by:
setAenderungsdatum
in interfaceIAbstractDatei<E extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Specified by:
setAenderungsdatum
in interfaceIFileEntity<E extends de.xima.cmn.dao.interfaces.IEntity<Long>,T extends IFileDataEntity<?>>
-
getDateiname
public String getDateiname()
- Specified by:
getDateiname
in interfaceIAbstractDatei<E extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Specified by:
getDateiname
in interfaceIFileEntity<E extends de.xima.cmn.dao.interfaces.IEntity<Long>,T extends IFileDataEntity<?>>
-
setDateiname
public void setDateiname(String fileName)
- Specified by:
setDateiname
in interfaceIAbstractDatei<E extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Specified by:
setDateiname
in interfaceIFileEntity<E extends de.xima.cmn.dao.interfaces.IEntity<Long>,T extends IFileDataEntity<?>>
-
getBenutzer_erstellt
public String getBenutzer_erstellt()
- Specified by:
getBenutzer_erstellt
in interfaceIAbstractDatei<E extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Specified by:
getBenutzer_erstellt
in interfaceIFileEntity<E extends de.xima.cmn.dao.interfaces.IEntity<Long>,T extends IFileDataEntity<?>>
-
setBenutzer_erstellt
public void setBenutzer_erstellt(String userNameCreated)
- Specified by:
setBenutzer_erstellt
in interfaceIAbstractDatei<E extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Specified by:
setBenutzer_erstellt
in interfaceIFileEntity<E extends de.xima.cmn.dao.interfaces.IEntity<Long>,T extends IFileDataEntity<?>>
-
getBenutzer_geaendert
public String getBenutzer_geaendert()
- Specified by:
getBenutzer_geaendert
in interfaceIAbstractDatei<E extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Specified by:
getBenutzer_geaendert
in interfaceIFileEntity<E extends de.xima.cmn.dao.interfaces.IEntity<Long>,T extends IFileDataEntity<?>>
-
setBenutzer_geaendert
public void setBenutzer_geaendert(String userNameModified)
- Specified by:
setBenutzer_geaendert
in interfaceIAbstractDatei<E extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Specified by:
setBenutzer_geaendert
in interfaceIFileEntity<E extends de.xima.cmn.dao.interfaces.IEntity<Long>,T extends IFileDataEntity<?>>
-
-