Class Identity
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.business.identity.Identity
-
- All Implemented Interfaces:
java.io.Serializable
public class Identity extends java.lang.Object implements java.io.SerializableThis is the business class for the object Identity- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Identity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,IdentityAttribute>getAttributes()java.lang.StringgetConnectionId()Returns the ConnectionIdjava.sql.TimestampgetCreationDate()java.lang.StringgetCustomerId()Returns the CustomerIdjava.sql.TimestampgetDeleteDate()java.sql.TimestampgetExpirationDate()java.lang.StringgetFamilyName()returns family name retrieve from attributesjava.lang.StringgetFirstName()returns first name retrieve from attributesintgetId()Returns the Idjava.sql.TimestampgetLastUpdateDate()java.lang.IntegergetMasterIdentityId()java.sql.TimestampgetMergeDate()booleanisConnected()check if the identity is connectedbooleanisDeleted()booleanisMerged()booleanisMonParisActive()voidsetAttributes(java.util.Map<java.lang.String,IdentityAttribute> mapAttributes)voidsetConnectionId(java.lang.String strConnectionId)Sets the ConnectionIdvoidsetCreationDate(java.sql.Timestamp creationDate)voidsetCustomerId(java.lang.String strCustomerId)Sets the CustomerIdvoidsetDeleted(boolean bIsDeleted)set true if all the attibutes of identity are deletedvoidsetDeleteDate(java.sql.Timestamp _dateDeleteDate)voidsetExpirationDate(java.sql.Timestamp _dateExpirationDate)voidsetId(int nId)Sets the IdvoidsetLastUpdateDate(java.sql.Timestamp lastUpdateDate)voidsetMasterIdentityId(java.lang.Integer _nMasterIdentityId)voidsetMerged(boolean merged)voidsetMergeDate(java.sql.Timestamp mergeDate)voidsetMonParisActive(boolean _bIsMonParisActive)
-
-
-
Method Detail
-
getId
public int getId()
Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId)
Sets the Id- Parameters:
nId- The Id
-
getConnectionId
public java.lang.String getConnectionId()
Returns the ConnectionId- Returns:
- The ConnectionId
-
setConnectionId
public void setConnectionId(java.lang.String strConnectionId)
Sets the ConnectionId- Parameters:
strConnectionId- The ConnectionId
-
getCustomerId
public java.lang.String getCustomerId()
Returns the CustomerId- Returns:
- The CustomerId
-
setCustomerId
public void setCustomerId(java.lang.String strCustomerId)
Sets the CustomerId- Parameters:
strCustomerId- The CustomerId
-
getAttributes
public java.util.Map<java.lang.String,IdentityAttribute> getAttributes()
- Returns:
- the _mapAttributes
-
setAttributes
public void setAttributes(java.util.Map<java.lang.String,IdentityAttribute> mapAttributes)
- Parameters:
mapAttributes- the mapAttributes to set
-
getFamilyName
public java.lang.String getFamilyName()
returns family name retrieve from attributes- Returns:
- familyName
-
getFirstName
public java.lang.String getFirstName()
returns first name retrieve from attributes- Returns:
- first name
-
isConnected
public boolean isConnected()
check if the identity is connected- Returns:
- true if connected
-
isDeleted
public boolean isDeleted()
- Returns:
- the _bIsDeleted
-
setDeleted
public void setDeleted(boolean bIsDeleted)
set true if all the attibutes of identity are deleted- Parameters:
bIsDeleted- if identity removed (softDelete)
-
getCreationDate
public java.sql.Timestamp getCreationDate()
-
setCreationDate
public void setCreationDate(java.sql.Timestamp creationDate)
-
isMerged
public boolean isMerged()
-
setMerged
public void setMerged(boolean merged)
-
getMergeDate
public java.sql.Timestamp getMergeDate()
-
setMergeDate
public void setMergeDate(java.sql.Timestamp mergeDate)
-
getMasterIdentityId
public java.lang.Integer getMasterIdentityId()
-
setMasterIdentityId
public void setMasterIdentityId(java.lang.Integer _nMasterIdentityId)
-
getLastUpdateDate
public java.sql.Timestamp getLastUpdateDate()
-
setLastUpdateDate
public void setLastUpdateDate(java.sql.Timestamp lastUpdateDate)
-
isMonParisActive
public boolean isMonParisActive()
-
setMonParisActive
public void setMonParisActive(boolean _bIsMonParisActive)
-
getExpirationDate
public java.sql.Timestamp getExpirationDate()
-
setExpirationDate
public void setExpirationDate(java.sql.Timestamp _dateExpirationDate)
-
getDeleteDate
public java.sql.Timestamp getDeleteDate()
-
setDeleteDate
public void setDeleteDate(java.sql.Timestamp _dateDeleteDate)
-
-