Class DTODirectoryUpdate
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.docshare.documents.rs1.directory.DTODirectoryUpdate
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
DTO used to update the given directory.
- Since:
- 14.0
- See Also:
- GCApi:
- dto
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDraft()Checks if the directory is draft.final Optional<ZonedDateTime> Gets the end validity date.getName()Gets the name.final Optional<ZonedDateTime> Gets the start validity date.final voidSets the directory to draft.final voidsetEndValidityDate(Optional<ZonedDateTime> endValidityDate) Sets the end validity date.final voidSets the name.final voidsetStartValidityDate(Optional<ZonedDateTime> startValidityDate) Sets the start validity date.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
DTODirectoryUpdate
public DTODirectoryUpdate()
-
-
Method Details
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getStartValidityDate
Gets the start validity date.- Returns:
- the start validity date
-
setStartValidityDate
Sets the start validity date.- Parameters:
startValidityDate- the new start validity date
-
getEndValidityDate
Gets the end validity date.- Returns:
- the end validity date
-
setEndValidityDate
Sets the end validity date.- Parameters:
endValidityDate- the new end validity date
-
getDraft
Checks if the directory is draft.- Returns:
- true if the directory is draft, false otherwise
-
setDraft
Sets the directory to draft.- Parameters:
draft- true if the directory must be draft, false otherwise
-