org.apache.wiki
Interface WikiProvider

All Known Subinterfaces:
DiffProvider, SearchProvider, WikiAttachmentProvider, WikiPageProvider
All Known Implementing Classes:
AbstractFileProvider, BasicAttachmentProvider, BasicSearchProvider, CachingAttachmentProvider, CachingProvider, ContextualDiffProvider, DiffProvider.NullDiffProvider, ExternalDiffProvider, FileSystemProvider, LuceneSearchProvider, TraditionalDiffProvider, VersioningFileProvider

public interface WikiProvider

A generic Wiki provider for all sorts of things that the Wiki can store.

Since:
2.0

Field Summary
static int LATEST_VERSION
          Passing this to any method should get the latest version
 
Method Summary
 String getProviderInfo()
          Return a valid HTML string for information.
 void initialize(WikiEngine engine, Properties properties)
          Initializes the page provider.
 

Field Detail

LATEST_VERSION

static final int LATEST_VERSION
Passing this to any method should get the latest version

See Also:
Constant Field Values
Method Detail

initialize

void initialize(WikiEngine engine,
                Properties properties)
                throws NoRequiredPropertyException,
                       IOException
Initializes the page provider.

Parameters:
engine - WikiEngine to own this provider
properties - A set of properties used to initialize this provider
Throws:
NoRequiredPropertyException - If the provider needs a property which is not found in the property set
IOException - If there is an IO problem

getProviderInfo

String getProviderInfo()
Return a valid HTML string for information. May be anything.

Returns:
A string describing the provider.
Since:
1.6.4


Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.