Class ProfileSchemaSampleOperation
- java.lang.Object
-
- com.boomi.connector.util.ContextualOperation
-
- com.boomi.connector.util.BaseOperation
-
- com.boomi.connector.util.BaseUpdateOperation
-
- com.boomi.connector.sample.schema.ProfileSchemaSampleOperation
-
- All Implemented Interfaces:
Operation
public class ProfileSchemaSampleOperation extends BaseUpdateOperation
Sample operation demonstrating proper usage of the Schema API for connector development. This class shows how to safely retrieve and process request/response schemas with proper resource management and error handling.
-
-
Constructor Summary
Constructors Constructor Description ProfileSchemaSampleOperation(OperationContext context)Constructs a new ProfileSchemaSampleOperation with the specified operation context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteUpdate(UpdateRequest updateRequest, OperationResponse operationResponse)Actual implementation of this CREATE, UPDATE, or UPSERT Operation.-
Methods inherited from class com.boomi.connector.util.BaseUpdateOperation
execute
-
Methods inherited from class com.boomi.connector.util.ContextualOperation
getConnection, getContext
-
-
-
-
Constructor Detail
-
ProfileSchemaSampleOperation
public ProfileSchemaSampleOperation(OperationContext context)
Constructs a new ProfileSchemaSampleOperation with the specified operation context.- Parameters:
context- the operation context containing configuration, connection properties, and access to request/response schemas
-
-
Method Detail
-
executeUpdate
public void executeUpdate(UpdateRequest updateRequest, OperationResponse operationResponse)
Description copied from class:BaseUpdateOperationActual implementation of this CREATE, UPDATE, or UPSERT Operation.- Specified by:
executeUpdatein classBaseUpdateOperation- Parameters:
updateRequest- request given toBaseUpdateOperation.execute(com.boomi.connector.api.OperationRequest, com.boomi.connector.api.OperationResponse), downcast to the correct typeoperationResponse- response given toBaseUpdateOperation.execute(com.boomi.connector.api.OperationRequest, com.boomi.connector.api.OperationResponse)
-
-