|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.infoglue.cms.controllers.kernel.impl.simple.ExtendedSearchCriterias
public class ExtendedSearchCriterias
Criterias for the ExtendedSearchController.
| Field Summary | |
|---|---|
static int |
BOTH_DATE_CRITERIA_TYPE
Indicates that the between date criteria should be used. |
static int |
FROM_DATE_CRITERIA_TYPE
Indicates that the from date criteria should be used. |
static int |
NO_DATE_CRITERIA_TYPE
Indicates that no date criteria should be used. |
static int |
TO_DATE_CRITERIA_TYPE
Indicates that the to date criteria should be used. |
| Constructor Summary | |
|---|---|
ExtendedSearchCriterias()
Constructs a criteria object with the state critera set to ContentVersionVO.WORKING_STATE. |
|
ExtendedSearchCriterias(int stateId)
Constructs a criteria object with the specified state critera. |
|
| Method Summary | |
|---|---|
CategoryConditions |
getCategories()
Returns the category condition to use in the category condition criteria. |
java.util.List |
getContentTypeDefinitions()
Returns the content type definitions to use in the content type definition criteria. |
int |
getDateCriteriaType()
Returns the type of date critiera to use. |
java.lang.String |
getFreetext()
Returns the freetext to use in the freetext criteria. |
java.sql.Timestamp |
getFromDate()
Returns the from date to use in the date criteria. |
LanguageVO |
getLanguage()
Returns the language to use in the language criteria. |
java.lang.Integer |
getStateId()
Returns the state to use in the state criteria. |
java.sql.Timestamp |
getToDate()
Returns the to date to use in the date criteria. |
java.util.List |
getXmlAttributes()
Returns the attributes to use in the freetext criteria. |
boolean |
hasCategoryConditions()
Returns true if the category criteria should be used; false otherwise. |
boolean |
hasContentTypeDefinitionVOsCriteria()
Returns true if the content type definition criteria should be used; false otherwise. |
boolean |
hasFreetextCritera()
Returns true if the freetext criteria should be used; false otherwise. |
boolean |
hasLanguageCriteria()
Returns true if the language criteria should be used; false otherwise. |
void |
setCategoryConditions(CategoryConditions categories)
Sets the category criteria. |
void |
setContentTypeDefinitions(ContentTypeDefinitionVO contentTypeDefinitionVO)
Sets the content type definition critiera. |
void |
setContentTypeDefinitions(java.util.List contentTypeDefinitionVOs)
Sets the content type definition critiera. |
void |
setDates(java.util.Date from,
java.util.Date to)
Sets the date critiera. |
void |
setFreetext(java.lang.String freetext,
java.util.List xmlAttributes)
Sets the freetext critera. |
void |
setLanguage(LanguageVO languageVO)
Sets the language criteria. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NO_DATE_CRITERIA_TYPE
public static final int FROM_DATE_CRITERIA_TYPE
public static final int TO_DATE_CRITERIA_TYPE
public static final int BOTH_DATE_CRITERIA_TYPE
| Constructor Detail |
|---|
public ExtendedSearchCriterias()
ContentVersionVO.WORKING_STATE.
public ExtendedSearchCriterias(int stateId)
stateId - the stateId to use.| Method Detail |
|---|
public void setFreetext(java.lang.String freetext,
java.util.List xmlAttributes)
freetext - the freetext to use.xmlAttributes - the list of attribute names to use.public void setLanguage(LanguageVO languageVO)
languageVO - the language to use.public void setContentTypeDefinitions(ContentTypeDefinitionVO contentTypeDefinitionVO)
contentTypeDefinitionVO - the content type definition to use.public void setContentTypeDefinitions(java.util.List contentTypeDefinitionVOs)
contentTypeDefinitionVOs - the list of ContentTypeDefinitionVO to use.public void setCategoryConditions(CategoryConditions categories)
categories - the category condition to use.
public void setDates(java.util.Date from,
java.util.Date to)
from - the from date to use (null is used to indicate an open end).to - the to date to use (null is used to indicate an open end).public boolean hasFreetextCritera()
public boolean hasLanguageCriteria()
public boolean hasContentTypeDefinitionVOsCriteria()
public boolean hasCategoryConditions()
public int getDateCriteriaType()
public java.lang.Integer getStateId()
public java.lang.String getFreetext()
public java.util.List getXmlAttributes()
public LanguageVO getLanguage()
public java.util.List getContentTypeDefinitions()
ContentTypeDefinitionVO:s.public CategoryConditions getCategories()
public java.sql.Timestamp getFromDate()
public java.sql.Timestamp getToDate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||