Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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