Package | Description |
---|---|
com.whitestein.lsps.human |
Services for accessing the functionality related to human-oriented processes.
|
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.dto |
Data transfer objects for the functionality related to human-oriented processes.
|
com.whitestein.lsps.human.entity |
Persistent entities for human-oriented tasks.
|
com.whitestein.lsps.orgstructure | |
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.pm |
Modifier and Type | Method and Description |
---|---|
Collection<Person> |
TodoService.getAllOnBehalfOf(long todoId,
String personId)
Returns the set of persons on behalf of which the user sees the to-do in his to-do list.
|
Collection<Person> |
TodoServiceBean.getAllOnBehalfOf(long todoId,
String personId) |
Collection<Person> |
TodoService.getCurrentAssignees(long todoId)
Find current assignees for a to-do specified by its ID.
|
Collection<Person> |
TodoServiceBean.getCurrentAssignees(long todoId) |
Collection<Person> |
TodoService.getRejecters(long todoId)
Gets persons who reject to-do specified by its ID.
|
Collection<Person> |
TodoServiceBean.getRejecters(long todoId) |
Modifier and Type | Method and Description |
---|---|
Long |
TodoDao.countLockedTodos(Person person,
TodoListCriteria criteria)
Returns number of todos locked by user
|
Long |
TodoDao.countTodos(Person person,
TodoListCriteria criteria,
boolean unlockedOnly)
Returns number of todos visible to user, but not locked by user (if unlockedOnly is true).
|
Collection<String> |
TodoDao.findAllOnBehalfOf(Todo todo,
Person person)
Returns the set ids of users on behalf of which the given person sees
the to-do in his to-do list.
|
QueryResult<Todo> |
TodoDao.getPersonalTodoList(Person person,
PagingCriteria criteria)
Returns
person 's personal todo list (all todos currently locked
by given person ), according to given paging criteria ,
sorted by todo priority and issued date. |
QueryResult<Todo> |
TodoDao.getTodoList(Person person,
TodoListCriteria criteria)
Returns
person 's todo list, according to given paging criteria. |
List<Todo> |
TodoDao.getTodoListForOrphanedCheck(Person person,
Set<RoleUnitName> removedRoles)
Returns list of todos for which a value "isOrphaned" must be recalculated.
|
long[] |
TodoDao.getTodoListIds(Person person,
TodoListCriteria criteria)
Returns
person 's todo list ids, according to given paging criteria. |
void |
TodoDao.updateTodoAllocatedTo(Todo todo,
Person allocatedTo)
Updates todo's allocated-to field according to given
allocatedTo
person parameter. |
Modifier and Type | Method and Description |
---|---|
Long |
JpaTodoDao.countLockedTodos(Person person,
TodoListCriteria criteria) |
Long |
JpaTodoDao.countTodos(Person person,
TodoListCriteria criteria,
boolean unlockedOnly) |
Collection<String> |
JpaTodoDao.findAllOnBehalfOf(Todo todo,
Person person) |
QueryResult<Todo> |
JpaTodoDao.getPersonalTodoList(Person person,
PagingCriteria criteria) |
QueryResult<Todo> |
JpaTodoDao.getTodoList(Person person,
TodoListCriteria criteria) |
List<Todo> |
JpaTodoDao.getTodoListForOrphanedCheck(Person person,
Set<RoleUnitName> removedRoles) |
long[] |
JpaTodoDao.getTodoListIds(Person person,
TodoListCriteria criteria) |
void |
JpaTodoDao.updateTodoAllocatedTo(Todo todo,
Person allocatedTo) |
Modifier and Type | Method and Description |
---|---|
Person |
Todo.getAllocatedTo()
Returns the id of the user for which todo is allocated.
|
Constructor and Description |
---|
Todo(long id,
long modelInstanceId,
String title,
String type,
TodoStatus status,
String interruptionReason,
Date issuedDate,
Date submittedDate,
Person allocatedTo,
Collection<? extends Performer> performers,
int delegationLevel,
String taskNamespace,
long taskId,
String taskName,
byte[] contentBytes,
Integer priority,
String notes,
TodoAuthorization authorization)
Creates new instance of
Todo . |
Modifier and Type | Method and Description |
---|---|
TodoAuthorization |
Todo.getAuthorization(Person person)
Returns the reason why the person can see the to-do in his to-do list.
|
TodoRejection |
Todo.getRejectionBy(Person person)
Returns a todo rejection for the specified person.
|
boolean |
Todo.hasInitialPerformer(Person person)
Checks if given
person is one of the todo's performers. |
boolean |
Todo.isAllocatedTo(Person person)
Returns true if this todo is assigned to given person.
|
boolean |
Todo.isDelegatedTo(Person person)
Checks if the todo is delegated to
person . |
boolean |
TodoPerformer.isPersonPermitted(Person person)
Returns true if this performer permits the given person to see the todo.
|
boolean |
Todo.isPersonPermitted(Person person)
Returns true if the given person is permitted to see this todo.
|
boolean |
Todo.isPersonPermitted(Person person,
boolean checkSubstitution,
boolean checkAllocation)
Returns true if the given person is permitted to see this todo.
|
boolean |
Todo.isRejectedBy(Person person)
Checks if the todo is rejected by
person |
boolean |
Todo.isVisibleTo(Person person)
Returns true if
isPersonPermitted(person) is true and the person has not rejected the
todo. |
Modifier and Type | Method and Description |
---|---|
Person |
PersonConverter.convert(PersonEntity person)
Converts a person according to the given substitution level.
|
Modifier and Type | Method and Description |
---|---|
List<Person> |
PersonConverter.convert(Collection<? extends PersonEntity> persons)
Converts a person according to the given substitution level.
|
Modifier and Type | Method and Description |
---|---|
Person |
PersonManagementService.addPerson(Person person)
Adds new person into the application.
|
Person |
PersonManagementService.addPersonWithData(PersonData personData)
Adds new person into the application.
|
Person |
PersonManagementService.assignSecurityRolesToPerson(String personId,
List<String> securityRoleNames)
Assigns given list of security roles (specified by their names) to the user identified
by given
personId argument. |
Person |
PersonService.getPerson(String personId)
Returns a
Person instance if such person (identified by id) exists in the
application. |
Person |
PersonService.getPersonByLogin(String login)
Returns a
Person instance if such person (identified by login) exists in the
application. |
Person |
PersonManagementService.updatePerson(Person person)
Updates the person.
|
Person |
PersonManagementService.updatePersonLogin(String personId,
String newLogin)
Updates current login of the user identified by given
personId with the content
of newLogin argument. |
Person |
PersonManagementService.updatePersonPassword(String personId,
String newPassword)
Updates current password of the user identified by given
personId with the content
of newPassword argument. |
Person |
PersonManagementService.updatePersonWithData(PersonData personData)
Updates the person.
|
Modifier and Type | Method and Description |
---|---|
Person |
PersonManagementService.addPerson(Person person)
Adds new person into the application.
|
Person |
PersonManagementService.updatePerson(Person person)
Updates the person.
|
Modifier and Type | Method and Description |
---|---|
Person |
PersonData.getPerson()
Gets the person data.
|
Person |
Performer.getPerson()
Returns person.
|
Modifier and Type | Method and Description |
---|---|
Set<Person> |
Person.getActivelySubstituted()
Returns a set of all actively substituted persons.
|
Set<Person> |
Person.getActiveSubstitutes()
Returns a set of all active substitutes.
|
List<Person> |
PersonList.getData()
Returns a list of persons.
|
Set<Person> |
Person.getDirectlySubstituted()
Returns a set of all directly substituted persons.
|
Set<Person> |
Person.getDirectSubstitutes()
Returns a set of all direct substitutes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Performer.isPersonPermitted(Person person)
Returns true if this performer includes the given person.
|
static Performer |
Performer.person(Person person)
Creates a new person performer.
|
Modifier and Type | Method and Description |
---|---|
void |
Person.setActivelySubstituted(Collection<Person> activelySubstituted)
Sets the actively substitutes persons of this person.
|
void |
Person.setActiveSubstitutes(Collection<Person> activeSubstitutes)
Sets the active substitutes of this person.
|
void |
Person.setDirectlySubstituted(Collection<Person> directlySubstituted)
Sets the directly substituted persons of this person.
|
void |
Person.setDirectSubstitutes(Collection<Person> directSubstitutes)
Sets the direct substitutes of this person.
|
Constructor and Description |
---|
PersonData(Person person,
String password,
List<String> securityRoleNames)
Creates a new instance of person data.
|
Constructor and Description |
---|
PersonList(Collection<Person> persons,
long total)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
Person |
PersonManagementServiceBean.addPerson(Person person) |
Person |
PersonManagementServiceBean.addPersonWithData(PersonData personData) |
Person |
PersonManagementServiceBean.assignSecurityRolesToPerson(String personId,
List<String> securityRoleNames) |
Person |
PersonServiceBase.getPerson(String personId) |
Person |
PersonServiceBase.getPersonByLogin(String loginName) |
Person |
PersonManagementServiceBean.updatePerson(Person person) |
Person |
PersonManagementServiceBean.updatePersonLogin(String personId,
String newLogin) |
Person |
PersonManagementServiceBean.updatePersonPassword(String personId,
String newPassword) |
Person |
PersonManagementServiceBean.updatePersonWithData(PersonData personData) |
Modifier and Type | Method and Description |
---|---|
Person |
PersonManagementServiceBean.addPerson(Person person) |
Person |
PersonManagementServiceBean.updatePerson(Person person) |
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.