|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of User in com.silverpeas.workflow.api |
---|
Methods in com.silverpeas.workflow.api that return User | |
---|---|
User |
UserManager.getRelatedUser(User user,
String relation,
String peasId)
Get a user from a given user and relation |
User |
UserManager.getUser(String userId)
Returns the user with the given userId |
User[] |
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 com.silverpeas.workflow.api with parameters of type User | |
---|---|
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. |
ProcessInstance[] |
ProcessInstanceManager.getProcessInstances(String peasId,
User user,
String role)
Get the list of process instances for a given peas Id, user and role. |
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 relation |
String[] |
UserManager.getRoleNames(User user,
String processModelId)
Returns all the roles of a given user relative to a processModel. |
Task[] |
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 state |
void |
TaskManager.notifyActor(Task task,
User sender,
User user,
String text)
Notify user that an action has been done |
void |
WorkflowEngine.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 |
void |
UpdatableProcessInstanceManager.unlock(ProcessInstance instance,
State state,
User user)
Locks the given instance for the given instance and state |
Uses of User in com.silverpeas.workflow.api.error |
---|
Methods in com.silverpeas.workflow.api.error that return User | |
---|---|
User |
WorkflowError.getUser()
|
Uses of User in com.silverpeas.workflow.api.event |
---|
Methods in com.silverpeas.workflow.api.event that return User | |
---|---|
User |
GenericEvent.getUser()
Returns the actor. |
Uses of User in com.silverpeas.workflow.api.instance |
---|
Methods in com.silverpeas.workflow.api.instance that return User | |
---|---|
User |
Question.getFromUser()
Get the user who asked the question |
User |
Question.getToUser()
Get the user who received the question |
User |
HistoryStep.getUser()
|
User |
Actor.getUser()
Returns the actor as a User object |
Methods in com.silverpeas.workflow.api.instance that return types with arguments of type User | |
---|---|
List<User> |
ProcessInstance.getUsersInGroup(String groupId)
Gets concrete users affected to given group at runtime |
List<User> |
ProcessInstance.getUsersInRole(String role)
Gets concrete users affected to given role at runtime |
Methods in com.silverpeas.workflow.api.instance with parameters of type User | |
---|---|
void |
UpdatableProcessInstance.addInterestedUser(User user,
State state,
String role)
Add an user in the interested user list |
State |
ProcessInstance.addQuestion(String content,
String stepId,
State fromState,
User fromUser)
Add a question |
void |
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 role |
HistoryStep[] |
ProcessInstance.getBackSteps(User user,
String roleName,
String stateName)
Get all the steps where given user (with given role) can go back from the given state |
void |
ProcessInstance.lock(State state,
User user)
Locks this instance for the given instance and state |
void |
UpdatableProcessInstance.removeInterestedUser(User user,
State state,
String role)
Remove an user from the interested user list |
void |
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 com.silverpeas.workflow.api.task |
---|
Methods in com.silverpeas.workflow.api.task that return User | |
---|---|
User |
Task.getUser()
Returns the actor. |
Uses of User in com.silverpeas.workflow.engine |
---|
Methods in com.silverpeas.workflow.engine with parameters of type User | |
---|---|
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 com.silverpeas.workflow.engine.dataRecord |
---|
Methods in com.silverpeas.workflow.engine.dataRecord with parameters of type User | |
---|---|
boolean |
ProcessInstanceRowRecord.isWorking(User user)
Returns true if the given user is a working on this instance. |
Uses of User in com.silverpeas.workflow.engine.error |
---|
Methods in com.silverpeas.workflow.engine.error that return User | |
---|---|
User |
WorkflowErrorImpl.getUser()
|
Uses of User in com.silverpeas.workflow.engine.event |
---|
Methods in com.silverpeas.workflow.engine.event that return User | |
---|---|
User |
QuestionEventImpl.getUser()
Returns the actor. |
User |
ResponseEventImpl.getUser()
Returns the actor. |
User |
TaskDoneEventImpl.getUser()
Returns the actor. |
User |
TimeoutEventImpl.getUser()
Returns the actor. |
User |
TaskSavedEventImpl.getUser()
Returns the actor. |
Uses of User in com.silverpeas.workflow.engine.instance |
---|
Methods in com.silverpeas.workflow.engine.instance that return User | |
---|---|
User |
QuestionImpl.getFromUser()
Get the user who asked the question |
User |
QuestionImpl.getToUser()
Get the user who received the question |
User |
HistoryStepImpl.getUser()
Get the actor of the action logged in this History step |
User |
ActorImpl.getUser()
Returns the actor as a User object |
User |
LockingUser.toUser()
Converts LockingUser to User |
User |
WorkingUser.toUser()
Converts WorkingUser to User |
User |
InterestedUser.toUser()
Converts InterestedUser to User |
static User[] |
InterestedUser.toUser(InterestedUser[] interestedUsers)
Get User information from an array of workingUsers |
static User[] |
LockingUser.toUser(LockingUser[] lockingUsers)
Get User information from an array of lockingUsers |
static User[] |
WorkingUser.toUser(WorkingUser[] workingUsers)
Get User information from an array of workingUsers |
Methods in com.silverpeas.workflow.engine.instance that return types with arguments of type User | |
---|---|
List<User> |
ProcessInstanceImpl.getUsersInGroup(String groupId)
|
List<User> |
ProcessInstanceImpl.getUsersInRole(String role)
|
Methods in com.silverpeas.workflow.engine.instance with parameters of type User | |
---|---|
void |
ProcessInstanceImpl.addInterestedUser(User user,
State state,
String role)
Add an user in the interested user list |
State |
ProcessInstanceImpl.addQuestion(String content,
String stepId,
State fromState,
User fromUser)
Add a question |
void |
ProcessInstanceImpl.addWorkingUser(User user,
State state,
String role)
Add an user in the working user list |
Actor |
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 state |
ProcessInstance[] |
ProcessInstanceManagerImpl.getProcessInstances(String peasId,
User user,
String role)
|
ProcessInstance[] |
ProcessInstanceManagerImpl.getProcessInstances(String peasId,
User user,
String role,
String[] userRoles,
String[] userGroupIds)
|
void |
ProcessInstanceManagerImpl.lock(ProcessInstance instance,
State state,
User user)
Locks this instance for the given instance and state |
void |
ProcessInstanceImpl.lock(State state,
User user)
Locks this instance for the given instance and state |
void |
ProcessInstanceImpl.removeInterestedUser(User user,
State state,
String role)
Remove an user from the interested user list |
void |
ProcessInstanceImpl.removeWorkingUser(User user,
State state,
String role)
Remove an user from the working user list |
void |
ProcessInstanceManagerImpl.unlock(ProcessInstance instance,
State state,
User user)
unlocks this instance for the given instance and state |
void |
ProcessInstanceImpl.unLock(State state,
User user)
Un-locks this instance for the given instance and state |
Constructors in com.silverpeas.workflow.engine.instance with parameters of type User | |
---|---|
ActorImpl(User user,
String userRoleName,
State state)
Constructor Definitivly set the user, userRoleName and the state |
|
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 action |
|
QuestionImpl(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 com.silverpeas.workflow.engine.task |
---|
Methods in com.silverpeas.workflow.engine.task that return User | |
---|---|
User |
AbstractTaskImpl.getUser()
Returns the user. |
Methods in com.silverpeas.workflow.engine.task with parameters of type User | |
---|---|
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,
User user,
String text)
Notify user that an action has been done |
Constructors in com.silverpeas.workflow.engine.task with parameters of type User | |
---|---|
AbstractTaskImpl(User user,
String roleName,
ProcessModel processModel)
Builds a TaskImpl. |
|
AbstractTaskImpl(User user,
String roleName,
String groupId,
ProcessModel processModel)
|
|
CreationTaskImpl(User user,
String roleName,
ProcessModel processModel)
Builds a CreationTaskImpl. |
|
TaskImpl(User user,
String roleName,
ProcessInstance processInstance,
State state)
Builds a TaskImpl. |
|
TaskImpl(User user,
String roleName,
ProcessInstance processInstance,
State state,
HistoryStep[] backSteps,
Question[] sentQuestions,
Question[] relevantQuestions,
Question[] pendingQuestions)
Builds a TaskImpl. |
|
TaskImpl(User user,
String roleName,
String groupId,
ProcessInstance processInstance,
State state)
|
Uses of User in com.silverpeas.workflow.engine.user |
---|
Classes in com.silverpeas.workflow.engine.user that implement User | |
---|---|
class |
UserImpl
A User implementation built upon the silverpeas user management system. |
Methods in com.silverpeas.workflow.engine.user that return User | |
---|---|
User |
UserManagerImpl.getRelatedUser(User user,
String relation,
String peasId)
Get a user from a given user and relation |
User |
UserManagerImpl.getUser(String userId)
Returns the user with the given userId |
User[] |
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 com.silverpeas.workflow.engine.user with parameters of type User | |
---|---|
User |
UserManagerImpl.getRelatedUser(User user,
String relation,
String peasId)
Get a user from a given user and relation |
String[] |
UserManagerImpl.getRoleNames(User user,
String modelId)
Returns all the roles of a given user relative to a processModel. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |