Class EntryTypeHome


  • public final class EntryTypeHome
    extends Object
    class EntryTypeHome
    • Method Detail

      • findByPrimaryKey

        public static EntryType findByPrimaryKey​(int nKey)
        Returns an instance of a EntryType whose identifier is specified in parameter
        Parameters:
        nKey - The entry type primary key
        Returns:
        an instance of EntryType
      • getList

        public static List<EntryType> getList​(String strPluginName)
        Load entry types associated with a given plugin and returns them in a list
        Parameters:
        strPluginName - The name of plugin to get entry types of
        Returns:
        the list of entry type associated with the plugin
      • getCompleteList

        public static List<EntryType> getCompleteList()
        Load entry types and returns them in a list
        Parameters:
        strPluginName - The name of plugin to get entry types of
        Returns:
        the list of entry type associated with the plugin
      • update

        public static void update​(EntryType entryType)
        Updates the entry type.
        Parameters:
        entryType -