Class DefaultSynchroGroupManager
- java.lang.Object
-
- org.silverpeas.core.admin.domain.synchro.DefaultSynchroGroupManager
-
- All Implemented Interfaces:
SynchroGroupManager
@Service public class DefaultSynchroGroupManager extends Object implements SynchroGroupManager
-
-
Constructor Summary
Constructors Constructor Description DefaultSynchroGroupManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
removeFromContext(Group group)
Removes the given group from the context of the manager.void
resetContext()
Resets the context of the manager.void
synchronize()
Performs the synchronization of synchronized groups.void
updateContextWith(Group group)
Updates the context of the manager with the given group data.
-
-
-
Method Detail
-
resetContext
public void resetContext()
Description copied from interface:SynchroGroupManager
Resets the context of the manager.- Specified by:
resetContext
in interfaceSynchroGroupManager
-
synchronize
public void synchronize()
Description copied from interface:SynchroGroupManager
Performs the synchronization of synchronized groups.- Specified by:
synchronize
in interfaceSynchroGroupManager
-
updateContextWith
public void updateContextWith(Group group)
Description copied from interface:SynchroGroupManager
Updates the context of the manager with the given group data.If the group is a synchronized one, then it will be added to the list of group to perform update on. If it is not synchronized, then it is removed from this list.
- Specified by:
updateContextWith
in interfaceSynchroGroupManager
- Parameters:
group
- data representing a group.
-
removeFromContext
public void removeFromContext(Group group)
Description copied from interface:SynchroGroupManager
Removes the given group from the context of the manager.- Specified by:
removeFromContext
in interfaceSynchroGroupManager
- Parameters:
group
- data representing a group.
-
-