Class ToDoInquiry

    • Constructor Detail

      • ToDoInquiry

        public ToDoInquiry()
      • ToDoInquiry

        public ToDoInquiry​(java.lang.String question,
                           java.lang.String emailAddress)
    • Method Detail

      • getAnswer

        public java.lang.String getAnswer()
      • setAnswer

        public void setAnswer​(java.lang.String answer)
      • getQuestion

        public java.lang.String getQuestion()
      • setQuestion

        public void setQuestion​(java.lang.String question)
      • isConfirmed

        public boolean isConfirmed()
      • isInErrorState

        public boolean isInErrorState()
      • getConfirmationDate

        public java.util.Date getConfirmationDate()
      • getConfirmationLocalDatetime

        public java.time.LocalDateTime getConfirmationLocalDatetime()
      • setConfirmationDate

        public void setConfirmationDate​(java.util.Date confirmationDate)
      • getCreationDate

        public java.util.Date getCreationDate()
      • getCreationLocalDatetime

        public java.time.LocalDateTime getCreationLocalDatetime()
      • setCreationDate

        public void setCreationDate​(java.util.Date creationDate)
      • getEmailAddress

        public java.lang.String getEmailAddress()
      • setEmailAddress

        public void setEmailAddress​(java.lang.String emailAddress)
      • getErrorDate

        public java.util.Date getErrorDate()
      • setErrorDate

        public void setErrorDate​(java.util.Date errorDate)
      • isCopyAttachments

        public boolean isCopyAttachments()
      • setCopyAttachments

        public void setCopyAttachments​(boolean copyAttachments)
      • getOutgoingMails

        public java.util.Set<ToDoOutgoingMail> getOutgoingMails()
        Returns the outgoing mails attached to this task.
        Returns:
        the set of outgoing mails attached to this task
      • setOutgoingMails

        public void setOutgoingMails​(java.util.Set<ToDoOutgoingMail> outgoingMails)
        Sets outgoing mails attached to this task.
        Parameters:
        outgoingMails - the set of outgoing mails to be attached to this task
      • getAttachments

        public java.util.Set<ToDoAttachmentProxy> getAttachments()
        This method returns the attachments of the inquiry
        Returns:
        a set of com.proxemo.todo.bom.ToDoAttachmentProxy
      • setAttachments

        public void setAttachments​(java.util.Set<ToDoAttachmentProxy> attachments)
        This method set the attachments of the inquiry.
        Parameters:
        attachments - a set of com.proxemo.todo.bom.ToDoAttachmentProxy
      • getCreator

        public ToDoUser getCreator()
      • setCreator

        public void setCreator​(ToDoUser creator)
      • getId

        public java.lang.Long getId()
        Description copied from class: ToDoVersionedIdentifiable
        Method returning a canonical id of the object. Transient objects return -1;
        Specified by:
        getId in class ToDoVersionedIdentifiable
        Returns:
        id the id of the object. Id is canonical for all instances of a class.
      • setId

        public void setId​(java.lang.Long id)
        Description copied from class: ToDoVersionedIdentifiable
        Method setting the canonical id of the object. Should under normal circumstances not be manually invoked.
        Specified by:
        setId in class ToDoVersionedIdentifiable
        Parameters:
        id - id of the object
      • setVersion

        public void setVersion​(java.lang.Integer version)
        Description copied from class: ToDoVersionedIdentifiable
        Method setting the version of the instance, Should under normal circumstances not be manually invoked.
        Specified by:
        setVersion in class ToDoVersionedIdentifiable
        Parameters:
        version - of the object
      • isActive

        public java.lang.Boolean isActive()
        Description copied from class: ToDoVersionedIdentifiable
        Method that returns whether the instance is active or not (means: logically deleted)
        Specified by:
        isActive in class ToDoVersionedIdentifiable
        Returns:
        boolean whether the object is active
      • setActive

        public void setActive​(java.lang.Boolean active)
        Description copied from class: ToDoVersionedIdentifiable
        Method setting the active flag. Invoking this method with false logically deletes the instance in the database.
        Specified by:
        setActive in class ToDoVersionedIdentifiable
        Parameters:
        active - is the object active or not
      • setTask

        public void setTask​(ToDoTask task)
      • getCreatorId

        public java.lang.Long getCreatorId()
      • setCreatorId

        public void setCreatorId​(java.lang.Long creatorId)
      • getCreatorName

        public java.lang.String getCreatorName()