Package com.avoka.fc.core.entity
Class UserProfile
- java.lang.Object
-
- org.apache.cayenne.PersistentObject
-
- org.apache.cayenne.BaseDataObject
-
- org.apache.cayenne.CayenneDataObject
-
- com.avoka.core.entity.BaseEntity
-
- com.avoka.fc.core.entity.auto._UserProfile
-
- com.avoka.fc.core.entity.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 Summary
Fields Modifier and Type Field Description static String
DEFAULT_PROFILE_DESCRIPTION
The description of the profile that is automatically generated when a user is createdstatic String
DEFAULT_PROFILE_NAME
The name of the profile that is automatically generated when a user is created-
Fields inherited from class com.avoka.fc.core.entity.auto._UserProfile
CURRENT_FLAG, CURRENT_FLAG_PROPERTY, PROFILE_DESCRIPTION, PROFILE_DESCRIPTION_PROPERTY, PROFILE_NAME, PROFILE_NAME_PROPERTY, PROFILE_OID_PK_COLUMN, REQUESTS, REQUESTS_PROPERTY, SUBMISSIONS, SUBMISSIONS_PROPERTY, USER, USER_PROPERTIES, USER_PROPERTIES_PROPERTY, USER_PROPERTY
-
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description UserProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getPropertyValues()
boolean
isDefaultProfile()
Return whether the profile is the default one for the user (alias for_UserProfile.isCurrentFlag()
-
Methods inherited from class com.avoka.fc.core.entity.auto._UserProfile
addToRequests, addToSubmissions, addToUserProperties, getProfileDescription, getProfileName, getRequests, getSubmissions, getUser, getUserProperties, isCurrentFlag, removeFromRequests, removeFromSubmissions, removeFromUserProperties, setCurrentFlag, setProfileDescription, setProfileName, setUser
-
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
-
Methods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeState
-
Methods inherited from class org.apache.cayenne.BaseDataObject
addToManyTarget, beforePropertyRead, beforePropertyWrite, getSnapshotVersion, readNestedProperty, readProperty, readSerialized, removeToManyTarget, setObjectContext, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writeSerialized
-
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
-
-
-
-
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
-
-
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
-
-