nl.gx.webmanager.services.defaultprofileprovider
Interface DefaultProfileProvider

All Superinterfaces:
ProfileExtensionProvider<DefaultProfile>

public interface DefaultProfileProvider
extends ProfileExtensionProvider<DefaultProfile>

DefaultProfileProvider class.


Method Summary
 SearchResult<DefaultProfile> find(Realm realm, DefaultProfileSearchFilter searchFilter, SortOptions<DefaultProfileSortBy> sortOptions)
           
 DefaultProfileSearchFilter getDefaultProfileSearchFilterInstance()
           
 SortOptions<DefaultProfileSortBy> getSortOptionsInstance()
           
 int getTotalCount(Realm realm, DefaultProfileSearchFilter searchFilter)
           
 boolean validatePassword(java.lang.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 realm
searchFilter - the search filter to use in the retrieval
sortOptions - 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 realm
searchFilter - the search filter to use in the retrieval
sortOptions - 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(java.lang.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


Copyright © 2007-2011 GX Software BV. All Rights Reserved.