the entity that has been saved (and optionally published): note that
in some cases (typically, the first save of a draft node in the
business sub tree) the returned node is not the same as the one that
has been passed
PeopleException - If one of the rule defined for this type is not respected. Use
getMessage to display to the user if needed
public java.lang.String getDisplayName(Node entity)
Returns a display name that is app specific and that depends on one or more
of the entity properties. The user can always set a flag to force the value
to something else.
The Display name is usually stored in the JCR_TITLE property.
public Node getEntityByUid(Session session,
Searches the workspace corresponding to the passed session. It returns the
corresponding entity or null if none has been found. This UID is
implementation specific and is not a JCR Identifier.
It will throw a PeopleException if more than one item with this ID has been