Package de.xima.fc.entities
Class ProjectPortalData
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- de.xima.fc.entities.AbstractEntity
-
- de.xima.fc.entities.AbstractLockableEntity
-
- de.xima.fc.entities.ALockableEntity
-
- de.xima.fc.entities.ProjectPortalData
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,ILockingVersionProviding
,IProjektDependent
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,IUUIDEntity
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class ProjectPortalData extends ALockableEntity implements IProjektDependent, IUUIDEntity
Entity for storing project specific portal data.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
COL_ACCEPTED_UPLOAD_TYPES
static String
COL_DEFAULT_SENDER_NAME
static String
COL_PROJECT_ID
static String
COL_UPLOAD_SIZE_LIMIT
-
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.IProjektDependent
ATTR_PROJEKT
-
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, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID
-
-
Constructor Summary
Constructors Constructor Description ProjectPortalData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAcceptedUploadTypes()
String
getDefaultSenderName()
Long
getId()
Projekt
getProjekt()
long
getUploadSizeLimit()
long
getUploadSizeLimitAsKiloBytes()
String
getUUID()
Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.UUID
getUUIDObject()
Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.void
setAcceptedUploadTypes(String acceptedUploadTypes)
void
setDefaultSenderName(String defaultSenderName)
void
setId(Long id)
!!!WARNING: Currently values biggerInteger.MAX_VALUE
or lower thenInteger.MIN_VALUE
will be altered to null!!!void
setProjekt(Projekt project)
void
setUploadSizeLimit(long uploadSizeLimit)
void
setUUID(String uuid)
Sets the UUID (universal unique identifier) that uniquely identifies this type of entity.void
setUUIDObject(UUID uuid)
-
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
-
-
-
-
Field Detail
-
COL_DEFAULT_SENDER_NAME
public static final String COL_DEFAULT_SENDER_NAME
- See Also:
- Constant Field Values
-
COL_UPLOAD_SIZE_LIMIT
public static final String COL_UPLOAD_SIZE_LIMIT
- See Also:
- Constant Field Values
-
COL_ACCEPTED_UPLOAD_TYPES
public static final String COL_ACCEPTED_UPLOAD_TYPES
- See Also:
- Constant Field Values
-
COL_PROJECT_ID
public static final String COL_PROJECT_ID
- See Also:
- Constant Field Values
-
-
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
-
getUUID
public String getUUID()
Description copied from interface:IUUIDEntity
Gets 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 scopes
orproject scope
.- Specified by:
getUUID
in interfaceIUUIDEntity
- Returns:
- The UUID of the entity.
-
setUUID
public void setUUID(String uuid)
Description copied from interface:IUUIDEntity
Sets 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 scopes
orproject scope
.- Specified by:
setUUID
in interfaceIUUIDEntity
- Parameters:
uuid
- The UUID of the entity.
-
getUUIDObject
public UUID getUUIDObject()
Description copied from interface:IUUIDEntity
Gets 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 scopes
orproject scope
.- Specified by:
getUUIDObject
in interfaceIUUIDEntity
- Returns:
- The UUID of the entity.
-
setUUIDObject
public void setUUIDObject(UUID uuid)
-
getUploadSizeLimit
public long getUploadSizeLimit()
-
setUploadSizeLimit
public void setUploadSizeLimit(long uploadSizeLimit)
-
getDefaultSenderName
public String getDefaultSenderName()
-
setDefaultSenderName
public void setDefaultSenderName(String defaultSenderName)
-
getAcceptedUploadTypes
public String getAcceptedUploadTypes()
-
setProjekt
public void setProjekt(Projekt project)
- Specified by:
setProjekt
in interfaceIProjektDependent
-
setAcceptedUploadTypes
public void setAcceptedUploadTypes(String acceptedUploadTypes)
-
getProjekt
public Projekt getProjekt()
- Specified by:
getProjekt
in interfaceIProjektDependent
-
getUploadSizeLimitAsKiloBytes
public long getUploadSizeLimitAsKiloBytes()
-
-