public class FormModel extends ContentNodeItem
ContentNodeItem.ItemType
Constructor and Description |
---|
FormModel()
Constructor used by JAXB
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
getData()
Form data in JSON format
|
String |
getDescription()
Form description
|
Integer |
getFolderId()
Folder ID of the form
|
List<String> |
getLanguages()
Form languages
|
User |
getLockedBy()
User, who locked the form
|
int |
getLockedSince()
Timestamp, since when the form is locked
|
int |
getPdate()
Publish timestamp
|
ItemVersion |
getPublishedVersion()
Published form version
|
User |
getPublisher()
Publisher of the form
|
Integer |
getSuccessNodeId()
Node ID of the optional success page
|
Integer |
getSuccessPageId()
ID of the optional success page
|
FormTimeManagement |
getTimeManagement()
Time Management
|
ItemVersion |
getVersion()
Current form version
|
boolean |
isLocked()
Whether the form is currently locked
|
boolean |
isModified()
Whether the form was modified after being published
|
boolean |
isOnline()
Whether the form is currently online
|
boolean |
isPlanned()
Whether the form has time management set or not
|
void |
setData(com.fasterxml.jackson.databind.JsonNode data)
Set the form data
|
void |
setDescription(String description)
Set the form description
|
void |
setFolderId(Integer folderId)
Set the folder ID
|
void |
setLanguages(List<String> languages)
Set the form languages
|
void |
setLocked(boolean locked)
Set the locked flag
|
void |
setLockedBy(User lockedBy)
Set the locking user
|
void |
setLockedSince(int lockedSince)
Set lock timestamp
|
void |
setModified(boolean modified)
Set the modified flag
|
void |
setOnline(boolean online)
Set the online flag
|
void |
setPdate(int pdate)
Set the publish timestamp
|
void |
setPlanned(boolean planned)
Set the planned flag
|
void |
setPublishedVersion(ItemVersion publishedVersion)
Set the published form version
|
void |
setPublisher(User publisher)
Set the publisher
|
void |
setSuccessNodeId(Integer successNodeId)
Set the success page node ID
|
void |
setSuccessPageId(Integer successPageId)
Set the success page ID
|
void |
setTimeManagement(FormTimeManagement timeManagement)
Set time management
|
void |
setVersion(ItemVersion version)
Set the current form version
|
getCdate, getCreator, getDeleted, getEdate, getEditor, getFolderDeleted, getGlobalId, getId, getMasterDeleted, getName, getType, setCdate, setCreator, setDeleted, setEdate, setEditor, setFolderDeleted, setGlobalId, setId, setMasterDeleted, setName, setType
public String getDescription()
public void setDescription(String description)
description
- the description to setpublic Integer getFolderId()
public void setFolderId(Integer folderId)
folderId
- the folderId to setpublic void setLanguages(List<String> languages)
languages
- form languagespublic com.fasterxml.jackson.databind.JsonNode getData()
public void setData(com.fasterxml.jackson.databind.JsonNode data)
data
- form datapublic User getPublisher()
public void setPublisher(User publisher)
publisher
- the publisher to setpublic int getPdate()
public void setPdate(int pdate)
pdate
- the pdate to setpublic boolean isOnline()
public void setOnline(boolean online)
online
- flagpublic boolean isModified()
public void setModified(boolean modified)
modified
- flagpublic boolean isPlanned()
public void setPlanned(boolean planned)
planned
- flagpublic boolean isLocked()
public void setLocked(boolean locked)
locked
- flagpublic int getLockedSince()
public void setLockedSince(int lockedSince)
lockedSince
- timestamppublic User getLockedBy()
public void setLockedBy(User lockedBy)
lockedBy
- userpublic ItemVersion getVersion()
public void setVersion(ItemVersion version)
version
- the version to setpublic ItemVersion getPublishedVersion()
public void setPublishedVersion(ItemVersion publishedVersion)
publishedVersion
- the publishedVersion to setpublic FormTimeManagement getTimeManagement()
public void setTimeManagement(FormTimeManagement timeManagement)
timeManagement
- time managementpublic Integer getSuccessPageId()
public void setSuccessPageId(Integer successPageId)
successPageId
- IDpublic Integer getSuccessNodeId()
public void setSuccessNodeId(Integer successNodeId)
successNodeId
- node IDCopyright © 2024 Gentics Software. All rights reserved.