Class CertMiscUtil
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.certification.helpers.CertMiscUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
countCertItemsForClosedStageAndIteration
(AccessCertificationCampaignType campaign, boolean notDecidedOnly, PageBase pageBase) static long
countOpenCertItems
(List<String> campaignOids, com.evolveum.midpoint.security.api.MidPointPrincipal principal, boolean notDecidedOnly, PageBase pageBase) createAction
(AccessCertificationResponseType response, PageBase pageBase) static LoadableModel<List<ProgressBar>>
createCampaignCasesProgressBarModel
(AccessCertificationCampaignType campaign, com.evolveum.midpoint.security.api.MidPointPrincipal principal, PageBase pageBase) static InlineMenuItem
createCampaignMenuItem
(org.apache.wicket.model.IModel<List<AccessCertificationCampaignType>> selectedCampaignsModel, CampaignStateHelper.CampaignAction action, PageBase pageBase) static LoadableModel<List<ProgressBar>>
createCampaignWorkItemsProgressBarModel
(AccessCertificationCampaignType campaign, com.evolveum.midpoint.security.api.MidPointPrincipal principal, PageBase pageBase) static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<AccessCertificationWorkItemType>,
String>> static com.evolveum.wicket.chartjs.DoughnutChartConfiguration
createDoughnutChartConfigForCampaigns
(List<String> campaignOids, com.evolveum.midpoint.security.api.MidPointPrincipal principal, PageBase pageBase) static List<AccessCertificationResponseType>
gatherAvailableResponsesForCampaign
(String campaignOid, PageBase pageBase) getActiveCampaignsOids
(boolean onlyForLoggedInUser, PageBase pageBase) static ObjectQuery
getAllActiveCampaignsQuery
(PageBase pageBase) static org.apache.wicket.model.LoadableDetachableModel<String>
static org.apache.wicket.model.LoadableDetachableModel<String>
static ObjectQuery
getPrincipalActiveCampaignsQuery
(PageBase pageBase) getStageOutcome
(AccessCertificationCaseType aCase, int stageNumber) static String
getStopReviewOnText
(List<AccessCertificationResponseType> stopOn, PageBase page) static List<ObjectReferenceType>
loadCampaignReviewers
(AccessCertificationCampaignType campaign, PageBase pageBase) static CompiledObjectCollectionView
loadCampaignView
(PageBase pageBase, String campaignOid) static List<PrismObject<TaskType>>
loadRunningCertTask
(String campaignOid, OperationResult result, PageBase pageBase) mergeCertItemsResponses
(List<AccessCertificationResponseType> availableResponses, List<GuiActionType> actions, PageBase pageBase) static void
recordCertItemResponse
(@NotNull AccessCertificationWorkItemType item, AccessCertificationResponseType response, String comment, OperationResult result, com.evolveum.midpoint.task.api.Task task, PageBase pageBase)
-
Constructor Details
-
CertMiscUtil
public CertMiscUtil()
-
-
Method Details
-
getStopReviewOnText
public static String getStopReviewOnText(List<AccessCertificationResponseType> stopOn, PageBase page) -
createCampaignWorkItemsProgressBarModel
public static LoadableModel<List<ProgressBar>> createCampaignWorkItemsProgressBarModel(AccessCertificationCampaignType campaign, com.evolveum.midpoint.security.api.MidPointPrincipal principal, PageBase pageBase) -
createCampaignCasesProgressBarModel
public static LoadableModel<List<ProgressBar>> createCampaignCasesProgressBarModel(AccessCertificationCampaignType campaign, com.evolveum.midpoint.security.api.MidPointPrincipal principal, PageBase pageBase) -
getStageOutcome
public static AccessCertificationResponseType getStageOutcome(AccessCertificationCaseType aCase, int stageNumber) -
createDoughnutChartConfigForCampaigns
-
countOpenCertItems
-
countCertItemsForClosedStageAndIteration
public static long countCertItemsForClosedStageAndIteration(AccessCertificationCampaignType campaign, boolean notDecidedOnly, PageBase pageBase) -
getActiveCampaignsOids
-
getPrincipalActiveCampaignsQuery
-
getAllActiveCampaignsQuery
-
getCampaignStageLoadableModel
public static org.apache.wicket.model.LoadableDetachableModel<String> getCampaignStageLoadableModel(AccessCertificationCampaignType campaign) -
getCampaignIterationLoadableModel
public static org.apache.wicket.model.LoadableDetachableModel<String> getCampaignIterationLoadableModel(AccessCertificationCampaignType campaign) -
recordCertItemResponse
public static void recordCertItemResponse(@NotNull @NotNull AccessCertificationWorkItemType item, AccessCertificationResponseType response, String comment, OperationResult result, com.evolveum.midpoint.task.api.Task task, PageBase pageBase) -
mergeCertItemsResponses
public static List<AbstractGuiAction<AccessCertificationWorkItemType>> mergeCertItemsResponses(List<AccessCertificationResponseType> availableResponses, List<GuiActionType> actions, PageBase pageBase) -
createAction
public static AbstractGuiAction<AccessCertificationWorkItemType> createAction(AccessCertificationResponseType response, PageBase pageBase) -
createCampaignMenuItem
public static InlineMenuItem createCampaignMenuItem(org.apache.wicket.model.IModel<List<AccessCertificationCampaignType>> selectedCampaignsModel, CampaignStateHelper.CampaignAction action, PageBase pageBase) -
loadCampaignReviewers
public static List<ObjectReferenceType> loadCampaignReviewers(AccessCertificationCampaignType campaign, PageBase pageBase) -
loadRunningCertTask
public static List<PrismObject<TaskType>> loadRunningCertTask(String campaignOid, OperationResult result, PageBase pageBase) -
createCertItemsColumns
public static List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<AccessCertificationWorkItemType>,String>> createCertItemsColumns(CompiledObjectCollectionView view, ColumnTypeConfigContext context) -
gatherAvailableResponsesForCampaign
public static List<AccessCertificationResponseType> gatherAvailableResponsesForCampaign(String campaignOid, PageBase pageBase) -
loadCampaignView
-