org.exoplatform.ecm.bp.bonita.validation.mapper
Class ValidatorRoleMapper

java.lang.Object
  extended by org.exoplatform.ecm.bp.bonita.validation.mapper.ValidatorRoleMapper
All Implemented Interfaces:
org.ow2.bonita.definition.RoleMapper

public class ValidatorRoleMapper
extends java.lang.Object
implements org.ow2.bonita.definition.RoleMapper

This Role Mapper retrieves the name of the validator Group in eXo from Instance Properties. As a Role Mapper is invoked prior Instance Properties can be set, this Role Mapper finds them in a Thread Local set by the method that starts the Instance in the Bonita service. Created by Bull R&D

Author:
Brice Revenant, Rodrigue Le Gall

Field Summary
static java.lang.String DELEGATE_NAME
           
static java.lang.String DELEGATOR_NAME
           
static java.lang.String PROPERTY_NAME
          Name of the Property that contains the eXo Membership and Group
 
Constructor Summary
ValidatorRoleMapper()
           
 
Method Summary
 java.util.Set<java.lang.String> searchMembers(org.ow2.bonita.facade.QueryAPIAccessor readonlyapiaccessor, ProcessInstanceUUID instanceId, java.lang.String roleId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_NAME

public static final java.lang.String PROPERTY_NAME
Name of the Property that contains the eXo Membership and Group

See Also:
Constant Field Values

DELEGATOR_NAME

public static final java.lang.String DELEGATOR_NAME
See Also:
Constant Field Values

DELEGATE_NAME

public static final java.lang.String DELEGATE_NAME
See Also:
Constant Field Values
Constructor Detail

ValidatorRoleMapper

public ValidatorRoleMapper()
Method Detail

searchMembers

public java.util.Set<java.lang.String> searchMembers(org.ow2.bonita.facade.QueryAPIAccessor readonlyapiaccessor,
                                                     ProcessInstanceUUID instanceId,
                                                     java.lang.String roleId)
Specified by:
searchMembers in interface org.ow2.bonita.definition.RoleMapper


Copyright © 2011 eXo Platform SAS. All Rights Reserved.