ModeShape Distribution 3.0.0.Beta4

org.modeshape.jcr.cache
Interface SessionCache.SaveContext

All Known Implementing Classes:
AbstractSessionCache.BasicSaveContext
Enclosing interface:
SessionCache

public static interface SessionCache.SaveContext

The context of a save operation, created during each call to SessionCache.save() and passed to the PreSave#process(MutableCachedNode, SaveContext) invocations.


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.
 

Method Detail

getTime

DateTime getTime()
Get the instance in time that the save is taking place.

Returns:
the save timestamp; never null

getUserId

String getUserId()
Get the identifier for the user that is making this save.

Returns:
the user identifier; never null

ModeShape Distribution 3.0.0.Beta4

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