public final class FormsEntryUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static fr.paris.lutece.plugins.genericattributes.business.Entry |
createEntryByType(int nIdType)
Return an instance of IEntry function of type entry
|
static fr.paris.lutece.plugins.genericattributes.business.Field |
findFieldByCode(fr.paris.lutece.plugins.genericattributes.business.Entry entry,
String strCode)
Finds a field with the specified code in the specified entry
|
static int |
getIndexFieldInTheFieldList(int nIdField,
List<fr.paris.lutece.plugins.genericattributes.business.Field> listField)
Return the index in the list of the field whose key is specified in parameter
|
static List<fr.paris.lutece.plugins.genericattributes.business.EntryType> |
initListEntryType()
Build a list with the different entry types excluding Group and MyLuteceUser
|
static fr.paris.lutece.util.ReferenceList |
initRefListEntryType()
Build a reference list with the different entry types excluding Group and MyLuteceUser
|
public static fr.paris.lutece.plugins.genericattributes.business.Entry createEntryByType(int nIdType)
nIdType - the entry type idpublic static int getIndexFieldInTheFieldList(int nIdField,
List<fr.paris.lutece.plugins.genericattributes.business.Field> listField)
nIdField - the key of the fieldlistField - the list of fieldpublic static fr.paris.lutece.util.ReferenceList initRefListEntryType()
public static List<fr.paris.lutece.plugins.genericattributes.business.EntryType> initListEntryType()
public static fr.paris.lutece.plugins.genericattributes.business.Field findFieldByCode(fr.paris.lutece.plugins.genericattributes.business.Entry entry,
String strCode)
entry - the entrystrCode - the codenull otherwiseCopyright © 2023 City of Paris. All rights reserved.