Class EntryTypeHome
- java.lang.Object
-
- fr.paris.lutece.plugins.genericattributes.business.EntryTypeHome
-
public final class EntryTypeHome extends Object
class EntryTypeHome
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EntryTypefindByPrimaryKey(int nKey)Returns an instance of a EntryType whose identifier is specified in parameterstatic List<EntryType>getCompleteList()Load entry types and returns them in a liststatic List<EntryType>getList(String strPluginName)Load entry types associated with a given plugin and returns them in a liststatic voidupdate(EntryType entryType)Updates the entry type.
-
-
-
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-
-
-