org.outerj.daisy.repository.commonimpl.variant
Class VariantCache
java.lang.Object
org.outerj.daisy.repository.commonimpl.variant.VariantCache
- All Implemented Interfaces:
- org.outerj.daisy.repository.RepositoryListener
public class VariantCache
- extends java.lang.Object
- implements org.outerj.daisy.repository.RepositoryListener
Method Summary |
org.outerj.daisy.repository.variant.Branch |
getBranch(long id)
|
org.outerj.daisy.repository.variant.Branch |
getBranchByName(java.lang.String name)
|
org.outerj.daisy.repository.variant.Branches |
getBranches()
|
org.outerj.daisy.repository.variant.Language |
getLanguage(long id)
|
org.outerj.daisy.repository.variant.Language |
getLanguageByName(java.lang.String name)
|
org.outerj.daisy.repository.variant.Languages |
getLanguages()
|
void |
repositoryEvent(org.outerj.daisy.repository.RepositoryEventType eventType,
long id,
long updateCount)
|
void |
variantEvent(org.outerj.daisy.repository.DocumentVariantEventType eventType,
long documentId,
long branchId,
long languageId,
long updateCount)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariantCache
public VariantCache(VariantStrategy variantStrategy,
AuthenticatedUser cacheUser)
getBranch
public org.outerj.daisy.repository.variant.Branch getBranch(long id)
throws org.outerj.daisy.repository.RepositoryException
- 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
- Throws:
org.outerj.daisy.repository.RepositoryException
getBranches
public org.outerj.daisy.repository.variant.Branches getBranches()
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
getLanguage
public org.outerj.daisy.repository.variant.Language getLanguage(long id)
throws org.outerj.daisy.repository.RepositoryException
- 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
- Throws:
org.outerj.daisy.repository.RepositoryException
getLanguages
public org.outerj.daisy.repository.variant.Languages getLanguages()
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
repositoryEvent
public void repositoryEvent(org.outerj.daisy.repository.RepositoryEventType eventType,
long id,
long updateCount)
- Specified by:
repositoryEvent
in interface org.outerj.daisy.repository.RepositoryListener
variantEvent
public void variantEvent(org.outerj.daisy.repository.DocumentVariantEventType eventType,
long documentId,
long branchId,
long languageId,
long updateCount)
- Specified by:
variantEvent
in interface org.outerj.daisy.repository.RepositoryListener
Copyright © -2012 . All Rights Reserved.