com.xpn.xwiki.store
Class XWikiDefaultStore

java.lang.Object
  extended by com.xpn.xwiki.store.XWikiDefaultStore
All Implemented Interfaces:
XWikiStoreInterface
Direct Known Subclasses:
XWikiRCSFileStore

public abstract class XWikiDefaultStore
extends java.lang.Object
implements XWikiStoreInterface


Constructor Summary
XWikiDefaultStore()
           
 
Method Summary
 java.util.List getCustomMappingPropertyList(BaseClass bclass)
           
 boolean injectCustomMapping(BaseClass doc1class, XWikiContext xWikiContext)
           
 void injectCustomMappings(XWikiContext context)
           
 boolean injectCustomMappings(XWikiDocument doc, XWikiContext xWikiContext)
           
 void injectUpdatedCustomMappings(XWikiContext context)
           
 java.util.List searchDocuments(java.lang.String wheresql, boolean distinctbyname, boolean customMapping, int nb, int start, XWikiContext context)
           
 java.util.List searchDocuments(java.lang.String wheresql, boolean distinctbylanguage, boolean customMapping, XWikiContext context)
           
 java.util.List searchDocuments(java.lang.String wheresql, boolean distinctbyname, int nb, int start, XWikiContext context)
           
 java.util.List searchDocuments(java.lang.String wheresql, boolean distinctbylanguage, XWikiContext context)
           
 java.util.List searchDocuments(java.lang.String wheresql, int nb, int start, XWikiContext context)
           
 java.util.List searchDocuments(java.lang.String wheresql, XWikiContext context)
           
 java.util.List searchDocumentsNames(java.lang.String wheresql, int nb, int start, XWikiContext context)
           
 java.util.List searchDocumentsNames(java.lang.String wheresql, XWikiContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.xpn.xwiki.store.XWikiStoreInterface
cleanUp, createWiki, deleteLinks, deleteLock, deleteXWikiDoc, exists, getClassList, getXWikiDocVersions, isCustomMappingValid, loadBacklinks, loadLinks, loadLock, loadXWikiDoc, loadXWikiDoc, saveLinks, saveLock, saveXWikiDoc, saveXWikiDoc, search, search, searchDocuments, searchDocumentsNames
 

Constructor Detail

XWikiDefaultStore

public XWikiDefaultStore()
Method Detail

searchDocumentsNames

public java.util.List searchDocumentsNames(java.lang.String wheresql,
                                           XWikiContext context)
                                    throws XWikiException
Specified by:
searchDocumentsNames in interface XWikiStoreInterface
Throws:
XWikiException

searchDocumentsNames

public java.util.List searchDocumentsNames(java.lang.String wheresql,
                                           int nb,
                                           int start,
                                           XWikiContext context)
                                    throws XWikiException
Specified by:
searchDocumentsNames in interface XWikiStoreInterface
Throws:
XWikiException

searchDocuments

public java.util.List searchDocuments(java.lang.String wheresql,
                                      XWikiContext context)
                               throws XWikiException
Specified by:
searchDocuments in interface XWikiStoreInterface
Throws:
XWikiException

searchDocuments

public java.util.List searchDocuments(java.lang.String wheresql,
                                      boolean distinctbylanguage,
                                      XWikiContext context)
                               throws XWikiException
Specified by:
searchDocuments in interface XWikiStoreInterface
Throws:
XWikiException

searchDocuments

public java.util.List searchDocuments(java.lang.String wheresql,
                                      boolean distinctbylanguage,
                                      boolean customMapping,
                                      XWikiContext context)
                               throws XWikiException
Specified by:
searchDocuments in interface XWikiStoreInterface
Throws:
XWikiException

searchDocuments

public java.util.List searchDocuments(java.lang.String wheresql,
                                      int nb,
                                      int start,
                                      XWikiContext context)
                               throws XWikiException
Specified by:
searchDocuments in interface XWikiStoreInterface
Throws:
XWikiException

searchDocuments

public java.util.List searchDocuments(java.lang.String wheresql,
                                      boolean distinctbyname,
                                      int nb,
                                      int start,
                                      XWikiContext context)
                               throws XWikiException
Specified by:
searchDocuments in interface XWikiStoreInterface
Throws:
XWikiException

injectCustomMapping

public boolean injectCustomMapping(BaseClass doc1class,
                                   XWikiContext xWikiContext)
                            throws XWikiException
Specified by:
injectCustomMapping in interface XWikiStoreInterface
Throws:
XWikiException

injectCustomMappings

public boolean injectCustomMappings(XWikiDocument doc,
                                    XWikiContext xWikiContext)
                             throws XWikiException
Specified by:
injectCustomMappings in interface XWikiStoreInterface
Throws:
XWikiException

injectCustomMappings

public void injectCustomMappings(XWikiContext context)
                          throws XWikiException
Specified by:
injectCustomMappings in interface XWikiStoreInterface
Throws:
XWikiException

injectUpdatedCustomMappings

public void injectUpdatedCustomMappings(XWikiContext context)
                                 throws XWikiException
Specified by:
injectUpdatedCustomMappings in interface XWikiStoreInterface
Throws:
XWikiException

getCustomMappingPropertyList

public java.util.List getCustomMappingPropertyList(BaseClass bclass)
Specified by:
getCustomMappingPropertyList in interface XWikiStoreInterface

searchDocuments

public java.util.List searchDocuments(java.lang.String wheresql,
                                      boolean distinctbyname,
                                      boolean customMapping,
                                      int nb,
                                      int start,
                                      XWikiContext context)
                               throws XWikiException
Specified by:
searchDocuments in interface XWikiStoreInterface
Throws:
XWikiException


Copyright 2003 Ludovic Dubost