Interface CustomPreferencesServiceLocal
public interface CustomPreferencesServiceLocal
-
Method Summary
Modifier and TypeMethodDescriptioncreate(CustomPreference preference) Creates a given preference.Creates a query to fetch custom preferences.voidDeletes a given preference.update(CustomPreference preference) Updates a given preference.
-
Method Details
-
createPreferenceQuery
CustomPreferencesQuery createPreferenceQuery()Creates a query to fetch custom preferences.- Returns:
- a
CustomPreferencesQueryquery instance
-
update
Updates a given preference.- Parameters:
preference- the custom preference to update- Returns:
- the updated
CustomPreferenceentity
-
create
Creates a given preference.- Parameters:
preference- the custom preference to create- Returns:
- the updated
CustomPreferenceentity
-
delete
Deletes a given preference.- Parameters:
keyName- the keyName of the custom preference to delete
-