Interface DefaultProfileProvider
-
- All Superinterfaces:
ProfileExtensionProvider<DefaultProfile>
public interface DefaultProfileProvider extends ProfileExtensionProvider<DefaultProfile>
DefaultProfileProvider class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchResult<DefaultProfile>
find(Realm realm, DefaultProfileSearchFilter searchFilter, SortOptions<DefaultProfileSortBy> sortOptions)
DefaultProfileSearchFilter
getDefaultProfileSearchFilterInstance()
SortOptions<DefaultProfileSortBy>
getSortOptionsInstance()
int
getTotalCount(Realm realm, DefaultProfileSearchFilter searchFilter)
boolean
validatePassword(String textPassword, DefaultProfile profile)
Validate whether the given plain-text password validates against the stored password.-
Methods inherited from interface nl.gx.webmanager.services.usermanager.ProfileExtensionProvider
export, getExportColumnHeaders, getProfileFor, onCreate, onDelete, update
-
-
-
-
Method Detail
-
find
SearchResult<DefaultProfile> find(Realm realm, DefaultProfileSearchFilter searchFilter, SortOptions<DefaultProfileSortBy> sortOptions) throws UserManagementException
- Parameters:
realm
- The realmsearchFilter
- the search filter to use in the retrievalsortOptions
- The sort options to use in the retrieval- Returns:
- The searchresult that caches the retrieved users
- Throws:
UserManagementException
-
getTotalCount
int getTotalCount(Realm realm, DefaultProfileSearchFilter searchFilter) throws UserManagementException
- Parameters:
realm
- The realmsearchFilter
- the search filter to use in the retrievalsortOptions
- The sort options to use in the retrieval- Throws:
UserManagementException
-
getDefaultProfileSearchFilterInstance
DefaultProfileSearchFilter getDefaultProfileSearchFilterInstance()
- Returns:
- The default profile search filter with default values
-
getSortOptionsInstance
SortOptions<DefaultProfileSortBy> getSortOptionsInstance()
- Returns:
- The sort options
-
validatePassword
boolean validatePassword(String textPassword, DefaultProfile profile)
Validate whether the given plain-text password validates against the stored password.- Parameters:
textPassword
- the plain-text password- Returns:
- whether the password validates
-
-