Search in sources :

Example 6 with ResourceItemDto

use of com.evolveum.midpoint.web.page.admin.configuration.dto.ResourceItemDto in project midpoint by Evolveum.

the class PageAccounts method createResourceQueryFilter.

private ObjectFilter createResourceQueryFilter() {
    ResourceItemDto dto = resourceModel.getObject();
    if (dto == null) {
        return null;
    }
    String oid = dto.getOid();
    return QueryBuilder.queryFor(ShadowType.class, getPrismContext()).item(ShadowType.F_RESOURCE_REF).ref(oid).buildFilter();
}
Also used : ResourceItemDto(com.evolveum.midpoint.web.page.admin.configuration.dto.ResourceItemDto) ShadowType(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType)

Aggregations

ResourceItemDto (com.evolveum.midpoint.web.page.admin.configuration.dto.ResourceItemDto)6 OperationResult (com.evolveum.midpoint.schema.result.OperationResult)3 CommonException (com.evolveum.midpoint.util.exception.CommonException)3 ObjectNotFoundException (com.evolveum.midpoint.util.exception.ObjectNotFoundException)3 SchemaException (com.evolveum.midpoint.util.exception.SchemaException)3 ResourceType (com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType)3 IOException (java.io.IOException)3 ArrayList (java.util.ArrayList)3 RestartResponseException (org.apache.wicket.RestartResponseException)3 Definition (com.evolveum.midpoint.prism.Definition)1 PrismObject (com.evolveum.midpoint.prism.PrismObject)1 ResourceSchema (com.evolveum.midpoint.schema.processor.ResourceSchema)1 AjaxDownloadBehaviorFromFile (com.evolveum.midpoint.web.component.AjaxDownloadBehaviorFromFile)1 ObjectDataProvider (com.evolveum.midpoint.web.component.data.ObjectDataProvider)1 TablePanel (com.evolveum.midpoint.web.component.data.TablePanel)1 VisibleEnableBehaviour (com.evolveum.midpoint.web.component.util.VisibleEnableBehaviour)1 AceEditorDialog (com.evolveum.midpoint.web.page.admin.configuration.component.AceEditorDialog)1 AccountDetailsSearchDto (com.evolveum.midpoint.web.page.admin.configuration.dto.AccountDetailsSearchDto)1 ReconciliationReportDto (com.evolveum.midpoint.web.page.admin.reports.dto.ReconciliationReportDto)1 OperationResultType (com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultType)1