Class UserEntry
java.lang.Object
org.ametys.plugins.forms.content.data.UserEntry
User entry.
-
Field Summary
Modifier and TypeFieldDescriptionprotected Date
The entry submission date.protected int
The entry id.protected UserIdentity
The user identityprotected List<FieldValue>
The entry values.protected Integer
The workflow id -
Constructor Summary
ConstructorDescriptionUserEntry
(int id, Date creationDate, List<FieldValue> values, Integer workflowId, UserIdentity userIdentity) Constructor with parameters. -
Method Summary
Modifier and TypeMethodDescriptionGet the creationDate.int
getId()
Get the id.Get the user identity of the entryGet the values.Get the workflow id of this user entryvoid
setCreationDate
(Date creationDate) Set the creationDate.void
setId
(int id) Set the id.void
setValues
(List<FieldValue> values) Set the values.void
setWorkflowId
(Integer workflowId) Set the workflow id of this entry
-
Field Details
-
_id
The entry id. -
_creationDate
The entry submission date. -
_userIdentity
The user identity -
_values
The entry values. -
_workflowId
The workflow id
-
-
Constructor Details
-
UserEntry
public UserEntry(int id, Date creationDate, List<FieldValue> values, Integer workflowId, UserIdentity userIdentity) Constructor with parameters.- Parameters:
id
- the id of the user entrycreationDate
- the creation date of the user entryvalues
- the values of the user entryworkflowId
- the id of the workflow of this user entryuserIdentity
- the user identity. Can be null.
-
-
Method Details
-
getId
Get the id.- Returns:
- the id
-
setId
Set the id.- Parameters:
id
- the id to set
-
getCreationDate
Get the creationDate.- Returns:
- the creationDate
-
setCreationDate
Set the creationDate.- Parameters:
creationDate
- the creationDate to set
-
getValues
Get the values.- Returns:
- the values
-
setValues
Set the values.- Parameters:
values
- the values to set
-
setWorkflowId
Set the workflow id of this entry- Parameters:
workflowId
- the id of the workflow of this entry
-
getWorkflowId
Get the workflow id of this user entry- Returns:
- the workflow id of this entry
-
getUserIdentity
Get the user identity of the entry- Returns:
- the user identity. Can be null.
-