| Package | Description | 
|---|---|
| com.suncode.pwfl.administration.structure | Pakiet zawiera zbiór elementów umożliwiających zarządzanie stanowiskami i jednostkami organizacyjnymi. | 
| com.suncode.pwfl.administration.substitution | 
| Modifier and Type | Method and Description | 
|---|---|
| Role | RoleFinder. findByActivity(String packageId,
              String processDefId,
              String activityDefId)Pobiera role na której jest zdefiniowane zadanie | 
| Role | RoleService. getRole(Long roleId)Pobiera role o podanym id | 
| Role | RoleService. getRole(String packageId,
       String processDefId,
       String roleId)Pobiera role o podanych parametrach | 
| Role | RoleDao. getRole(String packageId,
       String processDefId,
       String roleId) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Role> | RoleFinder. findByPosition(Long positionId)Pobiera role podłączone do stanowiska | 
| List<Role> | RoleFinder. findByProcess(String processDefId)Pobiera role zdefiniowane w procesie(również role globalne jeżeli zostały użyte) | 
| List<Role> | RoleFinder. findByUserName(String userName)Pobiera role przypisane do użytkownika | 
| Set<Role> | Position. getRoles() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Position. addRole(Role role) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Position. setRoles(Set<Role> roles) | 
| Modifier and Type | Method and Description | 
|---|---|
| Role | Substitution. getRole()Zwraca rolę dostępna w podanym processDefId. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<User> | SubstitutionService. getSubstituteUsersForProcess(String userName,
                            String processId,
                            Role role)Metoda pobiera zastępców dla podanego użytkownika, z konkretnej instancji procesu i o podanej roli uwzględniając
 aktywne zastępstwa. | 
| List<User> | SubstitutionService. getSubstituteUsersForProcessType(String userName,
                                String processDefId,
                                Role role)Metoda pobiera zastępców dla podanego użytkownika, z konkretnego typu procesu i o podanej roli uwzględniając
 aktywne zastępstwa. | 
| void | Substitution. setRole(Role role)Ustawia rolę dostępna w podanym processDefId. | 
| void | SubstitutionDto. setRoleName(Role role) | 
Copyright © 2019 Suncode. All rights reserved.