Class CommentFilter
- java.lang.Object
-
- fr.paris.lutece.plugins.extend.modules.comment.business.CommentFilter
-
public class CommentFilter extends java.lang.ObjectCommentFilter
-
-
Constructor Summary
Constructors Constructor Description CommentFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetAscSort()java.lang.IntegergetCommentState()*java.lang.StringgetExtendableResourceType()java.lang.BooleangetImportant()java.lang.StringgetLuteceUserName()java.lang.BooleangetPinned()java.lang.StringgetSortedAttributeName()voidsetAscSort(java.lang.Boolean _bAscSort)voidsetCommentState(java.lang.Integer nCommentState)voidsetExtendableResourceType(java.lang.String strExtendableResourceType)voidsetImportant(java.lang.Boolean _bImportant)voidsetLuteceUserName(java.lang.String _strLuteceUserName)set the lutece user namevoidsetPinned(java.lang.Boolean _bPinned)voidsetSortedAttributeName(java.lang.String _strSortedAttributeName)
-
-
-
Method Detail
-
getCommentState
public java.lang.Integer getCommentState()
*- Returns:
- the comment state set if the results must contain only the comments which are in the state specify in parameters
-
setCommentState
public void setCommentState(java.lang.Integer nCommentState)
- Parameters:
nCommentState- set if the results must contain only the comments which are in the state specify in parameters
-
getSortedAttributeName
public java.lang.String getSortedAttributeName()
- Returns:
- the sorted attribute name
-
setSortedAttributeName
public void setSortedAttributeName(java.lang.String _strSortedAttributeName)
- Parameters:
_strSortedAttributeName- the sorted attribute name
-
getAscSort
public java.lang.Boolean getAscSort()
- Returns:
- true if the result must be sorted by asc sort
-
setAscSort
public void setAscSort(java.lang.Boolean _bAscSort)
- Parameters:
_bAscSort- true if the result must be sorted by asc sort
-
getPinned
public java.lang.Boolean getPinned()
- Returns:
- return true if the results must contain only the comments pinned false if the results must contain only the comments not pinned
-
setPinned
public void setPinned(java.lang.Boolean _bPinned)
- Parameters:
_bPinned- true if the results must contain only the comments pinned false if the results must contain only the comments not pinned
-
getImportant
public java.lang.Boolean getImportant()
- Returns:
- true if the results must contain only the comments Important false if the results must contain only the comments not Important
-
setImportant
public void setImportant(java.lang.Boolean _bImportant)
- Parameters:
_bImportant- true if the results must contain only the comments Important false if the results must contain only the comments not Important
-
getLuteceUserName
public java.lang.String getLuteceUserName()
- Returns:
- the lutece user name
-
setLuteceUserName
public void setLuteceUserName(java.lang.String _strLuteceUserName)
set the lutece user name- Parameters:
_strLuteceUserName- the lutece user name
-
getExtendableResourceType
public java.lang.String getExtendableResourceType()
- Returns:
- the extendableResourceType
-
setExtendableResourceType
public void setExtendableResourceType(java.lang.String strExtendableResourceType)
- Parameters:
strExtendableResourceType- the extendableResourceType to set
-
-