Class AppointmentClientClosingTime
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AbstractLockableEntity
de.xima.fc.entities.AAppointmentClosingTime
de.xima.fc.entities.AppointmentClientClosingTime
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, de.xima.cmn.dao.interfaces.ILockableEntity<Long>, IAppointmentClosingTime, ILockingVersionProviding, IMandantDependent, INameProviding, ITransferable, ITransferableEntity, ITransferableLockableEntity, IUUIDEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity
public class AppointmentClientClosingTime
extends AAppointmentClosingTime
implements IMandantDependent
Describes the closing hours of an
AppointmentTemplate.- Since:
- 7.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringJPA attribute name for thegetExcluded()field.Fields inherited from class AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface IAppointmentClosingTime
ATTR_ALL_DAY, ATTR_DATE_FROM, ATTR_DATE_UNTIL, ATTR_TIME_FROM, ATTR_TIME_UNTIL, COL_ALL_DAY, COL_DATE_FROM, COL_DATE_UNTIL, COL_TIME_FROM, COL_TIME_UNTILFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields 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
ATTR_NAME, COL_NAMEFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface IUUIDEntity
ATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExcluded(AppointmentTemplate template) Deprecated.booleanisExcludedBy(AppointmentTemplate template) voidremoveExcluded(AppointmentTemplate template) voidvoidsetExcluded(List<AppointmentTemplate> excluded) voidsetMandant(Mandant mandant) Deprecated.UsesetClient(Mandant).Methods inherited from class AAppointmentClosingTime
cloneBasics, getDateFrom, getDateUntil, getId, getName, getTimeFrom, getTimeUntil, getUUID, getUUIDObject, isAllDay, isTimeRangeRequired, setAllDay, setDateFrom, setDateUntil, setName, setTimeFrom, setTimeUntil, setUUID, setUUIDObjectMethods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class AbstractEntity
asIntValue, isPersisted, setId, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from interface Comparable
compareToMethods inherited from interface IAppointmentClosingTime
getDateMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
getId, isPersisted, setId
-
Field Details
-
ATTR_EXCLUDED
-
-
Constructor Details
-
AppointmentClientClosingTime
public AppointmentClientClosingTime()
-
-
Method Details
-
addExcluded
- Parameters:
template- The template for which to exclude this closing time.
-
isExcludedBy
- Parameters:
template- TheAppointmentTemplateto check.- Returns:
- Whether this closing time is excluded by the given template.
-
getClient
- Returns:
- The client to which this template belongs to.
-
getExcluded
- Returns:
- The list of
AppointmentTemplatewhich are excluded of this closing time. May only be not null ifMandantis also not null.
-
getMandant
Deprecated.UsegetClient().- Specified by:
getMandantin interfaceIMandantDependent- Returns:
- The client to which this template belongs to.
-
removeExcluded
- Parameters:
template- TheAppointmentTemplatewhich may not be excluded of this closing time anymore.
-
setClient
- Parameters:
client- The client to which this template belongs to.
-
setExcluded
- Parameters:
excluded- The list ofAppointmentTemplatewhich are excluded of this closing time. May only be not null ifMandantis also not null.
-
cloneBasics
- Returns:
- A copy of this closing time.
-
setMandant
Deprecated.UsesetClient(Mandant).- Specified by:
setMandantin interfaceIMandantDependent- Parameters:
mandant- The client to which this template belongs to.
-
getClient().