public interface RoleFinder extends BaseFinder<Role,Long>
Modifier and Type | Method and Description |
---|---|
Role |
findByActivity(String packageId,
String processDefId,
String activityDefId)
Pobiera role na której jest zdefiniowane zadanie
|
List<Role> |
findByPosition(Long positionId)
Pobiera role podłączone do stanowiska
|
List<Role> |
findByProcess(String processDefId)
Pobiera role zdefiniowane w procesie(również role globalne jeżeli zostały użyte)
|
List<Role> |
findByUserName(String userName)
Pobiera role przypisane do użytkownika
|
count, countAll, findByCriteria, findByCriteria, findByProperty, findOne, findOneByProperty, get, get, getAll, getAll, getCountedResult, getCountedResult
List<Role> findByPosition(Long positionId)
positionId
- Id stanowiskaList<Role> findByUserName(String userName)
userName
- Login użytkownikaRole findByActivity(String packageId, String processDefId, String activityDefId)
packageId
- Id pakietuprocessDefId
- Id definicji procesuactivityDefId
- Id definicji zadaniaCopyright © 2019 Suncode. All rights reserved.