Class AbstractSObjectBase

java.lang.Object
org.apache.camel.component.salesforce.api.dto.AbstractDTOBase
org.apache.camel.component.salesforce.api.dto.AbstractSObjectBase
Direct Known Subclasses:
AbstractDescribedSObjectBase, PushTopic, Report

public abstract class AbstractSObjectBase extends AbstractDTOBase
  • Constructor Details

    • AbstractSObjectBase

      public AbstractSObjectBase()
  • Method Details

    • 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)
    • getCreatedDate

      public ZonedDateTime getCreatedDate()
    • 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)
    • getSystemModstamp

      public ZonedDateTime getSystemModstamp()
    • setSystemModstamp

      public void setSystemModstamp(ZonedDateTime systemModstamp)
    • getLastActivityDate

      public LocalDate getLastActivityDate()
    • setLastActivityDate

      public void setLastActivityDate(LocalDate lastActivityDate)
    • getLastViewedDate

      public ZonedDateTime getLastViewedDate()
    • 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)