Class UserProfile

  • All Implemented Interfaces:
    IEntity, Serializable, org.apache.cayenne.DataObject, org.apache.cayenne.Persistent, org.apache.cayenne.Validating

    public class UserProfile
    extends _UserProfile
    Provides a user profile containing a set of user properties and their values (e.g. name, email address). Users can define multiple user profiles that are used to prefill forms and switch between them.
    See Also:
    Serialized Form
    • Field Detail

      • DEFAULT_PROFILE_NAME

        public static final String DEFAULT_PROFILE_NAME
        The name of the profile that is automatically generated when a user is created
        See Also:
        Constant Field Values
      • DEFAULT_PROFILE_DESCRIPTION

        public static final String DEFAULT_PROFILE_DESCRIPTION
        The description of the profile that is automatically generated when a user is created
        See Also:
        Constant Field Values
    • Constructor Detail

      • UserProfile

        public UserProfile()
    • Method Detail

      • isDefaultProfile

        public boolean isDefaultProfile()
        Return whether the profile is the default one for the user (alias for _UserProfile.isCurrentFlag()
        Returns:
        true if the user profile is the default
      • getPropertyValues

        public Map<String,​String> getPropertyValues()
        Returns:
        a map of the profile values, keyed on property type name.