|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.stardust.engine.core.spi.security.DynamicParticipantSynchronizationStrategy
public abstract class DynamicParticipantSynchronizationStrategy
The DynamicParticipantSynchronizationStrategy is used to determine if a given user or user group needs to be synchronized with an external.
| Field Summary | |
|---|---|
static org.eclipse.stardust.common.log.Logger |
trace
|
| Constructor Summary | |
|---|---|
DynamicParticipantSynchronizationStrategy()
|
|
| Method Summary | |
|---|---|
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 successfully 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.eclipse.stardust.common.log.Logger trace
| Constructor Detail |
|---|
public DynamicParticipantSynchronizationStrategy()
| Method Detail |
|---|
public abstract boolean isDirty(org.eclipse.stardust.engine.core.runtime.beans.IUser user)
user - the user to be checked.
true if the user must be synchronizedpublic 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.
true if the user group must be synchronizedpublic 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.
true if the department must be synchronizedpublic 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||