Class Overview
Helper class for handling attachments on the view issue page. This class sorts attachments into two categories:
- attachments that have thumbnails
- attachments that do not have thumbnails
This is useful because of the different way in which these two types of attachments are displayed on the view issue
page. Note that an attachment may be "thumbnailable" but not have a thumbnail in practice, i.e. because there was an
error creating the thumbnail. This class cares not about theoretical thumbnailability, but only about actual
presence/absence of a thumbnail.
Summary
| Nested Classes |
|
class |
AttachmentsCategoriser.AttachmentItemCreator |
|
|
interface |
AttachmentsCategoriser.Source |
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Creates a new AttachmentsCategoriser
Parameters
| thumbnailManager
| a ThumbnailManager |
| attachmentsSource
| the Source used to get Attachments from
|
Public Methods
Returns
- a AttachmentItems containing all the attachments for current issue
public
AttachmentItems
itemsThatDoNotHaveThumbs
()
Returns
- as AttachmentItems containing all the attachments that do not have thumbnails
Returns
- as AttachmentItems containing all the attachments that have thumbnails