Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BEF24200CC2 for ; Tue, 20 Jun 2017 18:33:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BDC19160BFE; Tue, 20 Jun 2017 16:33:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D010D160C05 for ; Tue, 20 Jun 2017 18:33:18 +0200 (CEST) Received: (qmail 13956 invoked by uid 500); 20 Jun 2017 16:33:18 -0000 Mailing-List: contact commits-help@jspwiki.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jspwiki.apache.org Delivered-To: mailing list commits@jspwiki.apache.org Received: (qmail 13890 invoked by uid 99); 20 Jun 2017 16:33:18 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2017 16:33:17 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2545EE1863; Tue, 20 Jun 2017 16:33:17 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: git-site-role@apache.org To: commits@jspwiki.apache.org Date: Tue, 20 Jun 2017 16:33:36 -0000 Message-Id: <157998e6617e40ccaeb3de173aee3e64@git.apache.org> In-Reply-To: <20d0fb12c09d4643bab3833c66a8d966@git.apache.org> References: <20d0fb12c09d4643bab3833c66a8d966@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [21/51] [partial] jspwiki-site git commit: Automatic Site Publish by Buildbot archived-at: Tue, 20 Jun 2017 16:33:22 -0000 http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/2e9374f1/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachment.html ---------------------------------------------------------------------- diff --git a/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachment.html b/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachment.html deleted file mode 100755 index afa0f11..0000000 --- a/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachment.html +++ /dev/null @@ -1,364 +0,0 @@ - - - - - - - -DynamicAttachment (Apache JSPWiki Main War 2.10.1 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.apache.wiki.attachment -
-Class DynamicAttachment

-
-java.lang.Object
-  extended by org.apache.wiki.WikiPage
-      extended by org.apache.wiki.attachment.Attachment
-          extended by org.apache.wiki.attachment.DynamicAttachment
-
-
-
All Implemented Interfaces:
Cloneable, Comparable
-
-
-
-
public class DynamicAttachment
extends Attachment
- - - - - -
- -

-A DynamicAttachment is an attachment which does not really exist, but is - created dynamically by a JSPWiki component. -

- Note that a DynamicAttachment might not be available before it is actually - created by a component (e.g. plugin), and therefore trying to access it - before that component has been invoked, might result in a surprising 404. -

- DynamicAttachments are not listed among regular attachments in the current - version. -

- Usage: - -

-
-  class MyDynamicComponent implements DynamicAttachmentProvider
-  {
-  ...
-
-     DynamicAttachment destatt = mgr.getDynamicAttachment( destattname );
-
-     if( destatt == null )
-     {
-         destatt = new DynamicAttachment( context.getEngine(),
-                                          context.getPage().getName(),
-                                          destfilename,
-                                          this );
-         destatt.setCacheable( false );
-     }
-
-     // This is used to check whether the attachment is modified or not
-     // so don't forget to update this if your attachment source changes!
-     // Else JSPWiki will be serving 304s to anyone who asks...
-
-     destatt.setLastModified( context.getPage().getLastModified() );
-     mgr.storeDynamicAttachment( context,  destatt );
-  ...
-
-      public InputStream getAttachmentData( WikiContext context, Attachment att )
-          throws IOException
-      {
-          byte[] bytes = "This is a test".getBytes();
-
-          return new ByteArrayInputStream( bytes );
-      }
-  
-

- -

-

-
Since:
-
2.5.34
-
-
- -

- - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.apache.wiki.WikiPage
ALIAS, CHANGENOTE, DESCRIPTION, REDIRECT
-  - - - - - - - - - - -
-Constructor Summary
DynamicAttachment(WikiEngine engine, - String parentPage, - String fileName, - DynamicAttachmentProvider provider) - -
-          Creates a DynamicAttachment.
-  - - - - - - - - - - - -
-Method Summary
- DynamicAttachmentProvidergetProvider() - -
-          Returns the provider which is used to generate this attachment.
- - - - - - - -
Methods inherited from class org.apache.wiki.attachment.Attachment
getFileName, getParentName, isCacheable, setCacheable, setFileName, toString
- - - - - - - -
Methods inherited from class org.apache.wiki.WikiPage
clone, compareTo, getAcl, getAttribute, getAttributes, getAuthor, getLastModified, getName, getSize, getVersion, getWiki, hashCode, hasMetadata, invalidateMetadata, removeAttribute, setAcl, setAttribute, setAuthor, setHasMetadata, setLastModified, setSize, setVersion
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-DynamicAttachment

-
-public DynamicAttachment(WikiEngine engine,
-                         String parentPage,
-                         String fileName,
-                         DynamicAttachmentProvider provider)
-
-
Creates a DynamicAttachment. -

-

-
Parameters:
engine - The engine which owns this attachment
parentPage - The page which owns this attachment
fileName - The filename of the attachment
provider - The provider which will be used to generate the attachment.
-
- - - - - - - - -
-Method Detail
- -

-getProvider

-
-public DynamicAttachmentProvider getProvider()
-
-
Returns the provider which is used to generate this attachment. -

-

- -
Returns:
A Provider component for this attachment.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved. - - http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/2e9374f1/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachment.png ---------------------------------------------------------------------- diff --git a/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachment.png b/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachment.png deleted file mode 100755 index 463a4d6..0000000 Binary files a/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachment.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/2e9374f1/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachmentProvider.html ---------------------------------------------------------------------- diff --git a/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachmentProvider.html b/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachmentProvider.html deleted file mode 100755 index 2f27f99..0000000 --- a/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachmentProvider.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - - -DynamicAttachmentProvider (Apache JSPWiki Main War 2.10.1 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.apache.wiki.attachment -
-Interface DynamicAttachmentProvider

-
-
-
public interface DynamicAttachmentProvider
- - - - -
- -

-Provides the data for an attachment. Please note that there will - be a strong reference retained for the provider for each Attachment - it provides, so do try to keep the object light. Also, reuse objects - if possible. -

- The Provider needs to be thread-safe. -

- -

-

-
Since:
-
2.5.34
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- InputStreamgetAttachmentData(WikiContext context, - Attachment att) - -
-          Returns a stream of data for this attachment.
-  -

- - - - - - - - -
-Method Detail
- -

-getAttachmentData

-
-InputStream getAttachmentData(WikiContext context,
-                              Attachment att)
-                              throws ProviderException,
-                                     IOException
-
-
Returns a stream of data for this attachment. The stream will be - closed by AttachmentServlet. -

-

-
Parameters:
context - A Wiki Context
att - The Attachment for which the data should be received. -
Returns:
InputStream for the data. -
Throws: -
ProviderException - If something goes wrong internally -
IOException - If something goes wrong when reading the data
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved. - - http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/2e9374f1/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachmentProvider.png ---------------------------------------------------------------------- diff --git a/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachmentProvider.png b/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachmentProvider.png deleted file mode 100755 index c223ea3..0000000 Binary files a/apidocs/2.10.1/org/apache/wiki/attachment/DynamicAttachmentProvider.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/2e9374f1/apidocs/2.10.1/org/apache/wiki/attachment/class-use/Attachment.html ---------------------------------------------------------------------- diff --git a/apidocs/2.10.1/org/apache/wiki/attachment/class-use/Attachment.html b/apidocs/2.10.1/org/apache/wiki/attachment/class-use/Attachment.html deleted file mode 100755 index 446b6ac..0000000 --- a/apidocs/2.10.1/org/apache/wiki/attachment/class-use/Attachment.html +++ /dev/null @@ -1,507 +0,0 @@ - - - - - - - -Uses of Class org.apache.wiki.attachment.Attachment (Apache JSPWiki Main War 2.10.1 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.apache.wiki.attachment.Attachment

-
- - - - - - - - - - - - - - - - - -
-Packages that use Attachment
org.apache.wiki.attachmentAttachment management, uploading and downloading. 
org.apache.wiki.providersProvides storage for JSPWiki. 
org.apache.wiki.searchProvides the JSPWiki search functionality. 
-  -

- - - - - -
-Uses of Attachment in org.apache.wiki.attachment
-  -

- - - - - - - - - -
Subclasses of Attachment in org.apache.wiki.attachment
- classDynamicAttachment - -
-          A DynamicAttachment is an attachment which does not really exist, but is - created dynamically by a JSPWiki component.
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.apache.wiki.attachment that return Attachment
- AttachmentAttachmentManager.getAttachmentInfo(String name) - -
-          Gets info on a particular attachment, latest version.
- AttachmentAttachmentManager.getAttachmentInfo(String name, - int version) - -
-          Gets info on a particular attachment with the given version.
- AttachmentAttachmentManager.getAttachmentInfo(WikiContext context, - String attachmentname) - -
-          Figures out the full attachment name from the context and - attachment name.
- AttachmentAttachmentManager.getAttachmentInfo(WikiContext context, - String attachmentname, - int version) - -
-          Figures out the full attachment name from the context and - attachment name.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.apache.wiki.attachment with parameters of type Attachment
- voidAttachmentManager.deleteAttachment(Attachment att) - -
-          Deletes all versions of the given attachment.
- voidAttachmentManager.deleteVersion(Attachment att) - -
-          Deletes the given attachment version.
- InputStreamDynamicAttachmentProvider.getAttachmentData(WikiContext context, - Attachment att) - -
-          Returns a stream of data for this attachment.
- InputStreamAttachmentManager.getAttachmentStream(Attachment att) - -
-          Finds a (real) attachment from the repository as a stream.
- InputStreamAttachmentManager.getAttachmentStream(WikiContext ctx, - Attachment att) - -
-          Returns an attachment stream using the particular WikiContext.
- voidAttachmentManager.storeAttachment(Attachment att, - File source) - -
-          Stores an attachment that lives in the given file.
- voidAttachmentManager.storeAttachment(Attachment att, - InputStream in) - -
-          Stores an attachment directly from a stream.
-  -

- - - - - -
-Uses of Attachment in org.apache.wiki.providers
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.apache.wiki.providers that return Attachment
- AttachmentWikiAttachmentProvider.getAttachmentInfo(WikiPage page, - String name, - int version) - -
-          Returns info about an attachment.
- AttachmentCachingAttachmentProvider.getAttachmentInfo(WikiPage page, - String name, - int version) - -
-          Returns info about an attachment.
- AttachmentBasicAttachmentProvider.getAttachmentInfo(WikiPage page, - String name, - int version) - -
-          Returns info about an attachment.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.apache.wiki.providers with parameters of type Attachment
- voidWikiAttachmentProvider.deleteAttachment(Attachment att) - -
-          Removes an entire page from the repository.
- voidCachingAttachmentProvider.deleteAttachment(Attachment att) - -
-          Removes an entire page from the repository.
- voidBasicAttachmentProvider.deleteAttachment(Attachment att) - -
-          Removes an entire page from the repository.
- voidWikiAttachmentProvider.deleteVersion(Attachment att) - -
-          Removes a specific version from the repository.
- voidCachingAttachmentProvider.deleteVersion(Attachment att) - -
-          Removes a specific version from the repository.
- voidBasicAttachmentProvider.deleteVersion(Attachment att) - -
-          Removes a specific version from the repository.
- InputStreamWikiAttachmentProvider.getAttachmentData(Attachment att) - -
-          Get attachment data.
- InputStreamCachingAttachmentProvider.getAttachmentData(Attachment att) - -
-          Get attachment data.
- InputStreamBasicAttachmentProvider.getAttachmentData(Attachment att) - -
-          Get attachment data.
- ListWikiAttachmentProvider.getVersionHistory(Attachment att) - -
-          Returns version history.
- ListCachingAttachmentProvider.getVersionHistory(Attachment att) - -
-          Returns version history.
- ListBasicAttachmentProvider.getVersionHistory(Attachment att) - -
-          Returns version history.
- voidWikiAttachmentProvider.putAttachmentData(Attachment att, - InputStream data) - -
-          Put new attachment data.
- voidCachingAttachmentProvider.putAttachmentData(Attachment att, - InputStream data) - -
-          Put new attachment data.
- voidBasicAttachmentProvider.putAttachmentData(Attachment att, - InputStream data) - -
-          Put new attachment data.
-  -

- - - - - -
-Uses of Attachment in org.apache.wiki.search
-  -

- - - - - - - - - -
Methods in org.apache.wiki.search with parameters of type Attachment
-protected  StringLuceneSearchProvider.getAttachmentContent(Attachment att) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved. - - http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/2e9374f1/apidocs/2.10.1/org/apache/wiki/attachment/class-use/AttachmentManager.html ---------------------------------------------------------------------- diff --git a/apidocs/2.10.1/org/apache/wiki/attachment/class-use/AttachmentManager.html b/apidocs/2.10.1/org/apache/wiki/attachment/class-use/AttachmentManager.html deleted file mode 100755 index 28b163b..0000000 --- a/apidocs/2.10.1/org/apache/wiki/attachment/class-use/AttachmentManager.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - -Uses of Class org.apache.wiki.attachment.AttachmentManager (Apache JSPWiki Main War 2.10.1 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.apache.wiki.attachment.AttachmentManager

-
- - - - - - - - - -
-Packages that use AttachmentManager
org.apache.wikiThe chief package of JSPWiki. 
-  -

- - - - - -
-Uses of AttachmentManager in org.apache.wiki
-  -

- - - - - - - - - -
Methods in org.apache.wiki that return AttachmentManager
- AttachmentManagerWikiEngine.getAttachmentManager() - -
-          Returns the current AttachmentManager, which is responsible for - storing and managing attachments.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved. - - http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/2e9374f1/apidocs/2.10.1/org/apache/wiki/attachment/class-use/AttachmentServlet.html ---------------------------------------------------------------------- diff --git a/apidocs/2.10.1/org/apache/wiki/attachment/class-use/AttachmentServlet.html b/apidocs/2.10.1/org/apache/wiki/attachment/class-use/AttachmentServlet.html deleted file mode 100755 index 7c6767e..0000000 --- a/apidocs/2.10.1/org/apache/wiki/attachment/class-use/AttachmentServlet.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - -Uses of Class org.apache.wiki.attachment.AttachmentServlet (Apache JSPWiki Main War 2.10.1 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.apache.wiki.attachment.AttachmentServlet

-
-No usage of org.apache.wiki.attachment.AttachmentServlet -

-


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