Class DaoMethodOutcome

java.lang.Object
ca.uhn.fhir.rest.api.MethodOutcome
ca.uhn.fhir.jpa.api.model.DaoMethodOutcome
Direct Known Subclasses:
LazyDaoMethodOutcome

public class DaoMethodOutcome
extends ca.uhn.fhir.rest.api.MethodOutcome
  • Constructor Summary

    Constructors
    Constructor Description
    DaoMethodOutcome()
    Constructor
  • Method Summary

    Modifier and Type Method Description
    IBasePersistedResource getEntity()  
    ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId getPersistentId()  
    org.hl7.fhir.instance.model.api.IBaseResource getPreviousResource()
    For update operations, this is the body of the resource as it was before the update
    boolean isNop()
    Was this a NO-OP - Typically because of an update to a resource that already matched the contents provided
    DaoMethodOutcome setCreated​(Boolean theCreated)  
    DaoMethodOutcome setEntity​(IBasePersistedResource theEntity)  
    DaoMethodOutcome setNop​(boolean theNop)
    Was this a NO-OP - Typically because of an update to a resource that already matched the contents provided
    DaoMethodOutcome setPersistentId​(ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId theResourcePersistentId)  
    void setPreviousResource​(org.hl7.fhir.instance.model.api.IBaseResource thePreviousResource)
    For update operations, this is the body of the resource as it was before the update

    Methods inherited from class ca.uhn.fhir.rest.api.MethodOutcome

    fireResourceViewCallbacks, getCreated, getId, getOperationOutcome, getResource, getResponseHeaders, hasResource, registerResourceViewCallback, setCreatedUsingStatusCode, setId, setOperationOutcome, setResource, setResponseHeaders

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • isNop

      public boolean isNop()
      Was this a NO-OP - Typically because of an update to a resource that already matched the contents provided
    • setNop

      public DaoMethodOutcome setNop​(boolean theNop)
      Was this a NO-OP - Typically because of an update to a resource that already matched the contents provided
    • getEntity

    • setEntity

    • getPreviousResource

      public org.hl7.fhir.instance.model.api.IBaseResource getPreviousResource()
      For update operations, this is the body of the resource as it was before the update
    • setPreviousResource

      public void setPreviousResource​(org.hl7.fhir.instance.model.api.IBaseResource thePreviousResource)
      For update operations, this is the body of the resource as it was before the update
    • setCreated

      public DaoMethodOutcome setCreated​(Boolean theCreated)
      Overrides:
      setCreated in class ca.uhn.fhir.rest.api.MethodOutcome
    • setPersistentId

      public DaoMethodOutcome setPersistentId​(ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId theResourcePersistentId)
    • getPersistentId

      public ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId getPersistentId()