org.outerj.daisy.repository.commonimpl
Class DocumentImpl.IntimateAccess

java.lang.Object
  extended by org.outerj.daisy.repository.commonimpl.DocumentImpl.IntimateAccess
Enclosing class:
DocumentImpl

public class DocumentImpl.IntimateAccess
extends java.lang.Object


Method Summary
 AuthenticatedUser getCurrentUser()
           
 DocumentImpl getDocument()
           
 DocumentVariantImpl getVariant()
           
 void load(long id, java.util.Date lastModified, long lastModifier, java.util.Date created, long owner, boolean _private, long updateCount)
          Intialises the document object as when loading an existing document.
 void saved(long documentId, java.util.Date lastModified, java.util.Date created, long updateCount)
          Updates the state of this Document object after saving it, also resets all 'dirty' flags.
 void setCreated(java.util.Date created)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

saved

public void saved(long documentId,
                  java.util.Date lastModified,
                  java.util.Date created,
                  long updateCount)
Updates the state of this Document object after saving it, also resets all 'dirty' flags.

Parameters:
created - can be null if not modified (only required after first save)

setCreated

public void setCreated(java.util.Date created)

getCurrentUser

public AuthenticatedUser getCurrentUser()

getDocument

public DocumentImpl getDocument()

getVariant

public DocumentVariantImpl getVariant()

load

public void load(long id,
                 java.util.Date lastModified,
                 long lastModifier,
                 java.util.Date created,
                 long owner,
                 boolean _private,
                 long updateCount)
Intialises the document object as when loading an existing document.



Copyright © -2012 . All Rights Reserved.