public class CertCampaignTypeUtil extends Object
Constructor and Description |
---|
CertCampaignTypeUtil() |
public static AccessCertificationStageType getCurrentStage(AccessCertificationCampaignType campaign)
public static AccessCertificationStageDefinitionType getCurrentStageDefinition(AccessCertificationCampaignType campaign)
public static AccessCertificationStageDefinitionType findStageDefinition(AccessCertificationCampaignType campaign, int stageNumber)
public static AccessCertificationStageType findStage(AccessCertificationCampaignType campaign, int stageNumber)
public static AccessCertificationCaseType findCase(AccessCertificationCampaignType campaign, long caseId)
public static AccessCertificationDecisionType findDecision(AccessCertificationCaseType _case, int stageNumber, String reviewerOid)
public static int getNumberOfStages(AccessCertificationCampaignType campaign)
public static AccessCertificationDefinitionType getDefinition(AccessCertificationCampaignType campaign)
public static boolean isRemediationAutomatic(AccessCertificationCampaignType campaign)
public static boolean isCampaignClosed(AccessCertificationCampaignType campaign)
public static void checkStageDefinitionConsistency(List<AccessCertificationStageDefinitionType> stages)
public static AccessCertificationStageType findCurrentStage(AccessCertificationCampaignType campaign)
public static int getActiveCases(List<AccessCertificationCaseType> caseList, int campaignStageNumber, AccessCertificationCampaignStateType state)
public static int getUnansweredCases(List<AccessCertificationCaseType> caseList, int campaignStageNumber, AccessCertificationCampaignStateType state)
public static int getPercentComplete(List<AccessCertificationCaseType> caseList, int campaignStageNumber, AccessCertificationCampaignStateType state)
public static float getCasesCompletedPercentage(AccessCertificationCampaignType campaign)
public static float getCasesCompletedPercentage(List<AccessCertificationCaseType> caseList, int campaignStageNumber, AccessCertificationCampaignStateType state)
public static float getCasesDecidedPercentage(AccessCertificationCampaignType campaign)
public static float getCasesDecidedPercentage(List<AccessCertificationCaseType> caseList)
public static float getDecisionsDonePercentage(AccessCertificationCampaignType campaign)
public static float getDecisionsDonePercentage(List<AccessCertificationCaseType> caseList, int campaignStageNumber, AccessCertificationCampaignStateType state)
public static Date getReviewedTimestamp(List<AccessCertificationDecisionType> decisions)
protected static boolean isEmpty(AccessCertificationDecisionType decision)
public static List<ObjectReferenceType> getReviewedBy(List<AccessCertificationDecisionType> decisions)
public static List<String> getComments(List<AccessCertificationDecisionType> decisions)
public static com.evolveum.midpoint.prism.path.ItemPath getOrderBy(QName oldName)
public static com.evolveum.midpoint.prism.query.ObjectQuery createCasesForCampaignQuery(String campaignOid, com.evolveum.midpoint.prism.PrismContext prismContext) throws SchemaException
SchemaException
public static AccessCertificationCaseStageOutcomeType getStageOutcome(AccessCertificationCaseType aCase, int stageNumber)
public static List<AccessCertificationResponseType> getOutcomesToStopOn(List<AccessCertificationResponseType> stopReviewOn, List<AccessCertificationResponseType> advanceToNextStageOn)
Copyright © 2016 Evolveum. All rights reserved.