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 |
---|---|
Collection<Role> |
RoleDao.findAll()
Returns a collection of all
Role instances that exist in the
persistent storage or an empty collection if there is no such instance. |
Collection<Role> |
RoleDao.findForPerson(String personId)
Returns a collection of
Role instances for a person. |
Modifier and Type | Method and Description |
---|---|
Collection<Role> |
JpaRoleDao.findAll() |
Collection<Role> |
JpaRoleDao.findForPerson(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
roleName or null if the person
contains no such role. |
Modifier and Type | Method and Description |
---|---|
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
role to the roles the person is assigned to. |
Person |
Person.removeRole(Role role)
Removes given
role from 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.