Class UserAcceptedHome
- java.lang.Object
-
- fr.paris.lutece.plugins.termofservice.business.UserAcceptedHome
-
public final class UserAcceptedHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for UserAccepted objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserAcceptedcreate(UserAccepted userAccepted)Create an instance of the userAccepted classstatic UserAcceptedcreate(UserAccepted userAccepted, boolean bUpdateRemote)Create an instance of the userAccepted classstatic java.util.Optional<UserAccepted>findByGuid(java.lang.String strGuid)Returns an instance of a userAccepted whose identifier is specified in parameterstatic java.util.Optional<UserAccepted>findByGuid(java.lang.String strGuid, boolean bUseRemote)Returns an instance of a userAccepted whose identifier is specified in parameterstatic java.util.Optional<UserAccepted>findByGuidAndEntryAndVersion(java.lang.String strGuid, int nIdEntry, int nVersion)Returns an instance of a userAccepted whose identifier is specified in parameterstatic java.util.Optional<UserAccepted>findByPrimaryKey(int nKey)Returns an instance of a userAccepted whose identifier is specified in parameterstatic java.util.List<java.lang.Integer>getIdUserAcceptedsList()Load the id of all the userAccepted objects and returns them as a liststatic java.util.List<UserAccepted>getUserAcceptedsList()Load the data of all the userAccepted objects and returns them as a liststatic java.util.List<UserAccepted>getUserAcceptedsListByIds(java.util.List<java.lang.Integer> listIds)Load the data of all the avant objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListgetUserAcceptedsReferenceList()Load the data of all the userAccepted objects and returns them as a referenceListstatic voidremove(int nKey)Remove the userAccepted whose identifier is specified in parameterstatic UserAcceptedupdate(UserAccepted userAccepted)Update of the userAccepted which is specified in parameter
-
-
-
Method Detail
-
create
public static UserAccepted create(UserAccepted userAccepted, boolean bUpdateRemote)
Create an instance of the userAccepted class- Parameters:
userAccepted- The instance of the UserAccepted which contains the informations to storebUpdateRemote- true if the user must be updated- Returns:
- The instance of userAccepted which has been created with its primary key.
-
create
public static UserAccepted create(UserAccepted userAccepted)
Create an instance of the userAccepted class- Parameters:
userAccepted- The instance of the UserAccepted which contains the informations to store- Returns:
- The instance of userAccepted which has been created with its primary key.
-
update
public static UserAccepted update(UserAccepted userAccepted)
Update of the userAccepted which is specified in parameter- Parameters:
userAccepted- The instance of the UserAccepted which contains the data to store- Returns:
- The instance of the userAccepted which has been updated
-
remove
public static void remove(int nKey)
Remove the userAccepted whose identifier is specified in parameter- Parameters:
nKey- The userAccepted Id
-
findByPrimaryKey
public static java.util.Optional<UserAccepted> findByPrimaryKey(int nKey)
Returns an instance of a userAccepted whose identifier is specified in parameter- Parameters:
nKey- The userAccepted primary key- Returns:
- an instance of UserAccepted
-
findByGuid
public static java.util.Optional<UserAccepted> findByGuid(java.lang.String strGuid, boolean bUseRemote)
Returns an instance of a userAccepted whose identifier is specified in parameter- Parameters:
strGuid- The user GUIDbUseRemote-- Returns:
- an instance of UserAccepted
-
findByGuid
public static java.util.Optional<UserAccepted> findByGuid(java.lang.String strGuid)
Returns an instance of a userAccepted whose identifier is specified in parameter- Parameters:
strGuid- The user GUID- Returns:
- an instance of UserAccepted
-
findByGuidAndEntryAndVersion
public static java.util.Optional<UserAccepted> findByGuidAndEntryAndVersion(java.lang.String strGuid, int nIdEntry, int nVersion)
Returns an instance of a userAccepted whose identifier is specified in parameter- Parameters:
strGuid- The user GUIDnIdEntry- The id entrynVersion- The version- Returns:
- an instance of UserAccepted
-
getUserAcceptedsList
public static java.util.List<UserAccepted> getUserAcceptedsList()
Load the data of all the userAccepted objects and returns them as a list- Returns:
- the list which contains the data of all the userAccepted objects
-
getIdUserAcceptedsList
public static java.util.List<java.lang.Integer> getIdUserAcceptedsList()
Load the id of all the userAccepted objects and returns them as a list- Returns:
- the list which contains the id of all the userAccepted objects
-
getUserAcceptedsReferenceList
public static fr.paris.lutece.util.ReferenceList getUserAcceptedsReferenceList()
Load the data of all the userAccepted objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the userAccepted objects
-
getUserAcceptedsListByIds
public static java.util.List<UserAccepted> getUserAcceptedsListByIds(java.util.List<java.lang.Integer> listIds)
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
-
-