forked from misdoro/VAMDC-Portal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add form with AsOfDate and SourceDOI, name is subject to change
- Loading branch information
Showing
5 changed files
with
41 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
portal.ejb/src/main/java/org/vamdc/portal/session/queryBuilder/forms/UtilForm.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package org.vamdc.portal.session.queryBuilder.forms; | ||
|
||
import org.vamdc.dictionary.Restrictable; | ||
import org.vamdc.portal.session.queryBuilder.fields.SimpleField; | ||
|
||
public class UtilForm extends AbstractForm{ | ||
|
||
private static final long serialVersionUID = 604009831586236633L; | ||
|
||
@Override | ||
public String getTitle() { return "Misc."; } | ||
|
||
@Override | ||
public String getView() { return "/xhtml/query/forms/standardForm.xhtml"; } | ||
|
||
@Override | ||
public Integer getOrder() { return Order.Util; } | ||
|
||
public UtilForm(){ | ||
super(); | ||
|
||
addField(new SimpleField(Restrictable.AsOfDate, "History date")); | ||
addField(new SimpleField(Restrictable.SourceDOI,"Source DOI")); | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters