org.glassmaker.forge/org.glassmaker.spring.web/src/main/java/org/glassmaker/spring/web/MirrorTemplate.java
public void insertTimelineItem(TimelineItem item, String attachmentContentType, byte[] attachmentData) throws IOException {
		Mirror.Timeline timeline = getMirror().timeline();
		timeline.insert(item, new ByteArrayContent(attachmentContentType, attachmentData)).execute();

	}
public void insertTimelineItem(TimelineItem item, String attachmentContentType, byte[] attachmentData) throws IOException {
		Mirror.Timeline timeline = getMirror().timeline();
		timeline.insert(item, new ByteArrayContent(attachmentContentType, attachmentData)).execute();

	}
Inserts an item with an attachment provided as a byte array.

@param item
the item to insert
@param attachmentContentType
the MIME type of the attachment (or null if none)
@param attachmentData
data for the attachment (or null if none)