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_STORAGEDIR
Fields inherited from interface org.apache.wiki.api.providers.WikiProvider
LATEST_VERSION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.void
deleteVersion
(Attachment att) Deprecated.findAttachments
(QueryItem[] query) Deprecated.Deprecated.getAttachmentInfo
(Page page, String name, int version) Deprecated.Deprecated.Deprecated.void
initialize
(Engine engine, Properties properties) Deprecated.listAllChanged
(Date timestamp) Deprecated.listAttachments
(Page page) Deprecated.void
moveAttachmentsForPage
(String oldParent, String newParent) Deprecated.void
putAttachmentData
(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:
initialize
in interfaceWikiProvider
- Throws:
NoRequiredPropertyException
IOException
-
getProviderInfo
Deprecated.- Specified by:
getProviderInfo
in interfaceWikiProvider
-
putAttachmentData
public void putAttachmentData(Attachment att, InputStream data) throws ProviderException, IOException Deprecated.- Specified by:
putAttachmentData
in interfaceAttachmentProvider
- Throws:
ProviderException
IOException
-
getAttachmentData
Deprecated.- Specified by:
getAttachmentData
in interfaceAttachmentProvider
- Throws:
ProviderException
IOException
-
listAttachments
Deprecated.- Specified by:
listAttachments
in interfaceAttachmentProvider
- Throws:
ProviderException
-
findAttachments
Deprecated.- Specified by:
findAttachments
in interfaceAttachmentProvider
-
listAllChanged
Deprecated.- Specified by:
listAllChanged
in interfaceAttachmentProvider
- Throws:
ProviderException
-
getAttachmentInfo
Deprecated.- Specified by:
getAttachmentInfo
in interfaceAttachmentProvider
- Throws:
ProviderException
-
getVersionHistory
Deprecated.- Specified by:
getVersionHistory
in interfaceAttachmentProvider
-
deleteVersion
Deprecated.- Specified by:
deleteVersion
in interfaceAttachmentProvider
- Throws:
ProviderException
-
deleteAttachment
Deprecated.- Specified by:
deleteAttachment
in interfaceAttachmentProvider
- Throws:
ProviderException
-
moveAttachmentsForPage
Deprecated.- Specified by:
moveAttachmentsForPage
in interfaceAttachmentProvider
- Throws:
ProviderException
-
AttachmentProvider
instead.