Class BTUserProfilesLoad
java.lang.Object
overit.geocall.bl.BusinessTask<UserProfilesLoadEvent>
overit.geocall.basic.bl.profile.task.BTUserProfilesLoad
- All Implemented Interfaces:
Serializable,Tool
@Event(UserProfilesLoadEvent.class)
@Permission("foundation.ux.profile.edit")
public class BTUserProfilesLoad
extends BusinessTask<UserProfilesLoadEvent>
Task that listens to the
Can raise a
UserProfilesLoadEvent and fetches the user profiles information from the database.
Can raise a
DAException if there is some connection problem with the database.- Since:
- 13.2
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(UserProfilesLoadEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected DAOProfilesprotected PageResponse<BOUserProfile> getPageResponse(List<BOUserProfile> profiles, Page p, DBView dbv) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTUserProfilesLoad
public BTUserProfilesLoad()
-
-
Method Details
-
body
protected void body(UserProfilesLoadEvent event, PoolKit pk) throws DAException, DAValidateException Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<UserProfilesLoadEvent>- Parameters:
event- the object upon which the task will works onpk- the poolkit containing the reference to the database connection that can be used- Throws:
DAException- in case of database errorDAValidateException- in case of database validation error
-
getDAOProfiles
-
getPageResponse
protected PageResponse<BOUserProfile> getPageResponse(List<BOUserProfile> profiles, Page p, DBView dbv)
-