org.jbpm.api.task
Interface Participation


public interface Participation

a link to a participating identity (user or group) and the type of involvement.

Author:
Tom Baeyens, Heiko Braun

Field Summary
static java.lang.String CANDIDATE
          alternative owner, but as long as this person is not the owner.
static java.lang.String CLIENT
          person that will be using the result of this task.
static java.lang.String OWNER
          the person with ultimate responsibility over a task.
static java.lang.String REPLACED_ASSIGNEE
          a person that was assigned to a task, but got replaced because of absence or another reason.
static java.lang.String VIEWER
          person that is allowed to watch-but-not-touch this task
 
Method Summary
 long getDbid()
           
 java.lang.String getGroupId()
          groupId for this participation.
 java.lang.String getType()
          see constants for default participations
 java.lang.String getUserId()
          userId for this participation.
 

Field Detail

CANDIDATE

static final java.lang.String CANDIDATE
alternative owner, but as long as this person is not the owner. This person is allowed to make comments, but nothing else.

See Also:
Constant Field Values

OWNER

static final java.lang.String OWNER
the person with ultimate responsibility over a task.

See Also:
Constant Field Values

CLIENT

static final java.lang.String CLIENT
person that will be using the result of this task. This person is allowed to make comments, but nothing else.

See Also:
Constant Field Values

VIEWER

static final java.lang.String VIEWER
person that is allowed to watch-but-not-touch this task

See Also:
Constant Field Values

REPLACED_ASSIGNEE

static final java.lang.String REPLACED_ASSIGNEE
a person that was assigned to a task, but got replaced because of absence or another reason. This way, a trace can be left in case this person returns and wants to take back his tasks that got reassigned.

See Also:
Constant Field Values
Method Detail

getDbid

long getDbid()

getUserId

java.lang.String getUserId()
userId for this participation. null in case this is a group participation.


getGroupId

java.lang.String getGroupId()
groupId for this participation. null in case this is a user participation.


getType

java.lang.String getType()
see constants for default participations



Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.