Package com.teamdev.jxbrowser.user
Interface UserDataProfiles
public interface UserDataProfiles
A data store for the user data.
-
Method Summary
Modifier and TypeMethodDescriptionadd(UserDataProfile profile) Adds a new record to the profile data store.all()Returns all user data records.voidclear()Clears all records in the store.voidremove(UserDataProfile addressProfile) Removes the user data from the store.
-
Method Details
-
add
Adds a new record to the profile data store.- Parameters:
profile- a new profile record- Returns:
- a string indicating the reason for validation failure, or an empty one if the operation succeeds
- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed- Since:
- 8.0.0
-
all
List<UserDataProfile> all()Returns all user data records.The user data records are saved to the store via
SaveUserDataProfileCallback.- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed
-
remove
Removes the user data from the store.Removed user data is not displayed in the autofill suggestion pop-up.
- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed
-
clear
void clear()Clears all records in the store.- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed
-