Class SpaceFilter
java.lang.Object
org.exoplatform.social.core.space.SpaceFilter
- All Implemented Interfaces:
Cloneable
- Since:
- 1.2.0-GA
- Author:
- hoatle (hoatlevan at gmail dot com)
-
Constructor Summary
ConstructorsConstructorDescriptionThe constructor.SpaceFilter(char firstCharacterOfSpaceName) The constructor.SpaceFilter(char firstCharacterOfSpaceName, String spaceNameSearchCondition) The constructor.SpaceFilter(String spaceNameSearchCondition) The constructor.SpaceFilter(String remoteId, String appId) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExclusions(List<Space> exclusions) clone()booleangetAppId()Gets appId to filtercharGets the first character of space name.Gets Space list to filterGets remoteId to filterGets the space name search condition.Gets template to filterinthashCode()booleanvoidSets appId to filtervoidsetFirstCharacterOfSpaceName(char firstCharacterOfSpaceName) Sets the first character of space name.voidsetIncludeSpaces(List<Space> includeSpaces) Sets Space list to filtervoidsetIsFavorite(boolean favorite) voidsetRemoteId(String remoteId) Sets remoteId to filtervoidsetSorting(Sorting sorting) voidsetSpaceNameSearchCondition(String spaceNameSearchCondition) Sets the space name search condition.voidsetTemplate(String template) Sets template to filter
-
Constructor Details
-
SpaceFilter
public SpaceFilter()The constructor. -
SpaceFilter
public SpaceFilter(char firstCharacterOfSpaceName) The constructor.- Parameters:
firstCharacterOfSpaceName-
-
SpaceFilter
The constructor.- Parameters:
spaceNameSearchCondition-
-
SpaceFilter
The constructor.- Parameters:
firstCharacterOfSpaceName-spaceNameSearchCondition-
-
SpaceFilter
The constructor.- Parameters:
remoteId-appId-
-
-
Method Details
-
getIncludeSpaces
Gets Space list to filter- Returns:
- Since:
- 4.0
-
setIncludeSpaces
Sets Space list to filter- Parameters:
includeSpaces-- Since:
- 4.0
-
getRemoteId
Gets remoteId to filter- Returns:
- Since:
- 4.0
-
setRemoteId
Sets remoteId to filter- Parameters:
remoteId-- Since:
- 4.0
-
getAppId
Gets appId to filter- Returns:
- Since:
- 4.0
-
setAppId
Sets appId to filter- Parameters:
appId-- Since:
- 4.0
-
getTemplate
Gets template to filter- Returns:
-
setTemplate
Sets template to filter- Parameters:
template-- Since:
- 4.0
-
getFirstCharacterOfSpaceName
public char getFirstCharacterOfSpaceName()Gets the first character of space name.- Returns:
- the first character of space name
-
setFirstCharacterOfSpaceName
public void setFirstCharacterOfSpaceName(char firstCharacterOfSpaceName) Sets the first character of space name.- Parameters:
firstCharacterOfSpaceName-
-
getSpaceNameSearchCondition
Gets the space name search condition.- Returns:
- the space name search condition
-
setSpaceNameSearchCondition
Sets the space name search condition.- Parameters:
spaceNameSearchCondition-
-
getSorting
-
setSorting
-
getExclusions
-
addExclusions
-
setIsFavorite
public void setIsFavorite(boolean favorite) -
isFavorite
public boolean isFavorite() -
hashCode
public int hashCode() -
equals
-
clone
-