TemporaryWebAttachmentManager
instead. Since v6.4@Deprecated @PublicApi public class TemporaryAttachmentsMonitor extends Object implements javax.servlet.http.HttpSessionBindingListener, Serializable
Constructor and Description |
---|
TemporaryAttachmentsMonitor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
add(TemporaryAttachment temporaryAttachment)
Deprecated.
Adds temporary attachments to the interally maintained list of temporary attachements
|
void |
clearEntriesForFormToken(String formToken)
Deprecated.
Removes all temporary attachments for the given formToken.
|
void |
clearEntriesForIssue(Long issueId)
Deprecated.
since 6.3 use
clearEntriesForFormToken(String) instead. |
Collection<TemporaryAttachment> |
getByFormToken(String formToken)
Deprecated.
Returns all temporary attachments, which were bound to given form token.
|
TemporaryAttachment |
getById(Long id)
Deprecated.
Returns matching temporary attachment by attachment id.
|
Collection<TemporaryAttachment> |
getByIssueId(Long issueId)
Deprecated.
since 6.3 use
getByFormToken(String) instead. |
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
Deprecated.
|
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
Deprecated.
When this object is unbount from the HttpSession, it's responsible for cleanup.
|
public void add(TemporaryAttachment temporaryAttachment)
temporaryAttachment
- the attachment to addpublic TemporaryAttachment getById(Long id)
id
- the id of the temporary attachment@Deprecated public Collection<TemporaryAttachment> getByIssueId(Long issueId)
getByFormToken(String)
instead.issueId
- The id of the issue to get attachmetns for. May be nullpublic Collection<TemporaryAttachment> getByFormToken(String formToken)
formToken
- @Deprecated public void clearEntriesForIssue(Long issueId)
clearEntriesForFormToken(String)
instead.issueId
- The id of the issue to remove entries for. May be null.public void clearEntriesForFormToken(String formToken)
formToken
- The formToken of the form to remove entries for. May not be null.public void valueBound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
httpSessionBindingEvent
- Copyright © 2002-2022 Atlassian. All Rights Reserved.