public class RelationshipTerminalState extends BaseState
Constructor and Description |
---|
RelationshipTerminalState(PersistentResource record,
String relationshipName,
EntityProjection parentProjection) |
Modifier and Type | Method and Description |
---|---|
Supplier<org.apache.commons.lang3.tuple.Pair<Integer,com.fasterxml.jackson.databind.JsonNode>> |
handleDelete(StateContext state)
Handle delete.
|
Supplier<org.apache.commons.lang3.tuple.Pair<Integer,com.fasterxml.jackson.databind.JsonNode>> |
handleGet(StateContext state)
We return a Function because we may have to perform post-commit operations.
|
Supplier<org.apache.commons.lang3.tuple.Pair<Integer,com.fasterxml.jackson.databind.JsonNode>> |
handlePatch(StateContext state)
Handle patch.
|
Supplier<org.apache.commons.lang3.tuple.Pair<Integer,com.fasterxml.jackson.databind.JsonNode>> |
handlePost(StateContext state)
Handle post.
|
public RelationshipTerminalState(PersistentResource record, String relationshipName, EntityProjection parentProjection)
public Supplier<org.apache.commons.lang3.tuple.Pair<Integer,com.fasterxml.jackson.databind.JsonNode>> handleGet(StateContext state)
BaseState
public Supplier<org.apache.commons.lang3.tuple.Pair<Integer,com.fasterxml.jackson.databind.JsonNode>> handlePatch(StateContext state)
BaseState
handlePatch
in class BaseState
state
- the statepublic Supplier<org.apache.commons.lang3.tuple.Pair<Integer,com.fasterxml.jackson.databind.JsonNode>> handlePost(StateContext state)
BaseState
handlePost
in class BaseState
state
- the statepublic Supplier<org.apache.commons.lang3.tuple.Pair<Integer,com.fasterxml.jackson.databind.JsonNode>> handleDelete(StateContext state)
BaseState
handleDelete
in class BaseState
state
- the stateCopyright © 2015–2021 Yahoo! Inc.. All rights reserved.