Package org.apache.wiki.providers
Class WikiAttachmentAdapterProvider
java.lang.Object
org.apache.wiki.providers.WikiAttachmentAdapterProvider
- All Implemented Interfaces:
AttachmentProvider,WikiProvider
Deprecated.
This provider ensures backward compatibility with attachment providers not using the public API. As providers should use the public API
directly, the use of this class is considered deprecated.
- See Also:
-
Field Summary
Fields inherited from interface org.apache.wiki.api.providers.AttachmentProvider
PROP_STORAGEDIRFields inherited from interface org.apache.wiki.api.providers.WikiProvider
LATEST_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voiddeleteVersion(Attachment att) Deprecated.findAttachments(QueryItem[] query) Deprecated.Deprecated.getAttachmentInfo(Page page, String name, int version) Deprecated.Deprecated.Deprecated.voidinitialize(Engine engine, Properties properties) Deprecated.listAllChanged(Date timestamp) Deprecated.listAttachments(Page page) Deprecated.voidmoveAttachmentsForPage(String oldParent, String newParent) Deprecated.voidputAttachmentData(Attachment att, InputStream data) Deprecated.
-
Constructor Details
-
WikiAttachmentAdapterProvider
public WikiAttachmentAdapterProvider()Deprecated.
-
-
Method Details
-
initialize
public void initialize(Engine engine, Properties properties) throws NoRequiredPropertyException, IOException Deprecated.- Specified by:
initializein interfaceWikiProvider- Throws:
NoRequiredPropertyExceptionIOException
-
getProviderInfo
Deprecated.- Specified by:
getProviderInfoin interfaceWikiProvider
-
putAttachmentData
public void putAttachmentData(Attachment att, InputStream data) throws ProviderException, IOException Deprecated.- Specified by:
putAttachmentDatain interfaceAttachmentProvider- Throws:
ProviderExceptionIOException
-
getAttachmentData
Deprecated.- Specified by:
getAttachmentDatain interfaceAttachmentProvider- Throws:
ProviderExceptionIOException
-
listAttachments
Deprecated.- Specified by:
listAttachmentsin interfaceAttachmentProvider- Throws:
ProviderException
-
findAttachments
Deprecated.- Specified by:
findAttachmentsin interfaceAttachmentProvider
-
listAllChanged
Deprecated.- Specified by:
listAllChangedin interfaceAttachmentProvider- Throws:
ProviderException
-
getAttachmentInfo
Deprecated.- Specified by:
getAttachmentInfoin interfaceAttachmentProvider- Throws:
ProviderException
-
getVersionHistory
Deprecated.- Specified by:
getVersionHistoryin interfaceAttachmentProvider
-
deleteVersion
Deprecated.- Specified by:
deleteVersionin interfaceAttachmentProvider- Throws:
ProviderException
-
deleteAttachment
Deprecated.- Specified by:
deleteAttachmentin interfaceAttachmentProvider- Throws:
ProviderException
-
moveAttachmentsForPage
Deprecated.- Specified by:
moveAttachmentsForPagein interfaceAttachmentProvider- Throws:
ProviderException
-
AttachmentProviderinstead.