Class UserAcceptedHome
- java.lang.Object
-
- fr.paris.lutece.plugins.termofservice.business.UserAcceptedHome
-
public final class UserAcceptedHome extends Object
This 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 Optional<UserAccepted>findByGuid(String strGuid)Returns an instance of a userAccepted whose identifier is specified in parameterstatic Optional<UserAccepted>findByGuid(String strGuid, boolean bUseRemote)Returns an instance of a userAccepted whose identifier is specified in parameterstatic Optional<UserAccepted>findByPrimaryKey(int nKey)Returns an instance of a userAccepted whose identifier is specified in parameterstatic List<Integer>getIdUserAcceptedsList()Load the id of all the userAccepted objects and returns them as a liststatic List<UserAccepted>getUserAcceptedsList()Load the data of all the userAccepted objects and returns them as a liststatic List<UserAccepted>getUserAcceptedsListByIds(List<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 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 Optional<UserAccepted> findByGuid(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 Optional<UserAccepted> findByGuid(String strGuid)
Returns an instance of a userAccepted whose identifier is specified in parameter- Parameters:
strGuid- The user GUID- Returns:
- an instance of UserAccepted
-
getUserAcceptedsList
public static 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 List<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 List<UserAccepted> getUserAcceptedsListByIds(List<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
-
-