if (profile.getResults() == null) {
profile.setResults(new ArrayList<SyncResult>());
}
final AbstractSubject toBeHandled = getSubject(subject.getId());
final AttributableUtil attrUtil = AttributableUtil.getInstance(toBeHandled);
final SyncResult result = new SyncResult();
profile.getResults().add(result);
result.setId(toBeHandled.getId());
result.setSubjectType(attrUtil.getType());
result.setName(getName(toBeHandled));
final Boolean enabled = toBeHandled instanceof SyncopeUser && profile.getSyncTask().isSyncStatus()
? ((SyncopeUser) toBeHandled).isSuspended() ? Boolean.FALSE : Boolean.TRUE
: null;
LOG.debug("Propagating {} with ID {} towards {}",
attrUtil.getType(), toBeHandled.getId(), profile.getSyncTask().getResource());
Object output = null;
Result resultStatus = null;
ConnectorObject beforeObj = null;
String operation = null;