Class UserRef
java.lang.Object
de.xima.fc.dao.user.UserRef
- All Implemented Interfaces:
IUserData, IUserRef, IUserRefWithData, Serializable
DTO for a user reference.
- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic UserRefforAccess(FormRecordAccess access) static UserRefstatic UserRefforData(String universalReferenceId, UUID profileUuid, Map<String, Serializable> attributes, IUserRefExtension filterExtension) static UserRefforSubmission(FormRecordSubmission submission) static UserRefgetAttribute(String key) @NotNull Map<String, Serializable> static Map<String, Serializable> getAttributes(IUser user) static Map<String, Serializable> getAttributes(IUser user, UUID clientUuid) inthashCode()Methods inherited from class Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IUserRef
getAuthenticationClientName
-
Method Details
-
forData
-
forData
public static UserRef forData(String universalReferenceId, UUID profileUuid, Map<String, Serializable> attributes, IUserRefExtension filterExtension) -
forAccess
-
forSubmission
-
forUser
-
getAttribute
- Specified by:
getAttributein interfaceIUserData- Returns:
- The attribute with the given key. May be null if the user has no such attribute.
-
getAttributes
- Specified by:
getAttributesin interfaceIUserData
-
getProfileUuid
- Specified by:
getProfileUuidin interfaceIUserRef- Returns:
- The UUID of the formcycle profile. May be null if the user has no profile.
-
getUniversalReferenceId
- Specified by:
getUniversalReferenceIdin interfaceIUserRef- Returns:
- The universal reference ID of the user.
-
getExtension
- Specified by:
getExtensionin interfaceIUserRef- Returns:
- the user ref extensions or null if there are none. This value will be loaded lazy
-
hashCode
-
getAttributes
-
getAttributes
-