Package org.cyclos.impl.users
Interface InternalBasicUserServiceLocal
-
- All Superinterfaces:
InternalBasicUserService,Service
public interface InternalBasicUserServiceLocal extends InternalBasicUserService
Local interface forInternalBasicUserService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyPermissionsToBasicFields(BasicUserDTO dto, BasicUser basicUser)Restores existing values for basic fields before saving the user profile.booleancanEditProfile(BasicUser user)Indicates whether the logged user can edit the profile of the given user or operatorvoidfilterGroupSets(BasicChangeGroupData data)Make sure no group sets are sent on the dataChangeOperatorGroupDTOtoChangeOperatorGroupDTO(ChangeGroupDTO params, BasicUser basicUser)Converts the given parameters to change a user group to parameters to change an operator group-
Methods inherited from interface org.cyclos.services.users.InternalBasicUserService
changeGroup, getChangeGroupData, getEditData, getEditFullProfileData, getMainRole, getViewProfileData, remove, save, saveFullProfile
-
-
-
-
Method Detail
-
applyPermissionsToBasicFields
void applyPermissionsToBasicFields(BasicUserDTO dto, BasicUser basicUser)
Restores existing values for basic fields before saving the user profile. Custom fields are handled inCustomFieldValueHandler.
-
canEditProfile
boolean canEditProfile(BasicUser user)
Indicates whether the logged user can edit the profile of the given user or operator- Parameters:
user-- Returns:
-
filterGroupSets
void filterGroupSets(BasicChangeGroupData data)
Make sure no group sets are sent on the data- Parameters:
data-
-
toChangeOperatorGroupDTO
ChangeOperatorGroupDTO toChangeOperatorGroupDTO(ChangeGroupDTO params, BasicUser basicUser)
Converts the given parameters to change a user group to parameters to change an operator group
-
-