Package org.apache.syncope.core.persistence.beans

Examples of org.apache.syncope.core.persistence.beans.AbstractSyncTask


     * @throws JobExecutionException if anything goes wrong
     */
    protected void synchronizeMemberships(
            final SyncProfile<?, ?> profile, final SyncDelta delta, final RoleTO roleTO) throws JobExecutionException {

        final AbstractSyncTask task = profile.getSyncTask();
        final ExternalResource resource = task.getResource();
        final Connector connector = profile.getConnector();

        for (Object membValue : getMembAttrValues(delta, connector)) {
            Long userId = syncUtilities.findMatchingAttributableId(
                    ObjectClass.ACCOUNT,
View Full Code Here


            final RMapping rMapping,
            final boolean dryRun) throws JobExecutionException;

    @Override
    protected boolean hasToBeRegistered(final TaskExec execution) {
        final AbstractSyncTask syncTask = (AbstractSyncTask) task;

        // True if either failed and failures have to be registered, or if ALL has to be registered.
        return (Status.valueOf(execution.getStatus()) == Status.FAILURE
                && syncTask.getResource().getSyncTraceLevel().ordinal() >= TraceLevel.FAILURES.ordinal())
                || syncTask.getResource().getSyncTraceLevel().ordinal() >= TraceLevel.SUMMARY.ordinal();
    }
View Full Code Here

TOP

Related Classes of org.apache.syncope.core.persistence.beans.AbstractSyncTask

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.