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

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

public class DocumentCollectionImpl.IntimateAccess
extends java.lang.Object

a class that provides intimate access to the DocumentCollectionImpl.

The purpose is to grant setter access to all fields for certain classes, whilst other (all) classes only have setter access to a limited amount of fields.


Method Summary
 AuthenticatedUser getCurrentUser()
           
 void saved(long id, java.lang.String name, java.util.Date lastModified, long lastModifier, long updateCount)
          updates the state of the current object after it has been persisted.
 void setId(long id)
           
 void setLastModified(java.util.Date d)
           
 void setLastModifier(long lastModifier)
           
 void setUpdateCount(long updateCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setId

public void setId(long id)

setLastModified

public void setLastModified(java.util.Date d)

setLastModifier

public void setLastModifier(long lastModifier)

getCurrentUser

public AuthenticatedUser getCurrentUser()

setUpdateCount

public void setUpdateCount(long updateCount)

saved

public void saved(long id,
                  java.lang.String name,
                  java.util.Date lastModified,
                  long lastModifier,
                  long updateCount)
updates the state of the current object after it has been persisted.

The CollectionStrategy uses this method to update the state of the current object after it has been persisted.



Copyright © -2012 . All Rights Reserved.