Package de.xima.fc.entities
Class ProjectDOIData
- 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.ProjectDOIData
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,IProjektDependent
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,IUUIDEntity
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class ProjectDOIData extends ALockableEntity implements IProjektDependent, IUUIDEntity
Entity for project-specific double-opt-in data- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_ACTIVE
static String
ATTR_DELETE_DELAY
static String
ATTR_OPT_IN_ERROR_TEMPLATE
static String
ATTR_OPT_IN_SUCCESS_TEMPLATE
static String
ATTR_SEND_SUCCESS_TEMPLATE
static String
COL_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.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, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID
-
-
Constructor Summary
Constructors Constructor Description ProjectDOIData()
-
Method Summary
-
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
-
ATTR_ACTIVE
public static final String ATTR_ACTIVE
- See Also:
- Constant Field Values
-
ATTR_DELETE_DELAY
public static final String ATTR_DELETE_DELAY
- See Also:
- Constant Field Values
-
ATTR_SEND_SUCCESS_TEMPLATE
public static final String ATTR_SEND_SUCCESS_TEMPLATE
- See Also:
- Constant Field Values
-
ATTR_OPT_IN_SUCCESS_TEMPLATE
public static final String ATTR_OPT_IN_SUCCESS_TEMPLATE
- See Also:
- Constant Field Values
-
ATTR_OPT_IN_ERROR_TEMPLATE
public static final String ATTR_OPT_IN_ERROR_TEMPLATE
- See Also:
- Constant Field Values
-
COL_UUID
public static final String COL_UUID
- 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()
- Specified by:
getUUID
in interfaceIUUIDEntity
- Returns:
- UUID (Universal Unique Identifier) that identifies this type of entity. Usually is unique within a context,
e.g.
Mandant
,Projekt
, ...
-
setUUID
public void setUUID(String uuid)
- Specified by:
setUUID
in interfaceIUUIDEntity
-
getUUIDObject
public UUID getUUIDObject()
- Specified by:
getUUIDObject
in interfaceIUUIDEntity
-
setUUIDObject
public void setUUIDObject(UUID uuid)
-
getProjekt
public Projekt getProjekt()
- Specified by:
getProjekt
in interfaceIProjektDependent
-
setProjekt
public void setProjekt(Projekt project)
- Specified by:
setProjekt
in interfaceIProjektDependent
-
isActive
public boolean isActive()
- Returns:
- the active
-
setActive
public void setActive(boolean active)
- Parameters:
active
- the active to set
-
getDeleteDelay
public long getDeleteDelay()
- Returns:
- the deleteDelay
-
setDeleteDelay
public void setDeleteDelay(long deleteDelay)
- Parameters:
deleteDelay
- the deleteDelay to set
-
getSenderMail
public String getSenderMail()
- Returns:
- the senderMail
-
setSenderMail
public void setSenderMail(String senderMail)
- Parameters:
senderMail
- the senderMail to set
-
getReceiverMail
public String getReceiverMail()
- Returns:
- the receiverMail
-
setReceiverMail
public void setReceiverMail(String receiverMail)
- Parameters:
receiverMail
- the receiverMail to set
-
getSenderName
public String getSenderName()
- Returns:
- the senderName
-
setSenderName
public void setSenderName(String senderName)
- Parameters:
senderName
- the senderName to set
-
getMailContent
public String getMailContent()
- Returns:
- the mailContent
-
setMailContent
public void setMailContent(String mailContent)
- Parameters:
mailContent
- the mailContent to set
-
getMailSubject
public String getMailSubject()
- Returns:
- the mailSubject
-
setMailSubject
public void setMailSubject(String mailSubject)
- Parameters:
mailSubject
- the mailSubject to set
-
getReceivedSuccessTemplate
public Textbaustein getReceivedSuccessTemplate()
- Returns:
- the sendSuccessTemplate
-
setReceivedSuccessTemplate
public void setReceivedSuccessTemplate(Textbaustein receivedSuccessTemplate)
- Parameters:
receivedSuccessTemplate
- the sendSuccessTemplate to set
-
getOptInSuccessTemplate
public Textbaustein getOptInSuccessTemplate()
- Returns:
- the optInSuccessTemplate
-
setOptInSuccessTemplate
public void setOptInSuccessTemplate(Textbaustein optInSuccessTemplate)
- Parameters:
optInSuccessTemplate
- the optInSuccessTemplate to set
-
getOptInErrorTemplate
public Textbaustein getOptInErrorTemplate()
- Returns:
- the optInErrorTemplate
-
setOptInErrorTemplate
public void setOptInErrorTemplate(Textbaustein optInErrorTemplate)
- Parameters:
optInErrorTemplate
- the optInErrorTemplate to set
-
cloneBasics
public ProjectDOIData cloneBasics()
-
-