Package org.cyclos.impl.search
Interface UserSearchHandler
-
- All Superinterfaces:
EntitySearchHandler<User,UserQuery,UserWithFieldsVO>
public interface UserSearchHandler extends EntitySearchHandler<User,UserQuery,UserWithFieldsVO>
Interface for searching users
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DataIterator<UserWithBalanceVO>exportWithBalances(UserWithBalanceQuery params)Returns an iterator for exporting users with their respective balancesUsersWithBalancesOverviewgetBalancesOverview(UserWithBalanceQuery params)Returns an overview with summaries for all matching balancesvoidonBrokerChange(User user)Callback used to update the broker references for the given uservoidonGroupChange(User user)Callback used to update the group reference for the given userPage<UserWithBalanceVO>searchWithBalances(UserWithBalanceQuery params)Searches users with their respective balancesvoidupdateBalances(Map<UserAccount,AccountStatusUpdateResult> updates)Updates all the given account fieldsvoidupdateLastLogin(User user)Updates the last login of the given userdefault voidupdateUserFields(User user)Updates the user fields which can also affect searches on related data, such as advertisements and records.voidupdateUserFields(User user, boolean updateSelf)Updates the user fields which can also affect searches on related data, such as advertisements and records.-
Methods inherited from interface org.cyclos.impl.search.EntitySearchHandler
exportEntities, index, indexName, iterateEntities, iterateIds, reindex, remove, search, searchEntities
-
-
-
-
Method Detail
-
exportWithBalances
DataIterator<UserWithBalanceVO> exportWithBalances(UserWithBalanceQuery params)
Returns an iterator for exporting users with their respective balances
-
getBalancesOverview
UsersWithBalancesOverview getBalancesOverview(UserWithBalanceQuery params)
Returns an overview with summaries for all matching balances
-
onBrokerChange
void onBrokerChange(User user)
Callback used to update the broker references for the given user
-
onGroupChange
void onGroupChange(User user)
Callback used to update the group reference for the given user
-
searchWithBalances
Page<UserWithBalanceVO> searchWithBalances(UserWithBalanceQuery params)
Searches users with their respective balances
-
updateBalances
void updateBalances(Map<UserAccount,AccountStatusUpdateResult> updates)
Updates all the given account fields
-
updateLastLogin
void updateLastLogin(User user)
Updates the last login of the given user
-
updateUserFields
default void updateUserFields(User user)
Updates the user fields which can also affect searches on related data, such as advertisements and records. The affected data is, for example, group, brokers, status and profile fields. Also updates the user index.
-
updateUserFields
void updateUserFields(User user, boolean updateSelf)
Updates the user fields which can also affect searches on related data, such as advertisements and records. The affected data is, for example, group, brokers, status and profile fields. Optionally updates the user index.
-
-