Class ProfileHome
java.lang.Object
fr.paris.lutece.plugins.identityexport.business.ProfileHome
This class provides instances management methods (create, find, ...) for Profil objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProfileCreate an instance of the profil classfindByPrimaryKey(int nKey) Returns an instance of a profil whose identifier is specified in parameterLoad the id of all the profil objects and returns them as a listLoad the data of all the profil objects and returns them as a listLoad the id of all the profil objects and returns them as a listgetProfilsListByIds(List<Integer> listIds) Load the data of all the avant objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListLoad the data of all the profil objects and returns them as a referenceListstatic voidremove(int nKey) Remove the profil whose identifier is specified in parameterstatic ProfileUpdate of the profil which is specified in parameter
-
Method Details
-
create
Create an instance of the profil class- Parameters:
profil- The instance of the Profil which contains the informations to store- Returns:
- The instance of profil which has been created with its primary key.
-
update
Update of the profil which is specified in parameter- Parameters:
profil- The instance of the Profil which contains the data to store- Returns:
- The instance of the profil which has been updated
-
remove
public static void remove(int nKey) Remove the profil whose identifier is specified in parameter- Parameters:
nKey- The profil Id
-
findByPrimaryKey
Returns an instance of a profil whose identifier is specified in parameter- Parameters:
nKey- The profil primary key- Returns:
- an instance of Profil
-
getProfilsList
Load the data of all the profil objects and returns them as a list- Returns:
- the list which contains the data of all the profil objects
-
getIdProfilsList
Load the id of all the profil objects and returns them as a list- Returns:
- the list which contains the id of all the profil objects
-
getProfilsReferenceList
public static fr.paris.lutece.util.ReferenceList getProfilsReferenceList()Load the data of all the profil objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the profil objects
-
getProfilsListByIds
Load the data of all the avant objects and returns them as a list- Parameters:
listIds- liste of ids- Returns:
- the list which contains the data of all the avant objects
-
getProfilsListAutoExtract
Load the id of all the profil objects and returns them as a list- Returns:
- the list which contains the id of all the profil objects
-