Class UserProfile

java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
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:
  • Field Details

    • 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:
    • 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:
  • Constructor Details

    • UserProfile

      public UserProfile()
  • Method Details

    • 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.