Class Identity
java.lang.Object
fr.paris.lutece.plugins.identitystore.business.identity.Identity
- All Implemented Interfaces:
Serializable
This is the business class for the object Identity
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the ConnectionIdReturns the CustomerIdreturns family name retrieve from attributesreturns first name retrieve from attributesintgetId()Returns the Idbooleancheck if the identity is connectedbooleanbooleanisMerged()booleanvoidsetAttributes(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) voidsetUnicityHashCode(String _unicityHashCode) toMap()get Identity values
-
Constructor Details
-
Identity
public Identity()
-
-
Method Details
-
getId
public int getId()Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId) Sets the Id- Parameters:
nId- The Id
-
getConnectionId
Returns the ConnectionId- Returns:
- The ConnectionId
-
setConnectionId
Sets the ConnectionId- Parameters:
strConnectionId- The ConnectionId
-
getCustomerId
Returns the CustomerId- Returns:
- The CustomerId
-
setCustomerId
Sets the CustomerId- Parameters:
strCustomerId- The CustomerId
-
getAttributes
- Returns:
- the _mapAttributes
-
setAttributes
- Parameters:
mapAttributes- the mapAttributes to set
-
getFamilyName
returns family name retrieve from attributes- Returns:
- familyName
-
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
-
setCreationDate
-
isMerged
public boolean isMerged() -
setMerged
public void setMerged(boolean merged) -
getMergeDate
-
setMergeDate
-
getMasterIdentityId
-
setMasterIdentityId
-
getLastUpdateDate
-
setLastUpdateDate
-
isMonParisActive
public boolean isMonParisActive() -
setMonParisActive
public void setMonParisActive(boolean _bIsMonParisActive) -
getExpirationDate
-
setExpirationDate
-
getDeleteDate
-
setDeleteDate
-
getUnicityHashCode
-
setUnicityHashCode
-
toMap
get Identity values- Returns:
- the map of values
-