Class ConnectionLog
- java.lang.Object
-
- fr.paris.lutece.plugins.mylutece.authentication.logs.ConnectionLog
-
public class ConnectionLog extends java.lang.ObjectThis class represents business object UserLog
-
-
Field Summary
Fields Modifier and Type Field Description static intLOGIN_DENIEDstatic intLOGIN_DENIED_CANCELEDstatic intLOGIN_OK
-
Constructor Summary
Constructors Constructor Description ConnectionLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.TimestampgetDateLogin()Returns the login date of this user log.java.lang.StringgetIpAddress()Returns the ip address of this connection log.intgetLoginStatus()Returns the login status of this connection log.voidsetDateLogin(java.sql.Timestamp dateLogin)Sets the login date of the connection log to the specified timestamp.voidsetIpAddress(java.lang.String strIpAddress)Sets the ip address of the connection log to the specified string.voidsetLoginStatus(int nLoginStatus)Sets the login status of the connection log to the specified integer.
-
-
-
Field Detail
-
LOGIN_OK
public static final int LOGIN_OK
- See Also:
- Constant Field Values
-
LOGIN_DENIED
public static final int LOGIN_DENIED
- See Also:
- Constant Field Values
-
LOGIN_DENIED_CANCELED
public static final int LOGIN_DENIED_CANCELED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIpAddress
public java.lang.String getIpAddress()
Returns the ip address of this connection log.- Returns:
- the user ip address
-
setIpAddress
public void setIpAddress(java.lang.String strIpAddress)
Sets the ip address of the connection log to the specified string.- Parameters:
strIpAddress- the new ip address
-
getDateLogin
public java.sql.Timestamp getDateLogin()
Returns the login date of this user log.- Returns:
- the user date of login
-
setDateLogin
public void setDateLogin(java.sql.Timestamp dateLogin)
Sets the login date of the connection log to the specified timestamp.- Parameters:
dateLogin- the new date of login
-
getLoginStatus
public int getLoginStatus()
Returns the login status of this connection log.- Returns:
- the user status of login
-
setLoginStatus
public void setLoginStatus(int nLoginStatus)
Sets the login status of the connection log to the specified integer.- Parameters:
nLoginStatus- the new status of login
-
-