Class DTOFileUpdate

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.docshare.documents.rs1.file.DTOFileUpdate
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class DTOFileUpdate extends DynO
DTO used to update the given file.
Since:
14.0
See Also:
GCApi:
dto
  • Constructor Details

    • DTOFileUpdate

      public DTOFileUpdate()
  • Method Details

    • getName

      public final Optional<String> getName()
      Gets the name.
      Returns:
      the name
    • setName

      public final void setName(Optional<String> name)
      Sets the name.
      Parameters:
      name - the new name
    • getStartValidityDate

      public final Optional<ZonedDateTime> getStartValidityDate()
      Gets the start validity date.
      Returns:
      the start validity date
    • setStartValidityDate

      public final void setStartValidityDate(Optional<ZonedDateTime> startValidityDate)
      Sets the start validity date.
      Parameters:
      startValidityDate - the new start validity date
    • getEndValidityDate

      public final Optional<ZonedDateTime> getEndValidityDate()
      Gets the end validity date.
      Returns:
      the end validity date
    • setEndValidityDate

      public final void setEndValidityDate(Optional<ZonedDateTime> endValidityDate)
      Sets the end validity date.
      Parameters:
      endValidityDate - the new end validity date
    • getDraft

      public final Optional<Boolean> getDraft()
      Return true if the file is draft, false otherwise.
      Returns:
      true if the file is draft, false otherwise
    • setDraft

      public final void setDraft(Optional<Boolean> draft)
      Sets the file to draft.
      Parameters:
      draft - true if the file must be draft, false otherwise