|
|||||||||
| 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
org.eclipse.stardust.engine.core.spi.security.TimebasedSynchronizationStrategy
public class TimebasedSynchronizationStrategy
Concrete implementation of the DynamicParticipantSynchronizationStrategy based on the time lapsed since the last synchronization.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.stardust.engine.core.spi.security.DynamicParticipantSynchronizationStrategy |
|---|
trace |
| Constructor Summary | |
|---|---|
TimebasedSynchronizationStrategy()
|
|
| Method Summary | |
|---|---|
void |
flush()
|
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. |
void |
setSynchronized(org.eclipse.stardust.engine.core.runtime.beans.IUser user)
Callback method to inform the SynchronizationStrategy that the user have been successfuly synchronized. This call will update the synchronization timestamp associated with this user. |
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. This call will update the synchronization timestamp associated with this user group. |
| Methods inherited from class org.eclipse.stardust.engine.core.spi.security.DynamicParticipantSynchronizationStrategy |
|---|
isDirty, isDirtyLogAware, setSynchronized, setSynchronizedLogAware |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimebasedSynchronizationStrategy()
| Method Detail |
|---|
public boolean isDirty(org.eclipse.stardust.engine.core.runtime.beans.IUser user)
isDirty in class DynamicParticipantSynchronizationStrategyuser - the user to be checked.
public void setSynchronized(org.eclipse.stardust.engine.core.runtime.beans.IUser user)
setSynchronized in class DynamicParticipantSynchronizationStrategyuser - the user that has been synchronized.public boolean isDirty(org.eclipse.stardust.engine.core.runtime.beans.IUserGroup userGroup)
isDirty in class DynamicParticipantSynchronizationStrategyuserGroup - the user group to be checked.
public void setSynchronized(org.eclipse.stardust.engine.core.runtime.beans.IUserGroup userGroup)
setSynchronized in class DynamicParticipantSynchronizationStrategyuserGroup - the user group that has been synchronized.public void flush()
flush in interface org.eclipse.stardust.common.Flushable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||