Class AttributeMappingHome
- java.lang.Object
-
- fr.paris.lutece.plugins.mylutece.modules.users.business.AttributeMappingHome
-
public final class AttributeMappingHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for AttributeMapping objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttributeMappingcreate(AttributeMapping attributeMapping)Create an instance of the attributeMapping classstatic AttributeMappingfindByPrimaryKey(int nKey)Returns an instance of a attributeMapping whose identifier is specified in parameterstatic java.util.List<AttributeMapping>getAttributeMappingsList()Load the data of all the attributeMapping objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListgetAttributeMappingsReferenceList()Load the data of all the attributeMapping objects and returns them as a referenceListstatic java.util.List<java.lang.Integer>getIdAttributeMappingsList()Load the id of all the attributeMapping objects and returns them as a liststatic voidremove(int nKey)Remove the attributeMapping whose identifier is specified in parameterstatic AttributeMappingupdate(AttributeMapping attributeMapping)Update of the attributeMapping which is specified in parameter
-
-
-
Method Detail
-
create
public static AttributeMapping create(AttributeMapping attributeMapping)
Create an instance of the attributeMapping class- Parameters:
attributeMapping- The instance of the AttributeMapping which contains the informations to store- Returns:
- The instance of attributeMapping which has been created with its primary key.
-
update
public static AttributeMapping update(AttributeMapping attributeMapping)
Update of the attributeMapping which is specified in parameter- Parameters:
attributeMapping- The instance of the AttributeMapping which contains the data to store- Returns:
- The instance of the attributeMapping which has been updated
-
remove
public static void remove(int nKey)
Remove the attributeMapping whose identifier is specified in parameter- Parameters:
nKey- The attributeMapping Id
-
findByPrimaryKey
public static AttributeMapping findByPrimaryKey(int nKey)
Returns an instance of a attributeMapping whose identifier is specified in parameter- Parameters:
nKey- The attributeMapping primary key- Returns:
- an instance of AttributeMapping
-
getAttributeMappingsList
public static java.util.List<AttributeMapping> getAttributeMappingsList()
Load the data of all the attributeMapping objects and returns them as a list- Returns:
- the list which contains the data of all the attributeMapping objects
-
getIdAttributeMappingsList
public static java.util.List<java.lang.Integer> getIdAttributeMappingsList()
Load the id of all the attributeMapping objects and returns them as a list- Returns:
- the list which contains the id of all the attributeMapping objects
-
getAttributeMappingsReferenceList
public static fr.paris.lutece.util.ReferenceList getAttributeMappingsReferenceList()
Load the data of all the attributeMapping objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the attributeMapping objects
-
-