public class AttachmentsSoapService extends Object
Constructor and Description |
---|
AttachmentsSoapService() |
Modifier and Type | Method and Description |
---|---|
RemoteAttachment |
addAttachment(long contentId,
RemoteAttachment remoteAttachment,
byte[] attachmentData) |
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) |
public RemoteAttachment addAttachment(long contentId, RemoteAttachment remoteAttachment, byte[] attachmentData) throws RemoteException
RemoteException
public RemoteAttachment getAttachment(long contentId, String fileName, int version) throws RemoteException
RemoteException
public byte[] getAttachmentData(long contentId, String fileName, int version) throws RemoteException
RemoteException
public boolean removeAttachment(long contentId, String fileName) throws RemoteException
RemoteException
public boolean moveAttachment(long contentId, String name, long newContentId, String newName) throws RemoteException
RemoteException
public void setAttachmentManager(AttachmentManager attachmentManager)
public void setContentEntityManager(ContentEntityManager contentEntityManager)
public void setFileUploadManager(FileUploadManager fileUploadManager)
public void setPermissionManager(PermissionManager permissionManager)
Copyright © 2003–2017 Atlassian. All rights reserved.