Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
devel:documentation:modules_extras [2019/10/23 07:42]
doischert
devel:documentation:modules_extras [2019/10/24 08:28]
kopro information about utils
Line 64: Line 64:
 A notification about the end of identity's last contract will be sent to those who have a specified role assigned and optionally the manager of the user. A different notification can be sent before the contract ends and when it ends.  A notification about the end of identity's last contract will be sent to those who have a specified role assigned and optionally the manager of the user. A different notification can be sent before the contract ends and when it ends. 
 More information is available here: [[tutorial:adm:notification_-_identity_s_last_contract_is_ending|]] More information is available here: [[tutorial:adm:notification_-_identity_s_last_contract_is_ending|]]
 +
 +===== Get titles before and after =====
 +Almost every project receive all titles in one string and IdM allow separates titles before and after. For this case was created in *ExtrasUtils* two methods *getTitlesAfter* and *getTitlesBefore*. And transformation scripts *extrasGetTitlesBefore* and *extrasGetTitlesAfter*, transformation scripts calls method from utils.
 +
 +Dictionary with titles can be setup by configuration properties. Default values exists.
 +<code>
 +idm.sec.bee.configuration.titlesAfter="Ph.D.", "Th.D.", "CSc.", "DrSc.", "dr. h. c.","DiS.", "MBA"
 +idm.sec.bee.configuration.titlesBefore="Bc.", "BcA.", "Ing.", "Ing. arch.", "MUDr.","MVDr.", "MgA.", "Mgr.", "JUDr.", "PhDr.", "RNDr.", "PharmDr.", "ThLic.", "ThDr.", "prof.", "doc.","PaedDr.", "Dr.", "PhMr."
 +</code>
  • by koulaj