Package | Description |
---|---|
com.whitestein.lsps.human |
Services for accessing the functionality related to human-oriented processes.
|
com.whitestein.lsps.human.context |
Classes that represents human-oriented model objects in java code.
|
com.whitestein.lsps.human.dao |
Data access object for storing and retrieving todo-related entities.
|
com.whitestein.lsps.human.dao.jpa | |
com.whitestein.lsps.human.entity |
Persistent entities for human-oriented tasks.
|
com.whitestein.lsps.orgstructure | |
com.whitestein.lsps.orgstructure.context |
Classes that represents Organization Structure model objects
like
RoleUnitHolder in java code. |
com.whitestein.lsps.orgstructure.entity |
Persistent entities for the Organizational Structure.
|
com.whitestein.lsps.orgstructure.model |
Model classes representing role and organization unit that are present in
process model.
|
com.whitestein.lsps.orgstructure.model.resolver | |
com.whitestein.lsps.os |
Services for person management, person-role mapping, and role querying.
|
com.whitestein.lsps.os.dto |
Data transfer objects for person management services.
|
com.whitestein.lsps.test |
Modifier and Type | Method and Description |
---|---|
void |
TodoServiceBean.checkOrphanedTodosFor(String personId,
Set<RoleUnitName> removedRoles) |
Modifier and Type | Method and Description |
---|---|
protected void |
ToJoinTodoListQueryCommon.applyIsInRolesCondition(com.whitestein.lsps.common.jpa.SelectBuilder<?> builder,
Collection<RoleUnitName> roleNames) |
Modifier and Type | Method and Description |
---|---|
List<Todo> |
TodoDao.getTodoListForOrphanedCheck(Person person,
Set<RoleUnitName> removedRoles)
Returns list of todos for which a value "isOrphaned" must be recalculated.
|
Modifier and Type | Method and Description |
---|---|
List<Todo> |
JpaTodoDao.getTodoListForOrphanedCheck(Person person,
Set<RoleUnitName> removedRoles) |
Modifier and Type | Method and Description |
---|---|
RoleUnitName |
RoleWithParameters.getFullName()
Returns a role unit name with this role name and all parameters.
|
RoleUnitName |
TodoPerformer.getRoleName()
Returns the role unit name.
|
Modifier and Type | Method and Description |
---|---|
static TodoPerformer |
TodoPerformer.initial(RoleUnitName role)
Creates an initial role performer.
|
Modifier and Type | Method and Description |
---|---|
RoleUnitName |
RoleServiceBean.getRoleName(String roleName) |
Modifier and Type | Method and Description |
---|---|
void |
RoleServiceBean.addRoleName(RoleUnitName roleName) |
void |
RoleServiceBean.updateRoleName(RoleUnitName roleName) |
Modifier and Type | Method and Description |
---|---|
RoleUnitName |
RoleUnitHolder.getRoleUnitName()
Returns the corresponding
RoleUnitName . |
RoleUnitName |
OrgTypeFactoryImpl.normalize(RoleUnitName roleUnitName,
boolean preserveAdditionalParameters) |
RoleUnitName |
OrgTypeFactory.normalize(RoleUnitName roleUnitName,
boolean preserveAdditionalParameters)
Returns the normalized role-unit name, i.e.
|
Modifier and Type | Method and Description |
---|---|
static Set<RoleUnitName> |
OrgStructureHelper.resolveRoleNamesFor(RoleUnitName roleUnitName,
ParametricRolesResolver resolver,
com.whitestein.lsps.model.ProcessModel processModel)
Resolves role names from given role or organization unit name using given
resolver within given processModel and
returns the resolved set of role names. |
static Set<RoleUnitName> |
OrgStructureHelper.resolveRoleNamesFor(Set<RoleUnitName> roleUnitNames,
ParametricRolesResolver resolver,
com.whitestein.lsps.model.ProcessModel processModel)
Resolves role names from given set of role and/or organization unit
names using given
resolver within given
processModel and returns the resolved set of role
names. |
static Set<RoleUnitName> |
OrgStructureHelper.resolveRoleNamesFor(Set<RoleUnitName> roleUnitNames,
com.whitestein.lsps.model.ProcessModel processModel)
Resolves role names from given set of role and/or organization unit
names using
default resolver within
given processModel and returns the resolved set of
role names. |
Modifier and Type | Method and Description |
---|---|
RoleUnitHolder |
OrgTypeFactoryImpl.getOrganizationUnitHolder(ModelInstance modelInstance,
RoleUnitName name) |
RoleUnitHolder |
OrgTypeFactory.getOrganizationUnitHolder(ModelInstance modelInstance,
RoleUnitName name)
Returns a
human::OrganizationUnit record for the given organization-unit name. |
RoleUnitHolder |
OrgTypeFactoryImpl.getRoleHolder(ModelInstance modelInstance,
RoleUnitName name) |
RoleUnitHolder |
OrgTypeFactory.getRoleHolder(ModelInstance modelInstance,
RoleUnitName name)
Returns a
human::RoleUnit record for the given role-unit name. |
static RoleUnit |
OrgStructureHelper.getRoleUnitInProcessModel(RoleUnitName roleUnitName,
com.whitestein.lsps.model.ProcessModel processModel)
Returns
role or organization unit for given
role or organization unit name within given
processModel . |
RoleUnitName |
OrgTypeFactoryImpl.normalize(RoleUnitName roleUnitName,
boolean preserveAdditionalParameters) |
RoleUnitName |
OrgTypeFactory.normalize(RoleUnitName roleUnitName,
boolean preserveAdditionalParameters)
Returns the normalized role-unit name, i.e.
|
static Set<RoleUnitName> |
OrgStructureHelper.resolveRoleNamesFor(RoleUnitName roleUnitName,
ParametricRolesResolver resolver,
com.whitestein.lsps.model.ProcessModel processModel)
Resolves role names from given role or organization unit name using given
resolver within given processModel and
returns the resolved set of role names. |
Modifier and Type | Method and Description |
---|---|
static Set<RoleUnitName> |
OrgStructureHelper.resolveRoleNamesFor(Set<RoleUnitName> roleUnitNames,
ParametricRolesResolver resolver,
com.whitestein.lsps.model.ProcessModel processModel)
Resolves role names from given set of role and/or organization unit
names using given
resolver within given
processModel and returns the resolved set of role
names. |
static Set<RoleUnitName> |
OrgStructureHelper.resolveRoleNamesFor(Set<RoleUnitName> roleUnitNames,
com.whitestein.lsps.model.ProcessModel processModel)
Resolves role names from given set of role and/or organization unit
names using
default resolver within
given processModel and returns the resolved set of
role names. |
Modifier and Type | Method and Description |
---|---|
RoleUnitName |
RoleWithParameters.getFullName()
Returns a role unit name with this role name and all parameters.
|
RoleUnitName |
Role.getFullName()
Converts this role into a
RoleUnitName instance and returns
instance. |
RoleUnitName |
RoleName.getFullName(RoleUnitParameter... parameters)
Returns the
RoleUnitName corresponding to this RoleName
for given parameters. |
RoleUnitName |
RoleName.getName()
Returns the role name.
|
RoleUnitName |
RoleName.getNameWithParameters()
Returns the role name with all parameter names having null values.
|
Modifier and Type | Method and Description |
---|---|
Set<RoleUnitName> |
Person.getRoleUnitNames()
Returns a set of role unit names.
|
Modifier and Type | Method and Description |
---|---|
Role |
Person.getRole(RoleUnitName roleName)
Returns the role which corresponds to given
roleName or null if the person
contains no such role. |
boolean |
Person.isInRole(RoleUnitName role)
Return true if this person is in the given role, i.e.
|
boolean |
Person.isStrictlyInRole(RoleUnitName role)
Returns true if this person is strictly in the given role, i.e.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Person.isInRoles(Collection<RoleUnitName> roles)
Returns true if this person is at least in one of the given roles.
|
boolean |
Person.isStrictlyInRoles(Collection<RoleUnitName> roles)
Returns true if this person is strictly at least in one of the given roles.
|
Constructor and Description |
---|
Role(RoleName roleName,
RoleUnitName roleUnitName)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
RoleUnitName |
RoleUnit.getFullName()
Returns the
full name of this role or organization unit. |
RoleUnitName |
Role.getNameWithBoundParameters(Collection<RoleUnitParameter> parameters)
Returns the
full name of this role with given
parameters bound to the parameter names of this role. |
Modifier and Type | Method and Description |
---|---|
Set<RoleUnitName> |
RolesResolver.resolve(RoleUnit roleUnit)
Runs a resolving algorithm and returns a set of names of roles that were
resolved from given
roleUnit . |
Set<RoleUnitName> |
AbstractRolesResolver.resolve(RoleUnit roleUnit) |
Set<RoleUnitName> |
ParametricRolesResolver.resolve(RoleUnit roleUnit,
Collection<RoleUnitParameter> parameters)
Runs a resolving algorithm and returns a set of names of roles that were
resolved from given
roleUnit . |
Set<RoleUnitName> |
AbstractRolesResolver.resolve(RoleUnit roleUnit,
Collection<RoleUnitParameter> parameters) |
Modifier and Type | Method and Description |
---|---|
RoleUnitName |
RoleService.getRoleName(String roleName)
Returns a role name for the given role name or null if not found.
|
Modifier and Type | Method and Description |
---|---|
Set<RoleUnitName> |
PersonEntity.getRoleUnitNames()
Role unit names for the person.
|
Modifier and Type | Method and Description |
---|---|
void |
RoleService.addRoleName(RoleUnitName roleName)
Adds a role name with all parameter names present in
roleName to the application. |
void |
RoleService.updateRoleName(RoleUnitName roleName)
Updates a role name in the application.
|
Modifier and Type | Method and Description |
---|---|
RoleUnitName |
PersonCriteria.getInRole()
Returns the in role constraint.
|
RoleUnitName |
Performer.getRoleName()
Returns the role unit name.
|
static RoleUnitName |
RoleUnitName.valueOf(String fullName)
Constructs a RoleUnit name using given raw string.
|
static RoleUnitName |
RoleUnitName.valueOf(String name,
Collection<RoleUnitParameter> parameters)
Constructs a RoleUnit name using the full name of a role or an
organization unit (i.e.
|
static RoleUnitName |
RoleUnitName.valueOf(String name,
RoleUnitParameter... parameters)
Constructs a RoleUnit name using the full name of a role or an
organization unit (i.e.
|
static RoleUnitName |
RoleUnitName.valueOf(String moduleName,
String localName,
Collection<RoleUnitParameter> parameters)
Constructs a RoleUnit name using the module name and the local
name of a role or an organization unit.
|
static RoleUnitName |
RoleUnitName.valueOf(String moduleName,
String localName,
RoleUnitParameter... parameters)
Constructs a RoleUnit name using the module name and the local
name of a role or an organization unit.
|
RoleUnitName |
RoleUnitName.withParameterNames(Collection<String> paramNames)
Returns this role unit name rebased using the specified parameter names.
|
Modifier and Type | Method and Description |
---|---|
List<RoleUnitName> |
RoleUnitNameList.getData()
Returns a list of role-unit-names.
|
Set<RoleUnitName> |
Person.getRoleUnitNames()
Returns a set of this person roles.
|
Iterator<RoleUnitName> |
RoleUnitNameList.iterator() |
static Set<RoleUnitName> |
RoleUnitName.removeSubRoles(Collection<RoleUnitName> roles)
Returns a set of RoleUnitNames with all sub-roles removed.
|
Modifier and Type | Method and Description |
---|---|
void |
Person.addRoleUnitName(RoleUnitName role)
Adds a role.
|
boolean |
Person.isInRole(RoleUnitName role)
Return true if this person is in the given role, i.e.
|
boolean |
Person.isStrictlyInRole(RoleUnitName role)
Returns true if this person is strictly in the given role, i.e.
|
boolean |
RoleUnitName.isSubRole(RoleUnitName other)
Returns true if this role is a sub-role of the other role, i.e.
|
boolean |
RoleUnitName.matches(RoleUnitName other)
Returns true if this role matches the other role, i.e.
|
void |
Person.removeRoleUnitName(RoleUnitName role)
Removes a role.
|
static Performer |
Performer.roleUnit(RoleUnitName roleUnitName)
Creates a new role-unit performer.
|
void |
PersonCriteria.setInRole(RoleUnitName role)
Sets the in role constraint.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Person.isInRoles(Collection<RoleUnitName> roles)
Returns true if this person is at least in one of the given roles.
|
boolean |
Person.isStrictlyInRoles(Collection<RoleUnitName> roles)
Returns true if this person is strictly at least in one of the given roles.
|
boolean |
RoleUnitName.matches(Collection<RoleUnitName> others)
Returns true if this role matches at least one of the other roles.
|
static boolean |
RoleUnitName.matches(Collection<RoleUnitName> roles1,
Collection<RoleUnitName> roles2)
Returns true if at least one role in
roles1 matches at least one
role in roles2 . |
static boolean |
RoleUnitName.matches(Collection<RoleUnitName> roles1,
Collection<RoleUnitName> roles2)
Returns true if at least one role in
roles1 matches at least one
role in roles2 . |
static Set<RoleUnitName> |
RoleUnitName.removeSubRoles(Collection<RoleUnitName> roles)
Returns a set of RoleUnitNames with all sub-roles removed.
|
void |
Person.setRoleUnitNames(Collection<RoleUnitName> roles)
Sets the person roles.
|
Constructor and Description |
---|
RoleUnitNameList(Collection<RoleUnitName> roleUnitNames,
long total)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
Set<RoleUnitName> |
Person.getRoleUnitNames()
Returns a set of assigned role unit names.
|
Modifier and Type | Method and Description |
---|---|
void |
Person.addRole(RoleUnitName roleUnit)
Adds a given role.
|
void |
Person.removeRole(RoleUnitName roleUnit)
Removes a given role.
|
Modifier and Type | Method and Description |
---|---|
void |
Person.setRoleUnitNames(Collection<RoleUnitName> roles)
Sets roles to this person.
|
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.