public interface ScheduledTaskHelper
Modifier and Type | Method and Description |
---|---|
boolean |
fieldWasUpdated(java.lang.String... fieldsToCheck)
Returns true if any of the field names passed in is part of the subscriptionEvent.updatedProperties
|
<T extends com.bullhornsdk.data.model.entity.core.type.BullhornEntity> |
getAllEntitiesToSave() |
SubscriptionEvent |
getEvent()
Returns the subscription event that drives this helper.
|
<T extends com.bullhornsdk.data.model.entity.core.type.UpdateEntity> |
getOneEntityToSave(T entity)
Returns a deep copy of the passed in entity, if a entity of type T already exists in allEntitiesToSaveBackToBH that entity will be
returned, otherwise this method will return a deep copy the entity passed in to the method.
|
SubscriptionEvent getEvent()
boolean fieldWasUpdated(java.lang.String... fieldsToCheck)
fieldsToCheck
- <T extends com.bullhornsdk.data.model.entity.core.type.BullhornEntity> java.util.Map<java.lang.String,T> getAllEntitiesToSave()
<T extends com.bullhornsdk.data.model.entity.core.type.UpdateEntity> T getOneEntityToSave(T entity)
entity
- entity to be copied, if this object already exists in the allDtosToSaveBackToBH map then that entity will be returned.