public abstract class DynamicParticipantSynchronizationStrategy extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.eclipse.stardust.common.log.Logger |
trace |
| Constructor and Description |
|---|
DynamicParticipantSynchronizationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDirty(org.eclipse.stardust.engine.core.runtime.beans.IDepartment department)
Checks if this department needs to be synchronized.
|
abstract boolean |
isDirty(org.eclipse.stardust.engine.core.runtime.beans.IUser user)
Checks if this user needs to be synchronized.
|
boolean |
isDirty(org.eclipse.stardust.engine.core.runtime.beans.IUserGroup userGroup)
Checks if this user group needs to be synchronized.
|
boolean |
isDirtyLogAware(org.eclipse.stardust.engine.core.runtime.beans.IUser user)
wrapper to catch and log possible exceptions.
|
void |
setSynchronized(org.eclipse.stardust.engine.core.runtime.beans.IDepartment department)
Callback method to inform the SynchronizationStrategy that the department has been
successfully synchronized.
|
abstract void |
setSynchronized(org.eclipse.stardust.engine.core.runtime.beans.IUser user)
Callback method to inform the SynchronizationStrategy that the user have been
successfuly synchronized.
|
void |
setSynchronized(org.eclipse.stardust.engine.core.runtime.beans.IUserGroup userGroup)
Callback method to inform the SynchronizationStrategy that the user group has been
successfully synchronized.
|
void |
setSynchronizedLogAware(org.eclipse.stardust.engine.core.runtime.beans.IUser user)
wrapper to catch and log possible exceptions.
|
public DynamicParticipantSynchronizationStrategy()
public abstract boolean isDirty(org.eclipse.stardust.engine.core.runtime.beans.IUser user)
user - the user to be checked.public final boolean isDirtyLogAware(org.eclipse.stardust.engine.core.runtime.beans.IUser user)
isDirty(IUserGroup userGroup)public abstract void setSynchronized(org.eclipse.stardust.engine.core.runtime.beans.IUser user)
user - the user that has been synchronized.public final void setSynchronizedLogAware(org.eclipse.stardust.engine.core.runtime.beans.IUser user)
setSynchronized(IUser user))public boolean isDirty(org.eclipse.stardust.engine.core.runtime.beans.IUserGroup userGroup)
The default implementation is to never flag the user group as dirty.
userGroup - the user group to be checked.public void setSynchronized(org.eclipse.stardust.engine.core.runtime.beans.IUserGroup userGroup)
The default implementation is to do nothing.
userGroup - the user group that has been synchronized.public boolean isDirty(org.eclipse.stardust.engine.core.runtime.beans.IDepartment department)
The default implementation is to never flag the department as dirty.
department - the department to be checked.public void setSynchronized(org.eclipse.stardust.engine.core.runtime.beans.IDepartment department)
The default implementation is to do nothing.
department - the department that has been synchronized.Copyright © 2016 Eclipse Stardust. All Rights Reserved.