Class UserProfileDescriptor
- java.lang.Object
-
- de.xima.fc.workflow.processor.value.wrapper.RecordValueDescriptorWrapper
-
- de.xima.fc.workflow.processor.value.common.UserProfileDescriptor
-
- All Implemented Interfaces:
IRecordValueDescriptor
,IValueDescriptor<Map<String,?>,IRecordValueBuilder>
,Serializable
public final class UserProfileDescriptor extends RecordValueDescriptorWrapper
AIValueDescriptor
for the data of auser profile
, consisting of a display name, email addresses, etc. The default descriptor does not contain referenced entities.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.workflow.processor.value.wrapper.RecordValueDescriptorWrapper
delegate
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Object>
valueUserProfile(UserProfile userProfile)
Creates a value that conforms to theUserProfileDescriptor
value descriptor.static Map<String,Object>
valueUserProfile(UserProfile userProfile, List<UserEmail> emails)
Creates a value that conforms to theUserProfileDescriptor
value descriptor.-
Methods inherited from class de.xima.fc.workflow.processor.value.wrapper.RecordValueDescriptorWrapper
acceptsValue, asAny, asBoolean, asConst, asFloat, asInteger, asLargeString, asList, asList, asMap, asMap, asNull, asRecord, asString, asTuple, asUnion, asUnion, asVoid, builder, configure, getBaseType, getDefaultValue, getDescription, getFullType, getJavaClass, getKnownProperties, getKnownProperties, getRecordValueDescriptors, intersect, is, toString, unwrap, withDefaultValue, withDescription
-
-
-
-
Method Detail
-
valueUserProfile
public static Map<String,Object> valueUserProfile(UserProfile userProfile)
Creates a value that conforms to theUserProfileDescriptor
value descriptor.- Parameters:
userProfile
- The user profile.- Returns:
- A user profile value conforming to
UserProfileDescriptor
.
-
valueUserProfile
public static Map<String,Object> valueUserProfile(UserProfile userProfile, List<UserEmail> emails)
Creates a value that conforms to theUserProfileDescriptor
value descriptor.- Parameters:
userProfile
- The user profile.emails
- The user's email addresses.- Returns:
- A user profile value conforming to
UserProfileDescriptor
.
-
-