Class ProfileFilter
java.lang.Object
org.exoplatform.social.core.profile.ProfileFilter
- All Implemented Interfaces:
Cloneable
This class using for filter profile of identity
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()getAll()Gets the company.Gets the excludedIdentityListgetName()Gets the name.Gets the onlineRemoteIdsGets the position.Gets the skills.booleanisEmpty()booleanbooleanbooleanWhether enable email in search or notbooleanWhether enable userName in search or notbooleanbooleanvoidvoidsetCompany(String company) Sets the company.voidsetConnected(Boolean isConnected) voidsetEnabled(boolean isEnabled) voidsetEnrollmentStatus(String enrollmentStatus) voidsetExcludedIdentityList(List<Identity> excludedIdentityList) Sets the excludedIdentityListvoidsetGroupIds(List<String> groupIds) voidsetIncludeInheritedMemberships(boolean includeInheritedMemberships) voidsetMembershipType(String membershipType) voidSets the name.voidsetOnlineRemoteIds(List<String> onlineRemoteIds) Sets the onlineRemoteIdsvoidsetPosition(String position) Sets the position.voidsetProfileSettings(Map<String, String> profileSettings) voidsetRemoteIds(List<String> remoteIds) voidsetSearchEmail(boolean searchEmail) Enable email searchingvoidsetSearchUserName(boolean searchUserName) Enable userName searchingvoidSets the skills.voidsetSorting(Sorting sorting) voidsetUserType(String userType) voidsetViewerIdentity(Identity currentIdentity) voidsetWildcardSearch(boolean exactSearch)
-
Constructor Details
-
ProfileFilter
public ProfileFilter() -
ProfileFilter
-
-
Method Details
-
setSearchEmail
public void setSearchEmail(boolean searchEmail) Enable email searching- Parameters:
searchEmail-
-
isSearchEmail
public boolean isSearchEmail()Whether enable email in search or not- Returns:
-
setSearchUserName
public void setSearchUserName(boolean searchUserName) Enable userName searching- Parameters:
searchUserName-
-
isSearchUserName
public boolean isSearchUserName()Whether enable userName in search or not- Returns:
-
getPosition
Gets the position.- Returns:
- the position
-
setPosition
Sets the position.- Parameters:
position- the new position
-
getCompany
Gets the company.- Returns:
- the company
-
setCompany
Sets the company.- Parameters:
company- the new company
-
getSkills
Gets the skills.- Returns:
- the skills
-
setSkills
Sets the skills.- Parameters:
skills- the new skills
-
setName
Sets the name.- Parameters:
name- the new name
-
getName
Gets the name.- Returns:
- the name
-
setExcludedIdentityList
Sets the excludedIdentityList- Parameters:
excludedIdentityList-- Since:
- 1.2.0-GA
-
getExcludedIdentityList
Gets the excludedIdentityList- Returns:
- the excludedIdentityList
- Since:
- 1.2.0-GA
-
setOnlineRemoteIds
Sets the onlineRemoteIds- Parameters:
onlineRemoteIds-- Since:
- 4.0.2-GA and 4.1.0-GA
-
getOnlineRemoteIds
Gets the onlineRemoteIds- Returns:
- the onlineRemoteIds
- Since:
- 4.0.2-GA and 4.1.0-GA
-
getAll
-
setAll
-
isSortingEmpty
public boolean isSortingEmpty() -
getSorting
-
setSorting
-
getUserType
-
setUserType
-
getEnrollmentStatus
-
setEnrollmentStatus
-
isConnected
-
setConnected
-
getViewerIdentity
-
setViewerIdentity
-
setRemoteIds
-
getRemoteIds
-
setGroupIds
-
getGroupIds
-
setMembershipType
-
getMembershipType
-
setIncludeInheritedMemberships
public void setIncludeInheritedMemberships(boolean includeInheritedMemberships) -
isIncludeInheritedMemberships
public boolean isIncludeInheritedMemberships() -
isEnabled
public boolean isEnabled()- Returns:
- the isEnabled
-
setEnabled
public void setEnabled(boolean isEnabled) - Parameters:
isEnabled- the enabled to set
-
isWildcardSearch
public boolean isWildcardSearch() -
setWildcardSearch
public void setWildcardSearch(boolean exactSearch) -
getProfileSettings
-
setProfileSettings
-
isEmpty
public boolean isEmpty() -
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-