Interface RoleFinder
- All Superinterfaces:
BaseFinder<Role,
Long>
Umożliwia wyszukiwanie ról
- Author:
- Paweł Rosolak 05-10-2012
-
Method Summary
Modifier and TypeMethodDescriptionfindByActivity
(String packageId, String processDefId, String activityDefId) Pobiera role na której jest zdefiniowane zadaniefindByPosition
(Long positionId) Pobiera role podłączone do stanowiskafindByProcess
(String processDefId) Pobiera role zdefiniowane w procesie(również role globalne jeżeli zostały użyte)findByUserName
(String userName) Pobiera role przypisane do użytkownikaMethods inherited from interface com.suncode.pwfl.support.BaseFinder
count, countAll, findByCriteria, findByCriteria, findByProperty, findOne, findOneByProperty, get, get, getAll, getAll, getCountedResult, getCountedResult, scrollByCriteria, scrollByCriteria
-
Method Details
-
findByPosition
Pobiera role podłączone do stanowiska- Parameters:
positionId
- Id stanowiska- Returns:
- Lista ról
-
findByUserName
Pobiera role przypisane do użytkownika- Parameters:
userName
- Login użytkownika- Returns:
- Zwraca listę id ról dla użytkownika
-
findByActivity
Pobiera role na której jest zdefiniowane zadanie- Parameters:
packageId
- Id pakietuprocessDefId
- Id definicji procesuactivityDefId
- Id definicji zadania- Returns:
- Znalezion rola
-
findByProcess
Pobiera role zdefiniowane w procesie(również role globalne jeżeli zostały użyte)- Parameters:
processDefId
- Id definicji procesu- Returns:
- Lista ról
-
findRoles
- Parameters:
name
- Nazwa rolipackageId
- Id pakietu roliprocessDefId
- Id definicji procesu roli- Returns:
- Lista ról
-