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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
Utility method to clear all systemAbstractSObjectBase
fields.getId()
getName()
void
setAttributes
(Attributes attributes) void
setCreatedById
(String createdById) void
setCreatedDate
(ZonedDateTime createdDate) void
setFieldsToNull
(Set<String> fieldsToNull) void
void
setIsDeleted
(Boolean isDeleted) void
setLastActivityDate
(LocalDate lastActivityDate) void
setLastModifiedById
(String lastModifiedById) void
setLastModifiedDate
(ZonedDateTime lastModifiedDate) void
setLastReferencedDate
(ZonedDateTime lastReferencedDate) void
setLastViewedDate
(ZonedDateTime lastViewedDate) void
void
setOwnerId
(String ownerId) void
setSystemModstamp
(ZonedDateTime systemModstamp) Methods inherited from class org.apache.camel.component.salesforce.api.dto.AbstractDTOBase
toString
-
Constructor Details
-
AbstractSObjectBase
public AbstractSObjectBase()
-
-
Method Details
-
clearBaseFields
public final void clearBaseFields()Utility method to clear all systemAbstractSObjectBase
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 tonull
if needed. -
getAttributes
-
setAttributes
-
getId
-
setId
-
getOwnerId
-
setOwnerId
-
isIsDeleted
-
setIsDeleted
-
getName
-
setName
-
getCreatedDate
-
setCreatedDate
-
getCreatedById
-
setCreatedById
-
getLastModifiedDate
-
setLastModifiedDate
-
getLastModifiedById
-
setLastModifiedById
-
getSystemModstamp
-
setSystemModstamp
-
getLastActivityDate
-
setLastActivityDate
-
getLastViewedDate
-
setLastViewedDate
-
getLastReferencedDate
-
setLastReferencedDate
-
getFieldsToNull
-
setFieldsToNull
-