KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > identity > assignment > ExpressionSession


1 package org.jbpm.identity.assignment;
2
3 import org.jbpm.identity.*;
4
5 /**
6  * interface used by the {@link org.jbpm.identity.assignment.ExpressionAssignmentHandler}
7  * to get information from the users data store.
8  * @see org.jbpm.identity.hibernate.IdentitySession
9  */

10 public interface ExpressionSession {
11   
12   /**
13    * retrieves a group from the user datastore including the membership relations.
14    */

15   Group getGroupByName(String JavaDoc groupName);
16
17   /**
18    * retrieves a user from the user datastore including the membership relations.
19    */

20   User getUserByName(String JavaDoc userName);
21 }
22
Popular Tags