public class AttributeFieldHome extends Object
Constructor and Description |
---|
AttributeFieldHome() |
Modifier and Type | Method and Description |
---|---|
static int |
create(AttributeField attributeField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert an new attribute field
|
static AttributeField |
findByPrimaryKey(int nIdField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load attribute field
|
static void |
remove(int nIdField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an attribute field
|
static void |
removeAttributeFieldsFromIdAttribute(int nIdAttribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all attribute field from an attribute id
|
static IAttribute |
selectAttributeByIdField(int nIdField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the attribute associated to the id field
|
static List<AttributeField> |
selectAttributeFieldsByIdAttribute(int nIdAttribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the lists of attribute field associated to an attribute
|
static void |
update(AttributeField attributeField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update an attribute field
|
public static AttributeField findByPrimaryKey(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdField
- ID Fieldplugin
- The pluginpublic static List<AttributeField> selectAttributeFieldsByIdAttribute(int nIdAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAttribute
- the ID attributeplugin
- The pluginpublic static IAttribute selectAttributeByIdField(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdField
- the id fieldplugin
- The pluginpublic static int create(AttributeField attributeField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
attributeField
- the attribute fieldplugin
- The pluginpublic static void update(AttributeField attributeField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
attributeField
- the attribute fieldplugin
- The pluginpublic static void remove(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdField
- the attribute field idplugin
- The pluginpublic static void removeAttributeFieldsFromIdAttribute(int nIdAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAttribute
- the ID attributeplugin
- The pluginCopyright © 2018 City of Paris. All rights reserved.