Package org.apache.syncope.common.reqres.BulkActionResult

Examples of org.apache.syncope.common.reqres.BulkActionResult.Status


    public void populateItem(final Item<ICellPopulator<T>> item, final String componentId, final IModel<T> rowModel) {
        try {
            final PropertyDescriptor propDesc =
                    BeanUtils.getPropertyDescriptor(rowModel.getObject().getClass(), idFieldName);
            final Object id = propDesc.getReadMethod().invoke(rowModel.getObject(), new Object[0]);
            final Status status = id == null ? null : results.getResultMap().get(id.toString());
            item.add(new Label(componentId, status == null ? Status.SUCCESS : status.toString()));
        } catch (Exception e) {
            LOG.error("Errore retrieving target id value", e);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.syncope.common.reqres.BulkActionResult.Status

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.