com.xpn.xwiki.doc
Class XWikiAttachmentArchive

java.lang.Object
  extended bycom.xpn.xwiki.doc.XWikiAttachmentArchive

public class XWikiAttachmentArchive
extends java.lang.Object


Field Summary
private  org.apache.commons.jrcs.rcs.Archive archive
           
private  XWikiAttachment attachment
           
 
Constructor Summary
XWikiAttachmentArchive()
           
 
Method Summary
 java.lang.Object clone()
           
 byte[] getArchive()
           
 byte[] getArchive(XWikiContext context)
           
 XWikiAttachment getAttachment()
           
 long getId()
           
 org.apache.commons.jrcs.rcs.Archive getRCSArchive()
           
 void setArchive(byte[] data)
           
 void setAttachment(XWikiAttachment attachment)
           
 void setId(long id)
           
 void setRCSArchive(org.apache.commons.jrcs.rcs.Archive archive)
           
 void updateArchive(byte[] data)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attachment

private XWikiAttachment attachment

archive

private org.apache.commons.jrcs.rcs.Archive archive
Constructor Detail

XWikiAttachmentArchive

public XWikiAttachmentArchive()
Method Detail

getId

public long getId()

setId

public void setId(long id)

clone

public java.lang.Object clone()

getRCSArchive

public org.apache.commons.jrcs.rcs.Archive getRCSArchive()

setRCSArchive

public void setRCSArchive(org.apache.commons.jrcs.rcs.Archive archive)

getArchive

public byte[] getArchive()
                  throws XWikiException
Throws:
XWikiException

getArchive

public byte[] getArchive(XWikiContext context)
                  throws XWikiException
Throws:
XWikiException

setArchive

public void setArchive(byte[] data)
                throws XWikiException
Throws:
XWikiException

updateArchive

public void updateArchive(byte[] data)
                   throws XWikiException
Throws:
XWikiException

getAttachment

public XWikiAttachment getAttachment()

setAttachment

public void setAttachment(XWikiAttachment attachment)


Copyright 2003 Ludovic Dubost