org.apache.olingo.odata2.jpa.processor.api
Class ODataJPATombstoneContext

java.lang.Object
  extended by org.apache.olingo.odata2.jpa.processor.api.ODataJPATombstoneContext

public final class ODataJPATombstoneContext
extends Object

This class provides a thread safe container for accessing Tombstone objects


Constructor Summary
ODataJPATombstoneContext()
           
 
Method Summary
static void addToDeltaResult(Object entity, String entityName)
           
static void cleanup()
           
static List<Object> getDeltaResult(String entityName)
           
static String getDeltaToken()
           
static Long getDeltaTokenUTCTimeStamp()
           
static void setDeltaToken(String token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODataJPATombstoneContext

public ODataJPATombstoneContext()
Method Detail

getDeltaToken

public static String getDeltaToken()

setDeltaToken

public static void setDeltaToken(String token)

addToDeltaResult

public static void addToDeltaResult(Object entity,
                                    String entityName)

getDeltaResult

public static List<Object> getDeltaResult(String entityName)

cleanup

public static void cleanup()

getDeltaTokenUTCTimeStamp

public static Long getDeltaTokenUTCTimeStamp()


Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.