| Package | Description | 
|---|---|
| com.whitestein.lsps.orgstructure.dao | Data access objects for persistent classes for Organization Structure. | 
| com.whitestein.lsps.orgstructure.dao.jpa | |
| com.whitestein.lsps.orgstructure.entity | Persistent entities for the Organizational Structure. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Collection<Role> | RoleDao. findAll()Returns a collection of all  Roleinstances that exist in the
 persistent storage or an empty collection if there is no such instance. | 
| java.util.Collection<Role> | RoleDao. findForPerson(java.lang.String personId)Returns a collection of  Roleinstances for a person. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Collection<Role> | JpaRoleDao. findAll() | 
| java.util.Collection<Role> | JpaRoleDao. findForPerson(java.lang.String personId) | 
| Modifier and Type | Method and Description | 
|---|---|
| Role | PersonRoleChange. getAddedRole()Returns added role. | 
| Role | PersonRoleChange. getRemovedRole()Returns removed role. | 
| Role | Person. getRole(RoleUnitName roleName)Returns the role which corresponds to given  roleNameornullif the person
 contains no such role. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Collection<Role> | Person. getRoles()Returns a collection of roles the person is assigned to. | 
| Modifier and Type | Method and Description | 
|---|---|
| Person | Person. addRole(Role role)Adds given  roleto the roles the person is assigned to. | 
| Person | Person. removeRole(Role role)Removes given  rolefrom the roles the person is assigned to. | 
| Constructor and Description | 
|---|
| PersonRoleChange(PersonEntity person,
                Role added,
                Role removed)Creates new instance. | 
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.