org.outerj.daisy.query
Class ExtQueryContext

java.lang.Object
  extended byorg.outerj.daisy.query.ExtQueryContext
All Implemented Interfaces:
QueryContext

public class ExtQueryContext
extends java.lang.Object
implements QueryContext


Constructor Summary
ExtQueryContext(org.outerj.daisy.repository.Repository repository)
           
 
Method Summary
 org.outerj.daisy.repository.variant.Branch getBranch(long branchId)
           
 org.outerj.daisy.repository.variant.Branch getBranchByName(java.lang.String name)
           
 org.outerj.daisy.repository.DocumentCollection getCollection(java.lang.String name)
           
 org.outerj.daisy.repository.schema.DocumentType getDocumentTypeById(long id)
           
 org.outerj.daisy.repository.schema.DocumentType getDocumentTypeByName(java.lang.String name)
           
 org.outerj.daisy.repository.schema.FieldType getFieldTypeByName(java.lang.String name)
           
 org.outerj.daisy.repository.variant.Language getLanguage(long languageId)
           
 org.outerj.daisy.repository.variant.Language getLanguageByName(java.lang.String name)
           
 org.outerj.daisy.repository.schema.PartType getPartTypeByName(java.lang.String name)
           
 java.lang.String getUserDisplayName(long userId)
           
 long getUserId(java.lang.String login)
           
 java.lang.String getUserLogin(long userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtQueryContext

public ExtQueryContext(org.outerj.daisy.repository.Repository repository)
Method Detail

getFieldTypeByName

public org.outerj.daisy.repository.schema.FieldType getFieldTypeByName(java.lang.String name)
                                                                throws org.outerj.daisy.repository.RepositoryException
Specified by:
getFieldTypeByName in interface QueryContext
Throws:
org.outerj.daisy.repository.RepositoryException

getPartTypeByName

public org.outerj.daisy.repository.schema.PartType getPartTypeByName(java.lang.String name)
                                                              throws org.outerj.daisy.repository.RepositoryException
Specified by:
getPartTypeByName in interface QueryContext
Throws:
org.outerj.daisy.repository.RepositoryException

getDocumentTypeByName

public org.outerj.daisy.repository.schema.DocumentType getDocumentTypeByName(java.lang.String name)
                                                                      throws org.outerj.daisy.repository.RepositoryException
Specified by:
getDocumentTypeByName in interface QueryContext
Throws:
org.outerj.daisy.repository.RepositoryException

getCollection

public org.outerj.daisy.repository.DocumentCollection getCollection(java.lang.String name)
                                                             throws org.outerj.daisy.repository.RepositoryException
Specified by:
getCollection in interface QueryContext
Throws:
org.outerj.daisy.repository.RepositoryException

getDocumentTypeById

public org.outerj.daisy.repository.schema.DocumentType getDocumentTypeById(long id)
                                                                    throws org.outerj.daisy.repository.RepositoryException
Specified by:
getDocumentTypeById in interface QueryContext
Throws:
org.outerj.daisy.repository.RepositoryException

getUserDisplayName

public java.lang.String getUserDisplayName(long userId)
                                    throws org.outerj.daisy.repository.RepositoryException
Specified by:
getUserDisplayName in interface QueryContext
Throws:
org.outerj.daisy.repository.RepositoryException

getUserId

public long getUserId(java.lang.String login)
               throws org.outerj.daisy.repository.RepositoryException
Specified by:
getUserId in interface QueryContext
Throws:
org.outerj.daisy.repository.RepositoryException

getUserLogin

public java.lang.String getUserLogin(long userId)
                              throws org.outerj.daisy.repository.RepositoryException
Specified by:
getUserLogin in interface QueryContext
Throws:
org.outerj.daisy.repository.RepositoryException

getBranchByName

public org.outerj.daisy.repository.variant.Branch getBranchByName(java.lang.String name)
                                                           throws org.outerj.daisy.repository.RepositoryException
Specified by:
getBranchByName in interface QueryContext
Throws:
org.outerj.daisy.repository.RepositoryException

getLanguageByName

public org.outerj.daisy.repository.variant.Language getLanguageByName(java.lang.String name)
                                                               throws org.outerj.daisy.repository.RepositoryException
Specified by:
getLanguageByName in interface QueryContext
Throws:
org.outerj.daisy.repository.RepositoryException

getBranch

public org.outerj.daisy.repository.variant.Branch getBranch(long branchId)
                                                     throws org.outerj.daisy.repository.RepositoryException
Specified by:
getBranch in interface QueryContext
Throws:
org.outerj.daisy.repository.RepositoryException

getLanguage

public org.outerj.daisy.repository.variant.Language getLanguage(long languageId)
                                                         throws org.outerj.daisy.repository.RepositoryException
Specified by:
getLanguage in interface QueryContext
Throws:
org.outerj.daisy.repository.RepositoryException


Copyright © -2005 . All Rights Reserved.