it.eng.spagobi.kpi.ou.util
Class OrganizationalUnitSynchronizer
java.lang.Object
it.eng.spagobi.kpi.ou.util.OrganizationalUnitSynchronizer
public class OrganizationalUnitSynchronizer
- extends java.lang.Object
This class synchronizes OU list, hierarchies list and hierarchies structure.
It retrieves information by a it.eng.spagobi.kpi.ou.provider.OrganizationalUnitListProvider.
Inside an instance of class it.eng.spagobi.kpi.ou.bo.OrganizationalUnit retrieved by the OrganizationalUnitListProvider, the "id"
property does not make sense, since it does not match the "id" in the SpagoBI repository. An existing OU is matched to a OU
coming from the OrganizationalUnitListProvider if it has the same label; in this case, we set the id coming from SpagoBI repository.
For hierarchies it is the same.
For hierarchies structure, we consider the path of each node: if an existing path does no more exists, it is deleted (with its descendants);
if a new path does not exist, it is inserted (recursively).
- Author:
- Davide Zerbetto (davide.zerbetto@eng.it)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrganizationalUnitSynchronizer
public OrganizationalUnitSynchronizer()
synchronize
public void synchronize()