Modifier and Type | Method and Description |
---|---|
static AttachmentResource |
AttachmentResourceHelper.buildAttachmentResource(AttachmentTO attachment)
Builds an attachment resource for REST-API out of the core attachment.
|
Modifier and Type | Method and Description |
---|---|
static AttachmentResource |
AttachmentResourceHelper.buildAttachmentResource(AttachmentTO attachment)
Builds an attachment resource for REST-API out of the core attachment.
|
static javax.ws.rs.core.Response |
AttachmentResourceHelper.getAttachmentAsBinary(AttachmentTO attachment)
Builds a byte array response of a given attachment.
|
Modifier and Type | Method and Description |
---|---|
static AttachmentResource |
AttachmentResourceHelper.buildAttachmentResource(AttachmentTO attachment)
Builds an attachment resource for REST-API out of the core attachment.
|
static javax.ws.rs.core.Response |
AttachmentResourceHelper.getAttachmentAsBinary(AttachmentTO attachment)
Builds a byte array response of a given attachment.
|
Modifier and Type | Method and Description |
---|---|
static AttachmentResource |
AttachmentResourceHelper.buildAttachmentResource(AttachmentTO attachment)
Builds an attachment resource for REST-API out of the core attachment.
|
static javax.ws.rs.core.Response |
AttachmentResourceHelper.getAttachmentAsBinary(AttachmentTO attachment)
Builds a byte array response of a given attachment.
|
Modifier and Type | Method and Description |
---|---|
AttachmentTO |
RepositoryConnectorDelegateBase.getContent(ContentId contentId) |
AttachmentTO |
RepositoryConnectorDelegate.getContent(ContentId contentId)
Returns a ContentTO that is associated to the given ContentId.
|
AttachmentTO |
RepositoryConnectorDelegateBase.getContent(ExtendedContentId contentId) |
AttachmentTO |
RepositoryConnectorDelegate.getContent(ExtendedContentId contentId)
Returns a ContentTO that is associated to the given ContentId.
|
AttachmentTO |
RepositoryConnector.getContent(ExtendedContentId contentId)
Returns a ContentTO that is associated with the given ContentId.
|
AttachmentTO |
FilesystemConnector.getContent(ExtendedContentId contentId)
Returns a ContentTO that is associated with the given ContentId.
|
protected AttachmentTO |
RepositoryConnectorDelegateImpl.handleGetContent(ContentId contentId)
Performs the core logic for
RepositoryConnectorDelegateBase.getContent(ContentId) |
protected abstract AttachmentTO |
RepositoryConnectorDelegateBase.handleGetContent(ContentId contentId)
Performs the core logic for
RepositoryConnectorDelegateBase.getContent(ContentId) |
protected AttachmentTO |
RepositoryConnectorDelegateImpl.handleGetContent(ExtendedContentId contentId)
Performs the core logic for
RepositoryConnectorDelegateBase.getContent(ExtendedContentId) |
protected abstract AttachmentTO |
RepositoryConnectorDelegateBase.handleGetContent(ExtendedContentId contentId)
Performs the core logic for
RepositoryConnectorDelegateBase.getContent(ExtendedContentId) |
Modifier and Type | Method and Description |
---|---|
void |
ContentObserver.errorOnStoreContent(AttachmentTO contentTo)
Sends a message about an error on storing content.
|
protected ContentId |
RepositoryConnectorDelegateImpl.handleStoreContent(AttachmentTO contentTo) |
protected abstract ContentId |
RepositoryConnectorDelegateBase.handleStoreContent(AttachmentTO contentTo)
Performs the core logic for
RepositoryConnectorDelegateBase.storeContent(com.communote.server.core.vo.content.AttachmentTO) |
ContentId |
RepositoryConnectorDelegateBase.storeContent(AttachmentTO contentTo) |
ContentId |
RepositoryConnectorDelegate.storeContent(AttachmentTO contentTo)
Stores the given ContentTO and returns a ContentId for it.
|
ContentId |
RepositoryConnector.storeContent(AttachmentTO contentTo)
Store the given ContentTO and return a ContentId for it.
|
ContentId |
FilesystemConnector.storeContent(AttachmentTO contentTo)
Store the given ContentTO and return a ContentId for it.
|
Modifier and Type | Method and Description |
---|---|
static Collection<AttachmentTO> |
MailMessageHelper.getAttachments(javax.mail.Message message)
Extracts the attachments from the mail.
|
Modifier and Type | Method and Description |
---|---|
AttachmentTO |
ResourceStoringManagementBase.getAttachment(ContentId contentId)
Returns an attachment with the delivered content id.
|
AttachmentTO |
ResourceStoringManagement.getAttachment(ContentId contentId)
Returns an attachment with the delivered content id.
|
AttachmentTO |
ResourceStoringManagementBase.getAttachment(Long attachmentId) |
AttachmentTO |
ResourceStoringManagement.getAttachment(Long attachmentId)
Get an attachment by the given ID.
|
protected AttachmentTO |
ResourceStoringManagementImpl.handleGetAttachment(ContentId contentId)
Performs the core logic for
ResourceStoringManagementBase.getAttachment(com.communote.server.core.crc.vo.ContentId) |
protected abstract AttachmentTO |
ResourceStoringManagementBase.handleGetAttachment(ContentId contentId)
Performs the core logic for
ResourceStoringManagementBase.getAttachment(com.communote.server.core.crc.vo.ContentId) |
protected AttachmentTO |
ResourceStoringManagementImpl.handleGetAttachment(Long attachmentId) |
protected abstract AttachmentTO |
ResourceStoringManagementBase.handleGetAttachment(Long attachmentId)
Performs the core logic for
ResourceStoringManagementBase.getAttachment(Long) |
Modifier and Type | Method and Description |
---|---|
protected Attachment |
ResourceStoringManagementImpl.handleStoreAttachment(AttachmentTO attachmentTO) |
protected abstract Attachment |
ResourceStoringManagementBase.handleStoreAttachment(AttachmentTO attachment)
Performs the core logic for
ResourceStoringManagementBase.storeAttachment(com.communote.server.core.vo.content.AttachmentTO) |
void |
VirusScannerAttachmentStoringPreProcessor.process(AttachmentTO attachment)
Processes the given attachment.
|
void |
AttachmentStoringPreProcessor.process(AttachmentTO attachment)
Processes the given attachment.
|
Attachment |
ResourceStoringManagementBase.storeAttachment(AttachmentTO attachment) |
Attachment |
ResourceStoringManagement.storeAttachment(AttachmentTO attachment)
Store the attachment in the repository and return the created entity.
|
Modifier and Type | Class and Description |
---|---|
class |
AttachmentFileTO
The
AttachmentFileTO will be based on a file. |
class |
AttachmentRedirectTO |
class |
AttachmentStreamTO
The
AttachmentStreamTO will be an attachment based on an input stream. |
Copyright © 2019 Communote team. All rights reserved.