Package org.eblocker.server.http.service
Class ParentalControlService
java.lang.Object
org.eblocker.server.http.service.ParentalControlService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteProfile(int profileId) getProfile(int id) voidinit()booleanisUniqueCustomerCreatedName(Integer id, String name) Checks if module name is unique among customer created profiles.storeNewProfile(UserProfileModule profile) updateProfile(UserProfileModule profile)
-
Constructor Details
-
ParentalControlService
-
-
Method Details
-
init
public void init() -
storeNewProfile
-
getProfiles
-
updateProfile
-
deleteProfile
public void deleteProfile(int profileId) -
isUniqueCustomerCreatedName
Checks if module name is unique among customer created profiles.Please note that customer created modules may have the same name as builtin ones.
- Parameters:
id- id of module if it is a already persistent (may be null)name- name of module- Returns:
- if module name is unique among customer created modules.
-
getProfile
-
getProfilesBeingUpdated
-
addListener
-
createDefaultProfile
-