T
- The AbstractFormDto from the bullhorn formE
- Bullhorn entity corresponding to the Tpublic interface FormTriggerHelper<T extends AbstractFormDto<E>,E extends com.bullhornsdk.data.model.entity.core.type.BullhornEntity>
Modifier and Type | Method and Description |
---|---|
T |
getFormValues()
Gets the implementation of AbstractFormDto, that is the data from the bullhorn form.
|
E |
getNewEntity()
Returns the new entity instantiated from the T form values.
|
E |
getOldEntity()
The currently stored data for this entity that is saved in bullhorn.
|
com.bullhornsdk.data.model.entity.core.standard.CorporateUser |
getUpdatingUser()
The user who made the update
|
java.lang.Integer |
getUpdatingUserID()
The id of the corporate user saving the form in Bullhorn.
|
com.bullhornsdk.data.model.entity.embedded.UserType |
getUpdatingUserUserType()
The user type of the user who made the update.
|
<U extends com.bullhornsdk.data.model.entity.core.type.UpdateEntity> |
saveDto(U entity)
Save the entity to bullhorn
|
void |
setNewEntity(E newEntity) |
void |
setOldEntity(E oldDto) |
void |
setUpdatingUser(com.bullhornsdk.data.model.entity.core.standard.CorporateUser updatingUser) |
void |
setUpdatingUserUserType(com.bullhornsdk.data.model.entity.embedded.UserType updatingUserUserType) |
T getFormValues()
java.lang.Integer getUpdatingUserID()
E getNewEntity()
BullhornEntity
based on the form just savedvoid setNewEntity(E newEntity)
E getOldEntity()
void setOldEntity(E oldDto)
com.bullhornsdk.data.model.entity.core.standard.CorporateUser getUpdatingUser()
void setUpdatingUser(com.bullhornsdk.data.model.entity.core.standard.CorporateUser updatingUser)
com.bullhornsdk.data.model.entity.embedded.UserType getUpdatingUserUserType()
void setUpdatingUserUserType(com.bullhornsdk.data.model.entity.embedded.UserType updatingUserUserType)
<U extends com.bullhornsdk.data.model.entity.core.type.UpdateEntity> void saveDto(U entity)
entity
- any implementation of UpdateEntity