public interface MachinePrincipalService extends org.springframework.data.querydsl.QuerydslPredicateExecutor<MachinePrincipal>
| Modifier and Type | Method and Description |
|---|---|
long |
count(com.querydsl.core.types.Predicate predicate) |
Collection<MachinePrincipal> |
findAll(com.querydsl.core.types.Predicate predicate) |
Collection<MachinePrincipal> |
findAll(com.querydsl.core.types.Predicate predicate,
com.querydsl.core.types.OrderSpecifier<?>... orderSpecifiers) |
org.springframework.data.domain.Page<MachinePrincipal> |
findAll(com.querydsl.core.types.Predicate predicate,
org.springframework.data.domain.Pageable pageable) |
Optional<MachinePrincipal> |
findOne(com.querydsl.core.types.Predicate predicate) |
Optional<MachinePrincipal> |
getMachinePrincipalById(long id) |
Optional<MachinePrincipal> |
getMachinePrincipalByName(String name)
Get the machine with a given name in the default directory.
|
Optional<MachinePrincipal> |
getMachinePrincipalByName(String name,
UserDirectory userDirectory)
Get the group with a given name in the specified directory.
|
Collection<MachinePrincipal> |
getMachinePrincipals() |
MachinePrincipal |
save(MachinePrincipal machinePrincipalDto) |
Collection<MachinePrincipal> getMachinePrincipals()
Optional<MachinePrincipal> getMachinePrincipalById(long id)
Optional<MachinePrincipal> getMachinePrincipalByName(String name)
name - of the machinenull if not foundOptional<MachinePrincipal> getMachinePrincipalByName(String name, UserDirectory userDirectory)
name - of the machineuserDirectory - the machine should belong tonull if not foundMachinePrincipal save(MachinePrincipal machinePrincipalDto)
Optional<MachinePrincipal> findOne(com.querydsl.core.types.Predicate predicate)
findOne in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<MachinePrincipal>Collection<MachinePrincipal> findAll(com.querydsl.core.types.Predicate predicate)
findAll in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<MachinePrincipal>Collection<MachinePrincipal> findAll(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orderSpecifiers)
findAll in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<MachinePrincipal>org.springframework.data.domain.Page<MachinePrincipal> findAll(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Pageable pageable)
findAll in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<MachinePrincipal>long count(com.querydsl.core.types.Predicate predicate)
count in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<MachinePrincipal>Copyright © 2020. All rights reserved.