|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.remotefileselector2.RemoteFileSearchFieldsAttributes
public class RemoteFileSearchFieldsAttributes
This class is used to save the last values of the search fields of the RemoteFileSearch class.
Field Summary | |
---|---|
static java.lang.String |
CREATED_DATE
used to specify the created date when searching on datetime values |
static java.lang.String |
MODIFIED_DATE
used to specify the modified date when searching on datetime values |
static java.lang.String |
NO_DATE
used to specify that no date or time should be used for searching |
Constructor Summary | |
---|---|
RemoteFileSearchFieldsAttributes()
|
Method Summary | |
---|---|
java.lang.String |
getDateSearchType()
Returns the set date type to be used for searching. |
java.lang.String |
getDateTimeUnit()
Returns the relateive date time unit. |
java.util.Date |
getEndingDate()
Returns the max date to use for searching. |
boolean |
getRecursive()
Returns the setting of the recursive search flag. |
java.lang.String |
getRelativeDateTimeValue()
Returns teh relative date specified on the client |
java.lang.String |
getSearchContext()
Returns the search context or column. |
RemoteFileSearchAttributes |
getSearchModelAttributes()
Returns the object that contains the values required by the search model for performing a search |
java.lang.String |
getSearchText()
Returns the text used for searching. |
java.util.Date |
getStartingDate()
Returns the currently set value of the starting date range. |
java.lang.String |
getStartingLocation()
Returns the search starting location |
boolean |
isContentUpdateMode()
Returns the ContentUpdateMode for the
search parameters. |
void |
setContentUpdateMode(boolean updateMode)
Indicates update status of the search parameters. |
void |
setDateSearchType(java.lang.String dateType)
Sets a value indicating whether a date is used or not. |
void |
setEndingDate(java.util.Date endDateTime)
Sets the ending date time for the search |
void |
setRecursive(boolean recursive)
Sets the value for searching of subfolders |
void |
setRelativeDateTimeUnit(java.lang.String dateTimeUnit)
Sets the relative date time unit. |
void |
setRelativeDateTimeValue(java.lang.String dateTimeValue)
Sets the relative date specified on the client |
void |
setSearchContext(java.lang.String searchContext)
Sets the context or column that is searched. |
void |
setSearchModelAttributes(RemoteFileSearchAttributes modelSearchCriteria)
Sets the object that will store the model attributes required by the search model's loadFileInfo used for performing the search. |
void |
setSearchText(java.lang.String searchText)
Sets the text used for searching. |
void |
setStartingDate(java.util.Date startDateTime)
Sets the search starting date time. |
void |
setStartingLocation(java.lang.String path)
Sets the starting location to use for searching. |
Field Detail |
---|
public static final java.lang.String MODIFIED_DATE
public static final java.lang.String CREATED_DATE
public static final java.lang.String NO_DATE
Constructor Detail |
---|
public RemoteFileSearchFieldsAttributes()
Method Detail |
---|
public void setSearchModelAttributes(RemoteFileSearchAttributes modelSearchCriteria)
search
- attribute values returned from the modelgetSearchModelAttributes()
,
The RemoteFileSearchAttributes class
public RemoteFileSearchAttributes getSearchModelAttributes()
setSearchModelAttributes(RemoteFileSearchAttributes)
public void setSearchText(java.lang.String searchText)
searchText
- the text item to be searchedpublic java.lang.String getSearchText()
public void setSearchContext(java.lang.String searchContext)
searchContext
- the column identifierpublic java.lang.String getSearchContext()
public void setRecursive(boolean recursive)
recursive
- searching of subfolderspublic boolean getRecursive()
public void setStartingLocation(java.lang.String path)
search
- starting locationpublic java.lang.String getStartingLocation()
public void setStartingDate(java.util.Date startDateTime)
startDateTime
- public java.util.Date getStartingDate()
public void setEndingDate(java.util.Date endDateTime)
endDateTime
- ending datepublic java.util.Date getEndingDate()
public void setDateSearchType(java.lang.String dateType)
MODIFIED_DATE
or a CREATED_DATE
.
If NO_DATE
is specified
then no date or time will be used
for searching.
dateType
- the date typepublic java.lang.String getDateSearchType()
public void setRelativeDateTimeValue(java.lang.String dateTimeValue)
dateTimeValue
- public java.lang.String getRelativeDateTimeValue()
public void setRelativeDateTimeUnit(java.lang.String dateTimeUnit)
dateTimeUnit
- public java.lang.String getDateTimeUnit()
public void setContentUpdateMode(boolean updateMode)
ContentUpdateMode
is set to false
.
When a SearchCommand
is executed the contents of the
parameters are updated.
Otherwise the contents
of the search parameters
remain set to their current
values.
updateMode
- true
when
a StartSearchCommand
is executed
and set to false
once the
parameters are updatedisContentUpdateMode()
public boolean isContentUpdateMode()
ContentUpdateMode
for the
search parameters.
ContentUpdateMode
for the
the search parameters,
this value is false
by defaultsetContentUpdateMode(boolean)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |