org.olat.modules.glossary
Class GlossaryManager

java.lang.Object
  extended by org.olat.modules.glossary.GlossaryManager
Direct Known Subclasses:
GlossaryManagerImpl

public abstract class GlossaryManager
extends java.lang.Object

Description:
Manager to create, delete etc. glossary learning resources. The OLAT glossary functionality is based on the core framework glossary / textmarker functions. in case new glossary should be replaced by old one, use GlossaryManagerOld --> see olat_extensions.xml

Initial Date: 16.01.2009

Author:
Roman Haag, frentix GmbH, roman.haag@frentix.com

Field Summary
static java.lang.String GLOSSARY_REPO_REF_IDENTIFYER
           
static java.lang.String INTERNAL_FOLDER_NAME
           
 
Constructor Summary
GlossaryManager()
           
 
Method Summary
abstract  java.lang.String archive(java.lang.String archivFilePath, RepositoryEntry repoEntry)
           
abstract  OLATResourceable createCopy(OLATResourceable res, UserRequest ureq)
           
abstract  GlossaryResource createGlossary()
           
abstract  void deleteGlossary(OLATResourceable res)
           
abstract  boolean exportGlossary(java.lang.String glossarySoftkey, java.io.File exportedDataDir)
           
abstract  MediaResource getAsMediaResource(OLATResourceable res)
           
abstract  OlatRootFolderImpl getGlossaryRootFolder(OLATResourceable res)
           
abstract  org.apache.lucene.document.Document getIndexerDocument(RepositoryEntry repositoryEntry, SearchResourceContext searchResourceContext)
           
static GlossaryManager getInstance()
           
abstract  RepositoryEntryImportExport getRepositoryImportExport(java.io.File importDataDir)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GLOSSARY_REPO_REF_IDENTIFYER

public static final java.lang.String GLOSSARY_REPO_REF_IDENTIFYER
See Also:
Constant Field Values

INTERNAL_FOLDER_NAME

public static final java.lang.String INTERNAL_FOLDER_NAME
See Also:
Constant Field Values
Constructor Detail

GlossaryManager

public GlossaryManager()
Method Detail

getInstance

public static GlossaryManager getInstance()

getGlossaryRootFolder

public abstract OlatRootFolderImpl getGlossaryRootFolder(OLATResourceable res)

getIndexerDocument

public abstract org.apache.lucene.document.Document getIndexerDocument(RepositoryEntry repositoryEntry,
                                                                       SearchResourceContext searchResourceContext)

exportGlossary

public abstract boolean exportGlossary(java.lang.String glossarySoftkey,
                                       java.io.File exportedDataDir)

getAsMediaResource

public abstract MediaResource getAsMediaResource(OLATResourceable res)

createGlossary

public abstract GlossaryResource createGlossary()

getRepositoryImportExport

public abstract RepositoryEntryImportExport getRepositoryImportExport(java.io.File importDataDir)

deleteGlossary

public abstract void deleteGlossary(OLATResourceable res)

createCopy

public abstract OLATResourceable createCopy(OLATResourceable res,
                                            UserRequest ureq)

archive

public abstract java.lang.String archive(java.lang.String archivFilePath,
                                         RepositoryEntry repoEntry)