All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mindoo.domino.jna.mime.IMimeDataAccessService Maven / Gradle / Ivy

There is a newer version: 0.9.53
Show newest version
package com.mindoo.domino.jna.mime;

import com.mindoo.domino.jna.NotesNote;

public interface IMimeDataAccessService {

	/**
	 * If there are multiple service implementations, order them by ascending
	 * priority and pick the one with the lowest value.
	 * 
	 * @return priority
	 */
	public int getPriority();
	
	/**
	 * Reads {@link MIMEData} from a note
	 * 
	 * @param note note
	 * @param itemName MIME item name
	 * @return MIME data or null if item could not be found
	 */
	public MIMEData getMimeData(NotesNote note, String itemName);
	
	/**
	 * Writes {@link MIMEData} to a note
	 * 
	 * @param note note
	 * @param itemName MIME item name
	 * @param mimeData MIME data to write
	 */
	public void setMimeData(NotesNote note, String itemName, MIMEData mimeData);
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy