1 /*****************************************************************************
5 * Creation date 05.03.2013
8 * @copyright OPEN CASCADE 2012
9 *****************************************************************************/
11 package org.splat.service.dto;
13 import java.util.Date;
16 * Study search criteria.
18 * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
20 public class StudySearchFilterDTO extends SearchFilterDTO {
23 * "ANY": match any status.
25 public final static String ANY_STATE = "ANY";
27 * "In-Work", "In-Draft", "In-Check"...
29 private String _state = ANY_STATE;
31 * Search studies updated after this date.
33 private Date _updatedAfter;
35 * Search studies updated before this date.
37 private Date _updatedBefore;
39 // ==============================================================================================================================
41 // ==============================================================================================================================
44 * Get progress state criteria.
46 * @return study progress state to search
48 public String getState() {
53 * Set progress state criteria.
56 * the progress state to search
58 public void setState(final String value) {
63 * Get the updatedAfter.
65 * @return the updatedAfter
67 public Date getUpdatedAfter() {
72 * Get the updatedBefore.
74 * @return the updatedBefore
76 public Date getUpdatedBefore() {
77 return _updatedBefore;
81 * Set the updatedAfter.
84 * the updatedAfter to set
86 public void setUpdatedAfter(final Date updatedAfter) {
87 _updatedAfter = updatedAfter;
91 * Set the updatedBefore.
93 * @param updatedBefore
94 * the updatedBefore to set
96 public void setUpdatedBefore(final Date updatedBefore) {
97 _updatedBefore = updatedBefore;