public abstract class AuthDataUpdatePersistenceHandler extends Object implements com.broadleafcommerce.common.messaging.PersistenceHandler
| Constructor and Description |
|---|
AuthDataUpdatePersistenceHandler(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
void |
handle(String entityJson) |
boolean |
isNodeNull(com.fasterxml.jackson.databind.JsonNode jsonNode)
Checks if a JSON Node is equal to null or if the Node itself is present but represents the
JSON literal value of "null".
|
boolean |
isValidType(String reportedType,
String projectionType) |
public AuthDataUpdatePersistenceHandler(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public void handle(String entityJson)
handle in interface com.broadleafcommerce.common.messaging.PersistenceHandlerpublic com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
getObjectMapper in interface com.broadleafcommerce.common.messaging.PersistenceHandlerpublic boolean isValidType(String reportedType, String projectionType)
isValidType in interface com.broadleafcommerce.common.messaging.PersistenceHandlerpublic boolean isNodeNull(com.fasterxml.jackson.databind.JsonNode jsonNode)
{
} // returns true
{
"name": null
} // returns true
{
"name": "Perry"
} // returns false
{
"name": ""
} // returns false
jsonNode - Copyright © 2021. All rights reserved.