com.mindoo.domino.jna.mime.IMimeDataAccessService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of domino-jna Show documentation
Show all versions of domino-jna Show documentation
Java project to access the HCL Domino C API using Java Native Access (JNA)
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);
}