ModeShape Distribution 3.0.0.Beta4

org.modeshape.jcr.cache.document
Class AbstractSessionCache.BasicSaveContext

java.lang.Object
  extended by org.modeshape.jcr.cache.document.AbstractSessionCache.BasicSaveContext
All Implemented Interfaces:
SessionCache.SaveContext
Enclosing class:
AbstractSessionCache

@Immutable
protected static final class AbstractSessionCache.BasicSaveContext
extends Object
implements SessionCache.SaveContext


Constructor Summary
protected AbstractSessionCache.BasicSaveContext(ExecutionContext context)
           
 
Method Summary
 DateTime getTime()
          Get the instance in time that the save is taking place.
 String getUserId()
          Get the identifier for the user that is making this save.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSessionCache.BasicSaveContext

protected AbstractSessionCache.BasicSaveContext(ExecutionContext context)
Method Detail

getTime

public DateTime getTime()
Description copied from interface: SessionCache.SaveContext
Get the instance in time that the save is taking place.

Specified by:
getTime in interface SessionCache.SaveContext
Returns:
the save timestamp; never null

getUserId

public String getUserId()
Description copied from interface: SessionCache.SaveContext
Get the identifier for the user that is making this save.

Specified by:
getUserId in interface SessionCache.SaveContext
Returns:
the user identifier; never null

ModeShape Distribution 3.0.0.Beta4

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.