org.archiviststoolkit.util
Class NoteEtcTypesUtils

java.lang.Object
  extended by org.archiviststoolkit.util.NoteEtcTypesUtils

public class NoteEtcTypesUtils
extends java.lang.Object


Constructor Summary
NoteEtcTypesUtils()
           
 
Method Summary
static java.lang.Boolean doesNoteEtcTypeAllowMultiPart(java.lang.String cannonicalName)
           
static java.util.Vector<NotesEtcTypes> getDigitalObjectNotesTypesList()
           
static java.util.Vector<NotesEtcTypes> getNotesEmbeddedTypesList()
           
static java.util.Collection<NotesEtcTypes> getNotesEtcTypes()
           
static java.util.Vector<NotesEtcTypes> getNotesEtcTypesList()
           
static java.util.Vector<NotesEtcTypes> getNotesEtcTypesList(boolean addBlankAtTop)
           
static java.util.Vector<NotesEtcTypes> getNotesOnlyTypesList()
           
static java.util.Vector<NotesEtcTypes> getNotesOnlyTypesList(boolean addBlankAtTop)
           
static java.lang.String getNoteTypeFromEAD(java.lang.Object note)
           
static void importRecords(org.netbeans.spi.wizard.DeferredWizardResult.ResultProgressHandle progress)
           
static void importRecords(org.netbeans.spi.wizard.DeferredWizardResult.ResultProgressHandle progress, java.io.File file)
           
static void importRecords(java.io.File file)
           
static boolean loadNotesEtcTypes()
           
static java.lang.String lookupDefaultTitleByCannonicalName(java.lang.String cannonicalName)
           
static NotesEtcTypes lookupNoteEtcTypeByCannonicalName(java.lang.String cannonicalName)
           
static java.lang.Class lookupRepeatingDataClass(NotesEtcTypes noteEtcType)
           
static java.lang.String lookupRepeatingDataType(java.lang.String noteEtcLabel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoteEtcTypesUtils

public NoteEtcTypesUtils()
Method Detail

importRecords

public static void importRecords(org.netbeans.spi.wizard.DeferredWizardResult.ResultProgressHandle progress)

importRecords

public static void importRecords(java.io.File file)

importRecords

public static void importRecords(org.netbeans.spi.wizard.DeferredWizardResult.ResultProgressHandle progress,
                                 java.io.File file)

loadNotesEtcTypes

public static boolean loadNotesEtcTypes()

getNotesEtcTypesList

public static java.util.Vector<NotesEtcTypes> getNotesEtcTypesList()

getNotesEtcTypesList

public static java.util.Vector<NotesEtcTypes> getNotesEtcTypesList(boolean addBlankAtTop)

getDigitalObjectNotesTypesList

public static java.util.Vector<NotesEtcTypes> getDigitalObjectNotesTypesList()

getNotesOnlyTypesList

public static java.util.Vector<NotesEtcTypes> getNotesOnlyTypesList()

getNotesOnlyTypesList

public static java.util.Vector<NotesEtcTypes> getNotesOnlyTypesList(boolean addBlankAtTop)

getNotesEmbeddedTypesList

public static java.util.Vector<NotesEtcTypes> getNotesEmbeddedTypesList()

lookupRepeatingDataType

public static java.lang.String lookupRepeatingDataType(java.lang.String noteEtcLabel)
                                                throws UnsupportedRepeatingDataTypeException
Throws:
UnsupportedRepeatingDataTypeException

lookupNoteEtcTypeByCannonicalName

public static NotesEtcTypes lookupNoteEtcTypeByCannonicalName(java.lang.String cannonicalName)
                                                       throws UnsupportedRepeatingDataTypeException
Throws:
UnsupportedRepeatingDataTypeException

doesNoteEtcTypeAllowMultiPart

public static java.lang.Boolean doesNoteEtcTypeAllowMultiPart(java.lang.String cannonicalName)
                                                       throws UnsupportedRepeatingDataTypeException
Throws:
UnsupportedRepeatingDataTypeException

lookupDefaultTitleByCannonicalName

public static java.lang.String lookupDefaultTitleByCannonicalName(java.lang.String cannonicalName)
                                                           throws UnsupportedRepeatingDataTypeException
Throws:
UnsupportedRepeatingDataTypeException

lookupRepeatingDataClass

public static java.lang.Class lookupRepeatingDataClass(NotesEtcTypes noteEtcType)
                                                throws UnsupportedRepeatingDataTypeException
Throws:
UnsupportedRepeatingDataTypeException

getNotesEtcTypes

public static java.util.Collection<NotesEtcTypes> getNotesEtcTypes()

getNoteTypeFromEAD

public static java.lang.String getNoteTypeFromEAD(java.lang.Object note)