use of com.evolveum.midpoint.xml.ns._public.common.common_3.AdminGuiConfigurationType in project midpoint by Evolveum.
the class AdditionalMenuLinkCounter method count.
@Override
public int count(AssignmentHolderDetailsModel<SystemConfigurationType> model, PageBase pageBase) {
SystemConfigurationType object = model.getObjectType();
AdminGuiConfigurationType agc = object.getAdminGuiConfiguration();
return agc != null ? agc.getAdditionalMenuLink().size() : 0;
}
use of com.evolveum.midpoint.xml.ns._public.common.common_3.AdminGuiConfigurationType in project midpoint by Evolveum.
the class GuiObjectDetailsCounter method count.
@Override
public int count(AssignmentHolderDetailsModel<SystemConfigurationType> model, PageBase pageBase) {
SystemConfigurationType object = model.getObjectType();
AdminGuiConfigurationType adminGui = object.getAdminGuiConfiguration();
if (adminGui == null) {
return 0;
}
GuiObjectDetailsSetType views = adminGui.getObjectDetails();
return views != null ? views.getObjectDetailsPage().size() : 0;
}
use of com.evolveum.midpoint.xml.ns._public.common.common_3.AdminGuiConfigurationType in project midpoint by Evolveum.
the class ObjectCollectionViewsCounter method count.
@Override
public int count(AssignmentHolderDetailsModel<SystemConfigurationType> model, PageBase pageBase) {
SystemConfigurationType object = model.getObjectType();
AdminGuiConfigurationType adminGui = object.getAdminGuiConfiguration();
if (adminGui == null) {
return 0;
}
GuiObjectListViewsType views = adminGui.getObjectCollectionViews();
return views != null ? views.getObjectCollectionView().size() : 0;
}
Aggregations