Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Action name

SetPersonalIDHash

Class name

com.cdrator.main.user.action.SetPersonalIDHash

Available from core version

8.7

Description

This action adds a PersonalID entry for a User. The input parameter must already be hashed/encrypted if so desired.

Return value

void: No return value.

Properties

  1. endDateLastPeriod: To set expiry date on personal id.
  2. personalIDType: The personal ID type

Parameters

  1. Users: user
  2. String: hashedPersonalID

PersonalIDSetter

Action name

PersonalIDSetter

Class name

com.cdrator.main.user.action.PersonalIDSetter

Available from core version

8.7

Description

Sets an attribute of PersonalID

Return value

void: Sets an attribute of a persistent object

Properties

  1. attributeName: Attribute that should be set on the persistent object
  2. savePersistentObject: Check if the persistent object should be saved after updating it. Default is true.

Parameters

  1. PersistentObject: persistentObject
  2. Object: value

GetUserByUsername

Action name

GetUserByUsername

Class name

com.cdrator.main.user.action.GetUserByUsername

Available from core version

8.7

Description

This action returns the user with a given username if one exists. SysException is thrown if more than one user object exists with the username.

Return value

Users: The user object if a user with the username exists. The value null is returned if none exists.

Properties

 

Parameters

  1. String: username
  2. Brand: brand

...