Class WebhookConfigurationModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.webhookservices.model.WebhookConfigurationModel
- All Implemented Interfaces:
Serializable
Generated model class for type WebhookConfiguration first defined at extension webhookservices.
Configures how a webhook reacts to an event by specifying an event, an Integration Object to transform the event to, and the destination to send the payload.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofWebhookConfiguration.destinationattribute defined at extensionwebhookservices.static final StringGenerated constant - Attribute key ofWebhookConfiguration.eventTypeattribute defined at extensionwebhookservices.static final StringGenerated constant - Attribute key ofWebhookConfiguration.filterLocationattribute defined at extensionwebhookservices.static final StringGenerated constant - Attribute key ofWebhookConfiguration.integrationObjectattribute defined at extensionwebhookservices.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.WebhookConfigurationModel(ConsumedDestinationModel _destination, IntegrationObjectModel _integrationObject) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersWebhookConfigurationModel(ConsumedDestinationModel _destination, IntegrationObjectModel _integrationObject, ItemModel _owner) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theWebhookConfiguration.destinationattribute defined at extensionwebhookservices.Generated method - Getter of theWebhookConfiguration.eventTypeattribute defined at extensionwebhookservices.Generated method - Getter of theWebhookConfiguration.filterLocationattribute defined at extensionwebhookservices.Generated method - Getter of theWebhookConfiguration.integrationObjectattribute defined at extensionwebhookservices.voidGenerated method - Setter ofWebhookConfiguration.destinationattribute defined at extensionwebhookservices.voidsetEventType(String value) Generated method - Setter ofWebhookConfiguration.eventTypeattribute defined at extensionwebhookservices.voidsetFilterLocation(String value) Generated method - Setter ofWebhookConfiguration.filterLocationattribute defined at extensionwebhookservices.voidGenerated method - Setter ofWebhookConfiguration.integrationObjectattribute defined at extensionwebhookservices.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
EVENTTYPE
Generated constant - Attribute key ofWebhookConfiguration.eventTypeattribute defined at extensionwebhookservices.- See Also:
-
INTEGRATIONOBJECT
Generated constant - Attribute key ofWebhookConfiguration.integrationObjectattribute defined at extensionwebhookservices.- See Also:
-
DESTINATION
Generated constant - Attribute key ofWebhookConfiguration.destinationattribute defined at extensionwebhookservices.- See Also:
-
FILTERLOCATION
Generated constant - Attribute key ofWebhookConfiguration.filterLocationattribute defined at extensionwebhookservices.- See Also:
-
-
Constructor Details
-
WebhookConfigurationModel
public WebhookConfigurationModel()Generated constructor - Default constructor for generic creation. -
WebhookConfigurationModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
WebhookConfigurationModel
@Deprecated(since="4.1.1", forRemoval=true) public WebhookConfigurationModel(ConsumedDestinationModel _destination, IntegrationObjectModel _integrationObject) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_destination- initial attribute declared by typeWebhookConfigurationat extensionwebhookservices_integrationObject- initial attribute declared by typeWebhookConfigurationat extensionwebhookservices
-
WebhookConfigurationModel
@Deprecated(since="4.1.1", forRemoval=true) public WebhookConfigurationModel(ConsumedDestinationModel _destination, IntegrationObjectModel _integrationObject, ItemModel _owner) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_destination- initial attribute declared by typeWebhookConfigurationat extensionwebhookservices_integrationObject- initial attribute declared by typeWebhookConfigurationat extensionwebhookservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getDestination
Generated method - Getter of theWebhookConfiguration.destinationattribute defined at extensionwebhookservices.- Returns:
- the destination - The destination this WebhookConfiguration is to send the payload
-
getEventType
Generated method - Getter of theWebhookConfiguration.eventTypeattribute defined at extensionwebhookservices.- Returns:
- the eventType - The event this WebhookConfiguration responds to
-
getFilterLocation
Generated method - Getter of theWebhookConfiguration.filterLocationattribute defined at extensionwebhookservices.- Returns:
- the filterLocation - Specifies the URI of the filter logic. For example, script://orderFilter.
-
getIntegrationObject
@Accessor(qualifier="integrationObject", type=GETTER) public IntegrationObjectModel getIntegrationObject()Generated method - Getter of theWebhookConfiguration.integrationObjectattribute defined at extensionwebhookservices.- Returns:
- the integrationObject - The IntegrationObject this WebhookConfiguration is to use when sending the payload
-
setDestination
@Accessor(qualifier="destination", type=SETTER) public void setDestination(ConsumedDestinationModel value) Generated method - Setter ofWebhookConfiguration.destinationattribute defined at extensionwebhookservices.- Parameters:
value- the destination - The destination this WebhookConfiguration is to send the payload
-
setEventType
Generated method - Setter ofWebhookConfiguration.eventTypeattribute defined at extensionwebhookservices.- Parameters:
value- the eventType - The event this WebhookConfiguration responds to
-
setFilterLocation
Generated method - Setter ofWebhookConfiguration.filterLocationattribute defined at extensionwebhookservices.- Parameters:
value- the filterLocation - Specifies the URI of the filter logic. For example, script://orderFilter.
-
setIntegrationObject
@Accessor(qualifier="integrationObject", type=SETTER) public void setIntegrationObject(IntegrationObjectModel value) Generated method - Setter ofWebhookConfiguration.integrationObjectattribute defined at extensionwebhookservices.- Parameters:
value- the integrationObject - The IntegrationObject this WebhookConfiguration is to use when sending the payload
-