com.atlassian.confluence.rpc.soap.services
Class AttachmentsSoapService

java.lang.Object
  extended by com.atlassian.confluence.rpc.soap.services.AttachmentsSoapService

public class AttachmentsSoapService
extends Object

Implementation of remote methods for handling attachments.


Constructor Summary
AttachmentsSoapService()
           
 
Method Summary
 RemoteAttachment addAttachment(long contentId, RemoteAttachment remoteAttachment, byte[] attachmentData)
           
 RemoteAttachment addAttachment(RemoteAttachment remoteAttachment, byte[] attachmentData)
          Deprecated. since 2.1 available for backward compatibility.
 RemoteAttachment getAttachment(long contentId, String fileName, int version)
           
 byte[] getAttachmentData(long contentId, String fileName, int version)
           
 boolean moveAttachment(long contentId, String name, long newContentId, String newName)
           
 boolean removeAttachment(long contentId, String fileName)
           
 void setAttachmentManager(AttachmentManager attachmentManager)
           
 void setContentEntityManager(ContentEntityManager contentEntityManager)
           
 void setFileUploadManager(FileUploadManager fileUploadManager)
           
 void setPermissionManager(PermissionManager permissionManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentsSoapService

public AttachmentsSoapService()
Method Detail

addAttachment

@Deprecated
public RemoteAttachment addAttachment(RemoteAttachment remoteAttachment,
                                                 byte[] attachmentData)
                               throws RemoteException
Deprecated. since 2.1 available for backward compatibility.

Throws:
RemoteException

addAttachment

public RemoteAttachment addAttachment(long contentId,
                                      RemoteAttachment remoteAttachment,
                                      byte[] attachmentData)
                               throws RemoteException
Throws:
RemoteException

getAttachment

public RemoteAttachment getAttachment(long contentId,
                                      String fileName,
                                      int version)
                               throws RemoteException
Throws:
RemoteException

getAttachmentData

public byte[] getAttachmentData(long contentId,
                                String fileName,
                                int version)
                         throws RemoteException
Throws:
RemoteException

removeAttachment

public boolean removeAttachment(long contentId,
                                String fileName)
                         throws RemoteException
Throws:
RemoteException

moveAttachment

public boolean moveAttachment(long contentId,
                              String name,
                              long newContentId,
                              String newName)
                       throws RemoteException
Throws:
RemoteException

setAttachmentManager

public void setAttachmentManager(AttachmentManager attachmentManager)

setContentEntityManager

public void setContentEntityManager(ContentEntityManager contentEntityManager)

setFileUploadManager

public void setFileUploadManager(FileUploadManager fileUploadManager)

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)


Copyright © 2003-2013 Atlassian. All Rights Reserved.