Class DocumentFilter
- java.lang.Object
-
- fr.paris.lutece.plugins.document.business.DocumentFilter
-
public class DocumentFilter extends Object
-
-
Constructor Summary
Constructors Constructor Description DocumentFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsCategoriesCriteria()Tell if the filter contains a criteria on the CategorybooleancontainsDocumentTypeCriteria()Tell if the filter contains a criteria on the Document typebooleancontainsIdsCriteria()Tell if the filter contains a criteria on the IdbooleancontainsSpaceCriteria()Tell if the filter contains a criteria on the Document spacebooleancontainsStateCriteria()Tell if the filter contains a criteria on the Document stateint[]getCategoriesId()StringgetCodeDocumentType()Returns the CodeDocumentTypeStringgetDateMax()StringgetDateMin()int[]getIds()intgetIdSpace()Returns the IdSpaceintgetIdState()Returns the IdStatebooleangetLoadBinaries()Get the boolean that indicates whether binaries of documents should be loadedBooleanisPublished()voidsetCategoriesId(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
-
-
-
Method Detail
-
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
public String getCodeDocumentType()
Returns the CodeDocumentType- Returns:
- The CodeDocumentType
-
setCodeDocumentType
public void setCodeDocumentType(String strCodeDocumentType)
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
public Boolean isPublished()
- Returns:
- the _bIsPublished
-
setIsPublished
public void setIsPublished(Boolean bIsPublished)
- Parameters:
bIsPublished- the _bIsPublished to set
-
getDateMin
public String getDateMin()
- Returns:
- the _dateMin
-
setDateMin
public void setDateMin(String dateMin)
- Parameters:
dateMin- the _dateMin to set
-
getDateMax
public String getDateMax()
- Returns:
- the _dateMax
-
setDateMax
public void setDateMax(String dateMax)
- Parameters:
dateMax- the _dateMax to set
-
-