Package org.imixs.workflow.engine
Class UserGroupEvent
java.lang.Object
org.imixs.workflow.engine.UserGroupEvent
The UserGroupEvent provides a CDI observer pattern. The UserGroupEvent is
fired by the DocumentService EJB. An event Observer can react on this event
to extend the current user group list. The user group list is used to grant
read and write access on a document entity.
- Version:
- 1.1
- Author:
- Ralph Soika
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the current list of groupsvoid
reset()
This method empties the current group listvoid
This method adds a new list of groups to the current group list.void
-
Constructor Details
-
UserGroupEvent
-
-
Method Details
-
getUserId
-
setUserId
-
setGroups
This method adds a new list of groups to the current group list. Multiple observers can add different groups independently from each other. Duplicates are removed.To reset the current group list a observer can call the method reset.
- Parameters:
groups
-
-
getGroups
Returns the current list of groups- Returns:
-
reset
public void reset()This method empties the current group list
-