|
Clearspace API (2.5.29) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.event.AttachmentEvent
public class AttachmentEvent
A class for Attachment events. This class will be passed to AttachmentListeners
whenever an attachment event is fired and contains all the pertinent information to the event.
| Field Summary | |
|---|---|
static int |
ATTACHMENT_ADDED
Event type for whenever an attachment is added to a document. |
static int |
ATTACHMENT_DELETING
Event type for whenever an attachment is about to be deleted. |
static int |
ATTACHMENT_DOWNLOADED
Event type for whenever an attachment was download. |
static int |
ATTACHMENT_MODIFIED
Event type for whenever an attachment was modified. |
| Constructor Summary | |
|---|---|
AttachmentEvent(int eventType,
AttachmentContentResource attachmentContentResource,
Attachment attachment,
Map<String,? extends Object> params)
|
|
AttachmentEvent(int eventType,
AttachmentContentResource attachmentContentResource,
Attachment attachment,
Map<String,? extends Object> params,
File file)
|
|
AttachmentEvent(int eventType,
AttachmentContentResource attachmentContentResource,
Attachment attachment,
Map<String,? extends Object> params,
File file,
AttachmentManager attachmentManager)
|
|
| Method Summary | |
|---|---|
Attachment |
getAttachment()
|
AttachmentContentResource |
getAttachmentContentResource()
|
AttachmentManager |
getAttachmentManager()
|
Date |
getDate()
|
int |
getEventType()
|
File |
getFile()
|
Map<String,? extends Object> |
getParams()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ATTACHMENT_ADDED
public static final int ATTACHMENT_DELETING
public static final int ATTACHMENT_DOWNLOADED
public static final int ATTACHMENT_MODIFIED
| Constructor Detail |
|---|
public AttachmentEvent(int eventType,
AttachmentContentResource attachmentContentResource,
Attachment attachment,
Map<String,? extends Object> params)
public AttachmentEvent(int eventType,
AttachmentContentResource attachmentContentResource,
Attachment attachment,
Map<String,? extends Object> params,
File file)
public AttachmentEvent(int eventType,
AttachmentContentResource attachmentContentResource,
Attachment attachment,
Map<String,? extends Object> params,
File file,
AttachmentManager attachmentManager)
| Method Detail |
|---|
public int getEventType()
getEventType in interface com.jivesoftware.community.JiveEventpublic AttachmentContentResource getAttachmentContentResource()
public Attachment getAttachment()
public Map<String,? extends Object> getParams()
getParams in interface com.jivesoftware.community.JiveEventpublic Date getDate()
getDate in interface com.jivesoftware.community.JiveEventpublic File getFile()
public AttachmentManager getAttachmentManager()
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||