Class Identity
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.business.identity.Identity
-
- All Implemented Interfaces:
Serializable
public class Identity extends Object implements Serializable
This 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 Map<String,IdentityAttribute>getAttributes()StringgetConnectionId()Returns the ConnectionIdTimestampgetCreationDate()StringgetCustomerId()Returns the CustomerIdTimestampgetDeleteDate()TimestampgetExpirationDate()StringgetFamilyName()returns family name retrieve from attributesStringgetFirstName()returns first name retrieve from attributesintgetId()Returns the IdTimestampgetLastUpdateDate()IntegergetMasterIdentityId()TimestampgetMergeDate()booleanisConnected()check if the identity is connectedbooleanisDeleted()booleanisMerged()booleanisMonParisActive()voidsetAttributes(Map<String,IdentityAttribute> mapAttributes)voidsetConnectionId(String strConnectionId)Sets the ConnectionIdvoidsetCreationDate(Timestamp creationDate)voidsetCustomerId(String strCustomerId)Sets the CustomerIdvoidsetDeleted(boolean bIsDeleted)set true if all the attibutes of identity are deletedvoidsetDeleteDate(Timestamp _dateDeleteDate)voidsetExpirationDate(Timestamp _dateExpirationDate)voidsetId(int nId)Sets the IdvoidsetLastUpdateDate(Timestamp lastUpdateDate)voidsetMasterIdentityId(Integer _nMasterIdentityId)voidsetMerged(boolean merged)voidsetMergeDate(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 String getConnectionId()
Returns the ConnectionId- Returns:
- The ConnectionId
-
setConnectionId
public void setConnectionId(String strConnectionId)
Sets the ConnectionId- Parameters:
strConnectionId- The ConnectionId
-
getCustomerId
public String getCustomerId()
Returns the CustomerId- Returns:
- The CustomerId
-
setCustomerId
public void setCustomerId(String strCustomerId)
Sets the CustomerId- Parameters:
strCustomerId- The CustomerId
-
getAttributes
public Map<String,IdentityAttribute> getAttributes()
- Returns:
- the _mapAttributes
-
setAttributes
public void setAttributes(Map<String,IdentityAttribute> mapAttributes)
- Parameters:
mapAttributes- the mapAttributes to set
-
getFamilyName
public String getFamilyName()
returns family name retrieve from attributes- Returns:
- familyName
-
getFirstName
public 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 Timestamp getCreationDate()
-
setCreationDate
public void setCreationDate(Timestamp creationDate)
-
isMerged
public boolean isMerged()
-
setMerged
public void setMerged(boolean merged)
-
getMergeDate
public Timestamp getMergeDate()
-
setMergeDate
public void setMergeDate(Timestamp mergeDate)
-
getMasterIdentityId
public Integer getMasterIdentityId()
-
setMasterIdentityId
public void setMasterIdentityId(Integer _nMasterIdentityId)
-
getLastUpdateDate
public Timestamp getLastUpdateDate()
-
setLastUpdateDate
public void setLastUpdateDate(Timestamp lastUpdateDate)
-
isMonParisActive
public boolean isMonParisActive()
-
setMonParisActive
public void setMonParisActive(boolean _bIsMonParisActive)
-
getExpirationDate
public Timestamp getExpirationDate()
-
setExpirationDate
public void setExpirationDate(Timestamp _dateExpirationDate)
-
getDeleteDate
public Timestamp getDeleteDate()
-
setDeleteDate
public void setDeleteDate(Timestamp _dateDeleteDate)
-
-