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

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

public class QualityAssuranceAdminServiceFacade
extends java.lang.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
 java.lang.Integer getQualityAssuranceParticipantProbability(Activity a, DepartmentInfo department)
          Gets the probability for a specific participant / department combination.
 java.lang.Integer getQualityAssuranceUserDefaultProbability()
          Gets the probability set for all user
 void setQualityAssuranceParticipantProbability(Activity a, DepartmentInfo department, java.lang.Integer probability)
          Set the probability for a specific participant / department combination.
 void setQualityAssuranceUserDefaultProbability(java.lang.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(java.lang.Integer probability)
Set the probability set for all user This value will be taken when new user are created.

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

getQualityAssuranceUserDefaultProbability

public java.lang.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,
                                                      java.lang.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 java.lang.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 © 2014 SunGard CSA LLC. All Rights Reserved.