Uses of Interface
org.silverpeas.core.workflow.api.user.User
-
-
Uses of User in org.silverpeas.core.webapi.workflow
Methods in org.silverpeas.core.webapi.workflow with parameters of type User Modifier and Type Method Description void
ReplacementEntity. setSubstitute(User substitute)
-
Uses of User in org.silverpeas.core.workflow.api
Methods in org.silverpeas.core.workflow.api that return User Modifier and Type Method Description User
UserManager. getRelatedUser(User user, String relation, String peasId)
Get a user from a given user and relationUser
UserManager. getUser(String userId)
Returns the user with the given userIdUser[]
UserManager. getUsers(String[] userIds)
Make a User[] from a userIds' String[].User[]
UserManager. getUsersInGroup(String groupId)
User[]
UserManager. getUsersInRole(String roleName, String processModelId)
Returns all the users having a given role relative to a processModel.Methods in org.silverpeas.core.workflow.api with parameters of type User Modifier and Type Method Description void
TaskManager. assignTask(Task task, User delegator)
Adds a new task in the user's todos.Actor
ProcessInstanceManager. createActor(User user, String roleName, State state)
Builds an actor from a user and a role.Task
TaskManager. getCreationTask(User user, String roleName, ProcessModel processModel)
Returns the creation task of a processModel or null if the user is not allowed to create a new instance.List<ProcessInstance>
ProcessInstanceManager. getProcessInstances(String peasId, User user, String role)
Get the list of process instances for a given peas Id, user and role.List<ProcessInstance>
ProcessInstanceManager. getProcessInstances(String peasId, User user, String role, String[] userRoles, String[] groupIds)
Get the list of process instances for a given peas Id, user and role, and user's roles.User
UserManager. getRelatedUser(User user, String relation, String peasId)
Get a user from a given user and relationTask[]
TaskManager. getTasks(User user, String roleName, ProcessInstance processInstance)
Returns the tasks assigned to a user on a processInstance.void
UpdatableProcessInstanceManager. lock(ProcessInstance instance, State state, User user)
Locks the given instance for the given instance and statevoid
TaskManager. notifyActor(Task task, User sender, Actor user, String text, boolean linkDisabled)
Notify user that an action has been donevoid
WorkflowEngine. reAssignActors(UpdatableProcessInstance instance, Actor[] unAssignedActors, Actor[] assignedActors, User user)
Do re-affectation for given states.void
UpdatableProcessInstanceManager. unlock(ProcessInstance instance, State state, User user)
Locks the given instance for the given instance and state -
Uses of User in org.silverpeas.core.workflow.api.error
Methods in org.silverpeas.core.workflow.api.error that return User Modifier and Type Method Description User
WorkflowError. getUser()
-
Uses of User in org.silverpeas.core.workflow.api.event
Methods in org.silverpeas.core.workflow.api.event that return User Modifier and Type Method Description User
GenericEvent. getSubstitute()
User
GenericEvent. getUser()
Returns the actor.User
GenericEvent. getUserOrSubstitute()
Returns substitute if defined, regular user otherwiseMethods in org.silverpeas.core.workflow.api.event with parameters of type User Modifier and Type Method Description void
GenericEvent. setSubstitute(User substitute)
-
Uses of User in org.silverpeas.core.workflow.api.instance
Methods in org.silverpeas.core.workflow.api.instance that return User Modifier and Type Method Description User
Question. getFromUser()
Get the user who asked the questionUser
Question. getToUser()
Get the user who received the questionUser
Actor. getUser()
Returns the actor as a User objectUser
HistoryStep. getUser()
Methods in org.silverpeas.core.workflow.api.instance that return types with arguments of type User Modifier and Type Method Description List<User>
ProcessInstance. getUsersInGroup(String groupId)
Gets concrete users affected to given group at runtimeList<User>
ProcessInstance. getUsersInRole(String role)
Gets concrete users affected to given role at runtimeMethods in org.silverpeas.core.workflow.api.instance with parameters of type User Modifier and Type Method Description void
UpdatableProcessInstance. addInterestedUser(User user, State state, String role)
Add an user in the interested user listState
ProcessInstance. addQuestion(String content, String stepId, State fromState, User fromUser)
Add a questionvoid
UpdatableProcessInstance. addWorkingUser(User user, State state, String role)
String[]
ProcessInstance. getAssignedStates(User user, String roleName)
Returns all the state name assigned to the user with given roleHistoryStep[]
ProcessInstance. getBackSteps(User user, String roleName, String stateName)
Get all the steps where given user (with given role) can go back from the given statevoid
ProcessInstance. lock(State state, User user)
Locks this instance for the given instance and statevoid
UpdatableProcessInstance. removeInterestedUser(User user, State state, String role)
Remove an user from the interested user listvoid
UpdatableProcessInstance. removeWorkingUser(User user, State state, String role)
void
ProcessInstance. unLock(State state, User user)
Un-locks this instance for the given instance and state -
Uses of User in org.silverpeas.core.workflow.api.task
Methods in org.silverpeas.core.workflow.api.task that return User Modifier and Type Method Description User
Task. getUser()
Returns the actor. -
Uses of User in org.silverpeas.core.workflow.api.user
Methods in org.silverpeas.core.workflow.api.user that return User Modifier and Type Method Description User
Replacement. getIncumbent()
Gets the incumbent of responsibilities of tasks that is replaced in a given period of time.User
Replacement. getSubstitute()
Gets the substitute of the incumbent to exercise his responsibilities on some tasks.Methods in org.silverpeas.core.workflow.api.user with parameters of type User Modifier and Type Method Description static Replacement.Constructor
Replacement. between(User incumbent, User substitute)
Prepares the construction of a replacement between the two specified users.Replacement.Constructor
Replacement.Constructor. between(User incumbent, User substitute)
Sets the two users concerned by the replacement to construct.<T extends Replacement<T>>
List<T>Replacement.Repository. findAllByIncumbentAndByWorkflow(User user, String workflowInstanceId)
Finds all the replacements by the specified replaced user and by the workflow instance identifier.<T extends Replacement<T>>
List<T>Replacement.Repository. findAllBySubstituteAndByWorkflow(User user, String workflowInstanceId)
Finds all the replacements by the specified substitute and by the workflow instance identifier.<T extends Replacement<T>>
List<T>Replacement.Repository. findAllByUsersAndByWorkflow(User incumbent, User substitute, String workflowInstanceId)
Finds all the replacements between the two specified users and created in the specified workflow instance.static <T extends Replacement<T>>
ReplacementList<T>Replacement. getAllBy(User substitute, String workflowInstanceId)
Gets all the replacements exercised by the specified user in the specified workflow instance.static <T extends Replacement<T>>
ReplacementList<T>Replacement. getAllOf(User incumbent, String workflowInstanceId)
Gets all the replacements of the specified user in the specified workflow instance.static <T extends Replacement<T>>
ReplacementList<T>Replacement. getAllWith(User incumbent, User substitute, String workflowInstanceId)
Gets all the replacements in which the specified users are implied and that are defined in the specified workflow instance.Replacement<T>
Replacement. setSubstitute(User user)
Sets a new substitute to this replacement. -
Uses of User in org.silverpeas.core.workflow.engine
Methods in org.silverpeas.core.workflow.engine with parameters of type User Modifier and Type Method Description void
WorkflowEngineImpl. reAssignActors(UpdatableProcessInstance instance, Actor[] unAssignedActors, Actor[] assignedActors, User user)
Do re-affectation for given states Remove users as working users and unassign corresponding tasks Add users as working users and assign corresponding tasks -
Uses of User in org.silverpeas.core.workflow.engine.datarecord
Methods in org.silverpeas.core.workflow.engine.datarecord with parameters of type User Modifier and Type Method Description boolean
ProcessInstanceRowRecord. isWorking(User user)
Returns true if the given user is a working on this instance. -
Uses of User in org.silverpeas.core.workflow.engine.error
Methods in org.silverpeas.core.workflow.engine.error that return User Modifier and Type Method Description User
WorkflowErrorImpl. getUser()
-
Uses of User in org.silverpeas.core.workflow.engine.event
Methods in org.silverpeas.core.workflow.engine.event that return User Modifier and Type Method Description User
AbstractTaskEvent. getSubstitute()
User
TimeoutEventImpl. getSubstitute()
User
AbstractTaskEvent. getUser()
Returns the actor.User
TimeoutEventImpl. getUser()
Returns the actor.User
AbstractTaskEvent. getUserOrSubstitute()
User
TimeoutEventImpl. getUserOrSubstitute()
Methods in org.silverpeas.core.workflow.engine.event with parameters of type User Modifier and Type Method Description void
AbstractTaskEvent. setSubstitute(User substitute)
void
TimeoutEventImpl. setSubstitute(User substitute)
-
Uses of User in org.silverpeas.core.workflow.engine.instance
Methods in org.silverpeas.core.workflow.engine.instance that return User Modifier and Type Method Description User
QuestionImpl. getFromUser()
Get the user who asked the questionUser
QuestionImpl. getToUser()
Get the user who received the questionUser
ActorImpl. getUser()
Returns the actor as a User objectUser
HistoryStepImpl. getUser()
Get the actor of the action logged in this History stepstatic User[]
WorkingUser. toUser(WorkingUser[] workingUsers)
Get User information from an array of workingUsersMethods in org.silverpeas.core.workflow.engine.instance that return types with arguments of type User Modifier and Type Method Description List<User>
ProcessInstanceImpl. getUsersInGroup(String groupId)
List<User>
ProcessInstanceImpl. getUsersInRole(String role)
Methods in org.silverpeas.core.workflow.engine.instance with parameters of type User Modifier and Type Method Description void
ProcessInstanceImpl. addInterestedUser(User user, State state, String role)
Add an user in the interested user listState
ProcessInstanceImpl. addQuestion(String content, String stepId, State fromState, User fromUser)
Add a questionvoid
ProcessInstanceImpl. addWorkingUser(User user, State state, String role)
Add an user in the working user listActor
ProcessInstanceManagerImpl. createActor(User user, String roleName, State state)
Builds an actor from a user and a role.String[]
ProcessInstanceImpl. getAssignedStates(User user, String roleName)
Returns all the state name assigned to the user.HistoryStep[]
ProcessInstanceImpl. getBackSteps(User user, String roleName, String stateName)
Get all the steps where given user (with given role) can go back from the given stateList<ProcessInstance>
ProcessInstanceManagerImpl. getProcessInstances(String peasId, User user, String role)
List<ProcessInstance>
ProcessInstanceManagerImpl. getProcessInstances(String peasId, User user, String role, String[] userRoles, String[] userGroupIds)
void
ProcessInstanceImpl. lock(State state, User user)
Locks this instance for the given instance and statevoid
ProcessInstanceManagerImpl. lock(ProcessInstance instance, State state, User user)
Locks this instance for the given instance and statevoid
ProcessInstanceImpl. removeInterestedUser(User user, State state, String role)
Remove an user from the interested user listvoid
ProcessInstanceImpl. removeWorkingUser(User user, State state, String role)
Remove an user from the working user listvoid
ProcessInstanceManagerImpl. unlock(ProcessInstance instance, State state, User user)
unlocks this instance for the given instance and statevoid
ProcessInstanceImpl. unLock(State state, User user)
Un-locks this instance for the given instance and stateConstructors in org.silverpeas.core.workflow.engine.instance with parameters of type User Constructor Description ActorImpl(User user, String userRoleName, State state)
Constructor of an actor.ActorImpl(User user, String userRoleName, State state, String groupId)
ParticipantImpl(User user, String userRoleName, State state, String action)
Constructor Definitivly set the user, userRoleName, state and the actionQuestionImpl(ProcessInstance processInstance, String questionText, String fromState, String targetState, User fromUser, User toUser)
a Question object is build from - its content, - the source state name, - the target state name - and the instance where the question was asked -
Uses of User in org.silverpeas.core.workflow.engine.notification
Constructors in org.silverpeas.core.workflow.engine.notification with parameters of type User Constructor Description UserNotificationBuilder(List<String> userIds, Task task, User sender, String text, boolean linkDisabled, String incumbentId)
-
Uses of User in org.silverpeas.core.workflow.engine.task
Methods in org.silverpeas.core.workflow.engine.task that return User Modifier and Type Method Description User
AbstractTaskImpl. getUser()
Returns the user.Methods in org.silverpeas.core.workflow.engine.task with parameters of type User Modifier and Type Method Description void
TaskManagerImpl. assignTask(Task task, User delegator)
Adds a new task in the user's todos.Task
AbstractTaskManager. getCreationTask(User user, String roleName, ProcessModel processModel)
Returns the creation task of a processModel or null if the user is not allowed to create a new instance.Task[]
AbstractTaskManager. getTasks(User user, String roleName, ProcessInstance processInstance)
Returns the tasks assigned to a user on a processInstance.void
TaskManagerImpl. notifyActor(Task task, User sender, Actor user, String text, boolean linkDisabled)
Notify user that an action has been doneConstructors in org.silverpeas.core.workflow.engine.task with parameters of type User Constructor Description AbstractTaskImpl(User user, String roleName, String groupId, ProcessModel processModel)
AbstractTaskImpl(User user, String roleName, ProcessModel processModel)
Builds a TaskImpl.CreationTaskImpl(User user, String roleName, ProcessModel processModel)
Builds a CreationTaskImpl. -
Uses of User in org.silverpeas.core.workflow.engine.user
Classes in org.silverpeas.core.workflow.engine.user that implement User Modifier and Type Class Description class
UserImpl
A User implementation built upon the silverpeas user management system.Methods in org.silverpeas.core.workflow.engine.user that return User Modifier and Type Method Description User
ReplacementImpl. getIncumbent()
User
UserManagerImpl. getRelatedUser(User user, String relation, String peasId)
Get a user from a given user and relationUser
ReplacementImpl. getSubstitute()
User
UserManagerImpl. getUser(String userId)
Returns the user with the given userIdUser[]
UserManagerImpl. getUsers(String[] userIds)
Make a User[] from a userIds' String[].User[]
UserManagerImpl. getUsersInGroup(String groupId)
User[]
UserManagerImpl. getUsersInRole(String roleName, String modelId)
Returns all the users having a given role relative to a processModel.Methods in org.silverpeas.core.workflow.engine.user with parameters of type User Modifier and Type Method Description Replacement.Constructor
ReplacementConstructor. between(User incumbent, User substitute)
List<ReplacementImpl>
ReplacementRepository. findAllByIncumbentAndByWorkflow(User user, String workflowInstanceId)
List<ReplacementImpl>
ReplacementRepository. findAllBySubstituteAndByWorkflow(User user, String workflowInstanceId)
List<ReplacementImpl>
ReplacementRepository. findAllByUsersAndByWorkflow(User incumbent, User substitute, String workflowInstanceId)
User
UserManagerImpl. getRelatedUser(User user, String relation, String peasId)
Get a user from a given user and relationReplacementImpl
ReplacementImpl. setSubstitute(User substitute)
-