Class DocumentFilter
java.lang.Object
fr.paris.lutece.plugins.document.business.DocumentFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTell if the filter contains a criteria on the CategorybooleanTell if the filter contains a criteria on the Document typebooleanTell if the filter contains a criteria on the IdbooleanTell if the filter contains a criteria on the Document spacebooleanTell if the filter contains a criteria on the Document stateint[]Returns the CodeDocumentTypeint[]getIds()intReturns the IdSpaceintReturns the IdStatebooleanGet the boolean that indicates whether binaries of documents should be loadedvoidsetCategoriesId(int[] arrayCategoriesId) voidsetCodeDocumentType(String strCodeDocumentType) Sets the CodeDocumentTypevoidsetDateMax(String dateMax) voidsetDateMin(String dateMin) voidsetIds(int[] arrayId) voidsetIdSpace(int nIdSpace) Sets the IdSpacevoidsetIdState(int nIdState) Sets the IdStatevoidsetIsPublished(Boolean bIsPublished) voidsetLoadBinaries(boolean bLoadBinaries) Set the boolean that indicates whether binaries of documents should be loaded
-
Constructor Details
-
DocumentFilter
public DocumentFilter()
-
-
Method Details
-
getIdSpace
public int getIdSpace()Returns the IdSpace- Returns:
- The IdSpace
-
setIdSpace
public void setIdSpace(int nIdSpace) Sets the IdSpace- Parameters:
nIdSpace- The IdSpace
-
containsSpaceCriteria
public boolean containsSpaceCriteria()Tell if the filter contains a criteria on the Document space- Returns:
- True if the filter contains a criteria on the Document space otherwise false
-
getIdState
public int getIdState()Returns the IdState- Returns:
- The IdState
-
containsStateCriteria
public boolean containsStateCriteria()Tell if the filter contains a criteria on the Document state- Returns:
- True if the filter contains a criteria on the Document state otherwise false
-
setIdState
public void setIdState(int nIdState) Sets the IdState- Parameters:
nIdState- The IdState
-
getCodeDocumentType
Returns the CodeDocumentType- Returns:
- The CodeDocumentType
-
setCodeDocumentType
Sets the CodeDocumentType- Parameters:
strCodeDocumentType- The CodeDocumentType
-
containsDocumentTypeCriteria
public boolean containsDocumentTypeCriteria()Tell if the filter contains a criteria on the Document type- Returns:
- True if the filter contains a criteria on the Document type otherwise false
-
getCategoriesId
public int[] getCategoriesId()- Returns:
- the _arrayCategoriesId
-
setCategoriesId
public void setCategoriesId(int[] arrayCategoriesId) - Parameters:
arrayCategoriesId- the _arrayCategoriesId to set
-
containsCategoriesCriteria
public boolean containsCategoriesCriteria()Tell if the filter contains a criteria on the Category- Returns:
- True if the filter contains a criteria on the categories otherwise false
-
containsIdsCriteria
public boolean containsIdsCriteria()Tell if the filter contains a criteria on the Id- Returns:
- True if the filter contains a criteria on the Ids otherwise false
-
getIds
public int[] getIds()- Returns:
- the _arrayId
-
setIds
public void setIds(int[] arrayId) - Parameters:
arrayId- the _arrayId to set
-
getLoadBinaries
public boolean getLoadBinaries()Get the boolean that indicates whether binaries of documents should be loaded- Returns:
- True if binaries should be loaded, false otherwise
-
setLoadBinaries
public void setLoadBinaries(boolean bLoadBinaries) Set the boolean that indicates whether binaries of documents should be loaded- Parameters:
bLoadBinaries- True if binaries should be loaded, false otherwise
-
isPublished
- Returns:
- the _bIsPublished
-
setIsPublished
- Parameters:
bIsPublished- the _bIsPublished to set
-
getDateMin
- Returns:
- the _dateMin
-
setDateMin
- Parameters:
dateMin- the _dateMin to set
-
getDateMax
- Returns:
- the _dateMax
-
setDateMax
- Parameters:
dateMax- the _dateMax to set
-