- Direct Known Subclasses:
CreateBody, EditForm
public class CreateForm
extends Object
The create form for managing related content.
-
Field Summary
Fields
@Required @Size(max=10000) String
The related content to be displayed.
The username who created this related content.
The timestamp when this related content was created.
The CRUD operation mode (create, update, etc.).
The sort order for this related content (0-2147483647).
@Required @Size(max=10000) String
The search term for which related content is shown.
The virtual host for which this related content applies.
-
Constructor Summary
Constructors
Creates a new CreateForm instance.
-
Method Summary
void
Initializes the form with default values for creating new related content.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
crudMode
@ValidateTypeFailure
public Integer crudMode
The CRUD operation mode (create, update, etc.).
-
term
@Required
@Size(max=10000)
public @Required @Size(max=10000) String term
The search term for which related content is shown.
-
content
@Required
@Size(max=10000)
public @Required @Size(max=10000) String content
The related content to be displayed.
-
virtualHost
@Size(max=1000)
public @Size(max=1000) String virtualHost
The virtual host for which this related content applies.
-
sortOrder
@Min(0L)
@Max(2147483647L)
@ValidateTypeFailure
public @Min(0L) @Max(2147483647L) Integer sortOrder
The sort order for this related content (0-2147483647).
-
createdBy
@Size(max=1000)
public @Size(max=1000) String createdBy
The username who created this related content.
-
createdTime
@ValidateTypeFailure
public Long createdTime
The timestamp when this related content was created.
-
Constructor Details
-
CreateForm
public CreateForm()
Creates a new CreateForm instance.
-
Method Details
-
initialize
public void initialize()
Initializes the form with default values for creating new related content.