org.eclipse.stardust.engine.api.dto
Class QualityAssuranceAdminServiceFacade

java.lang.Object
  extended by org.eclipse.stardust.engine.api.dto.QualityAssuranceAdminServiceFacade

public class QualityAssuranceAdminServiceFacade
extends Object

Client side class for decorating the AdministrationService, specific to the quality control feature

Version:
$Revision: $
Author:
holger.prause

Constructor Summary
QualityAssuranceAdminServiceFacade(ServiceFactory sf)
           
 
Method Summary
 Integer getQualityAssuranceParticipantProbability(Activity a, DepartmentInfo department)
          Gets the probability for a specific participant / department combination.
 Integer getQualityAssuranceUserDefaultProbability()
          Gets the probability set for all user
 void setQualityAssuranceParticipantProbability(Activity a, DepartmentInfo department, Integer probability)
          Set the probability for a specific participant / department combination.
 void setQualityAssuranceUserDefaultProbability(Integer probability)
          Set the probability set for all user This value will be taken when new user are created.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QualityAssuranceAdminServiceFacade

public QualityAssuranceAdminServiceFacade(ServiceFactory sf)
Method Detail

setQualityAssuranceUserDefaultProbability

public void setQualityAssuranceUserDefaultProbability(Integer probability)
Set the probability set for all user This value will be taken when new user are created.

Parameters:
probability - the (default) value for all user - if null , this value will not be saved

getQualityAssuranceUserDefaultProbability

public Integer getQualityAssuranceUserDefaultProbability()
Gets the probability set for all user

Returns:
the probability set for all user- if null , this value will not be saved

setQualityAssuranceParticipantProbability

public void setQualityAssuranceParticipantProbability(Activity a,
                                                      DepartmentInfo department,
                                                      Integer probability)
Set the probability for a specific participant / department combination. The participant is specified by the activity instance. See Activity.getDefaultPerformer()

Parameters:
a - - the activity determining the participant, may be null
department - - the department for this participant
probability - - the probability to use - if null , this value will not be saved

getQualityAssuranceParticipantProbability

public Integer getQualityAssuranceParticipantProbability(Activity a,
                                                         DepartmentInfo department)
Gets the probability for a specific participant / department combination. The participant is specified by the activity instance. See Activity.getDefaultPerformer()

Parameters:
a - - the activity determining the participant
department - - the department for this participant, may be null
Returns:
the probability set or null otherwise


Copyright © 2017 Eclipse Stardust. All Rights Reserved.