Uses of Class
com.Server.entiy.Role
| Package | Description |
|---|---|
| com.Server.entiy |
com.Server.model has class with mapped to relation table database by ORM.
|
| com.Server.mapper.impl |
com.Server.mapper.impl - mapped dto to entity and reverse.
|
| com.Server.repository |
com.Server.repository has Interface which available on access to table database.
|
| com.Server.service.impl |
com.Server.service.impl has the class witch implement services interface method.
|
-
Uses of Role in com.Server.entiy
Fields in com.Server.entiy with type parameters of type Role Modifier and Type Field Description private java.util.List<Role>User. rolesConstructor parameters in com.Server.entiy with type arguments of type Role Constructor Description User(@NotBlank @Size(max=20) java.lang.String username, @NotBlank @Size(max=50) @Email java.lang.String email, @NotBlank @Size(max=120) java.lang.String password, java.util.List<Role> roles) -
Uses of Role in com.Server.mapper.impl
Methods in com.Server.mapper.impl that return Role Modifier and Type Method Description RoleRoleMapper. toEntity(RoleRequest roleRequest)RoleRoleMapper. update(Role role, RoleRequest roleRequest)Methods in com.Server.mapper.impl with parameters of type Role Modifier and Type Method Description RoleResponseRoleMapper. toDto(Role role)RoleRoleMapper. update(Role role, RoleRequest roleRequest) -
Uses of Role in com.Server.repository
Methods in com.Server.repository that return types with arguments of type Role Modifier and Type Method Description java.util.Optional<Role>RoleRepository. findById(int id)Find role on id.java.util.Optional<Role>RoleRepository. findByName(Roles name)Find role on name. -
Uses of Role in com.Server.service.impl
Fields in com.Server.service.impl with type parameters of type Role Modifier and Type Field Description private Mapper<Role,RoleResponse,RoleRequest>RoleServiceImpl. roleMapperrole mapperConstructor parameters in com.Server.service.impl with type arguments of type Role Constructor Description RoleServiceImpl(RoleRepository roleRepository, Mapper<Role,RoleResponse,RoleRequest> roleMapper)