Class AbstractSObjectBase

    • Constructor Detail

      • AbstractSObjectBase

        public AbstractSObjectBase()
    • Method Detail

      • clearBaseFields

        public final void clearBaseFields()
        Utility method to clear all system AbstractSObjectBase fields.

        Useful when reusing a DTO for a new record, or for update/upsert.

        This method does not clear Name to allow updating it, so it must be explicitly set to null if needed.

      • getAttributes

        public Attributes getAttributes()
      • setAttributes

        public void setAttributes​(Attributes attributes)
      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • getOwnerId

        public String getOwnerId()
      • setOwnerId

        public void setOwnerId​(String ownerId)
      • isIsDeleted

        public Boolean isIsDeleted()
      • setIsDeleted

        public void setIsDeleted​(Boolean isDeleted)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • setCreatedDate

        public void setCreatedDate​(ZonedDateTime createdDate)
      • getCreatedById

        public String getCreatedById()
      • setCreatedById

        public void setCreatedById​(String createdById)
      • getLastModifiedDate

        public ZonedDateTime getLastModifiedDate()
      • setLastModifiedDate

        public void setLastModifiedDate​(ZonedDateTime lastModifiedDate)
      • getLastModifiedById

        public String getLastModifiedById()
      • setLastModifiedById

        public void setLastModifiedById​(String lastModifiedById)
      • setSystemModstamp

        public void setSystemModstamp​(ZonedDateTime systemModstamp)
      • getLastActivityDate

        public LocalDate getLastActivityDate()
      • setLastActivityDate

        public void setLastActivityDate​(LocalDate lastActivityDate)
      • setLastViewedDate

        public void setLastViewedDate​(ZonedDateTime lastViewedDate)
      • getLastReferencedDate

        public ZonedDateTime getLastReferencedDate()
      • setLastReferencedDate

        public void setLastReferencedDate​(ZonedDateTime lastReferencedDate)
      • getFieldsToNull

        public Set<String> getFieldsToNull()
      • setFieldsToNull

        public void setFieldsToNull​(Set<String> fieldsToNull)