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 excludedIdentityListcharGets the first character of name.getName()Gets the name.Gets the onlineRemoteIdsGets the position.Gets the skills.booleanisEmpty()booleanbooleanWhether enable email in search or notbooleanvoidvoidsetCompany(String company) Sets the company.voidsetConnected(Boolean isConnected) voidsetEnabled(boolean isEnabled) voidsetEnrollmentStatus(String enrollmentStatus) voidsetExcludedIdentityList(List<Identity> excludedIdentityList) Sets the excludedIdentityListvoidsetFirstCharacterOfName(char firstCharacterOfName) Sets the first character of name.voidsetFirstCharFieldName(String firstCharField) 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 searchingvoidSets the skills.voidsetSorting(Sorting sorting) voidsetUserType(String userType) voidsetViewerIdentity(Identity currentIdentity)
-
Constructor Details
-
ProfileFilter
public 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:
-
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
-
getFirstCharacterOfName
public char getFirstCharacterOfName()Gets the first character of name.- Returns:
- the first character of name
- Since:
- 1.2.0-GA
-
setFirstCharacterOfName
public void setFirstCharacterOfName(char firstCharacterOfName) Sets the first character of name.- Parameters:
firstCharacterOfName- the first character of name- Since:
- 1.2.0-GA
-
getAll
-
setAll
-
isSortingEmpty
public boolean isSortingEmpty() -
getSorting
-
setSorting
-
getUserType
-
setUserType
-
getEnrollmentStatus
-
setEnrollmentStatus
-
isConnected
-
setConnected
-
getViewerIdentity
-
setViewerIdentity
-
setRemoteIds
-
getRemoteIds
-
getFirstCharFieldName
-
setFirstCharFieldName
-
isEnabled
public boolean isEnabled()- Returns:
- the isEnabled
-
setEnabled
public void setEnabled(boolean isEnabled) - Parameters:
isEnabled- the enabled to set
-
getProfileSettings
-
setProfileSettings
-
isEmpty
public boolean isEmpty() -
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-