org.outerj.daisy.repository.serverimpl
Class LocalCommonRepository

java.lang.Object
  extended byorg.outerj.daisy.repository.commonimpl.CommonRepository
      extended byorg.outerj.daisy.repository.serverimpl.LocalCommonRepository

public class LocalCommonRepository
extends org.outerj.daisy.repository.commonimpl.CommonRepository

Extended version of CommonRepository that supports document caching.


Field Summary
 
Fields inherited from class org.outerj.daisy.repository.commonimpl.CommonRepository
documentStrategy
 
Constructor Summary
LocalCommonRepository(org.outerj.daisy.repository.commonimpl.DocumentStrategy documentStrategy, org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy schemaStrategy, org.outerj.daisy.repository.commonimpl.acl.AclStrategy aclStrategy, org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy userManagementStrategy, org.outerj.daisy.repository.commonimpl.variant.VariantStrategy variantStrategy, org.outerj.daisy.repository.commonimpl.CollectionStrategy collectionStrategy, org.outerj.daisy.repository.commonimpl.comment.CommentStrategy commentStrategy, LocalRepositoryManager.Context context, org.apache.avalon.framework.logger.Logger logger, org.outerj.daisy.repository.commonimpl.AuthenticatedUser systemUser, DocumentCache cache, java.util.Map extensions, org.outerj.daisy.jdbcutil.JdbcHelper jdbcHelper)
           
 
Method Summary
 org.outerj.daisy.repository.AvailableVariants getAvailableVariants(long documentId, org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 org.outerj.daisy.repository.Document getDocument(long documentId, long branchId, long languageId, boolean updateable, org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 org.outerj.daisy.repository.query.QueryManager getQueryManager(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 
Methods inherited from class org.outerj.daisy.repository.commonimpl.CommonRepository
addListener, createDocument, createDocument, createVariant, createVariant, deleteDocument, deleteVariant, fireRepositoryEvent, fireVariantEvent, getAccessManager, getBlob, getCollectionManager, getCommentManager, getDocument, getExtensionProvider, getRepositorySchema, getUserManager, getVariantManager, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalCommonRepository

public LocalCommonRepository(org.outerj.daisy.repository.commonimpl.DocumentStrategy documentStrategy,
                             org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy schemaStrategy,
                             org.outerj.daisy.repository.commonimpl.acl.AclStrategy aclStrategy,
                             org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy userManagementStrategy,
                             org.outerj.daisy.repository.commonimpl.variant.VariantStrategy variantStrategy,
                             org.outerj.daisy.repository.commonimpl.CollectionStrategy collectionStrategy,
                             org.outerj.daisy.repository.commonimpl.comment.CommentStrategy commentStrategy,
                             LocalRepositoryManager.Context context,
                             org.apache.avalon.framework.logger.Logger logger,
                             org.outerj.daisy.repository.commonimpl.AuthenticatedUser systemUser,
                             DocumentCache cache,
                             java.util.Map extensions,
                             org.outerj.daisy.jdbcutil.JdbcHelper jdbcHelper)
Method Detail

getQueryManager

public org.outerj.daisy.repository.query.QueryManager getQueryManager(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)

getDocument

public org.outerj.daisy.repository.Document getDocument(long documentId,
                                                        long branchId,
                                                        long languageId,
                                                        boolean updateable,
                                                        org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
                                                 throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

getAvailableVariants

public org.outerj.daisy.repository.AvailableVariants getAvailableVariants(long documentId,
                                                                          org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
                                                                   throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException


Copyright © -2005 . All Rights Reserved.