org.olat.core.commons.persistence
Class SyncHelper

java.lang.Object
  extended by org.olat.core.commons.persistence.SyncHelper

public class SyncHelper
extends java.lang.Object

Description:

Author:
Felix Jost

Constructor Summary
SyncHelper()
           
 
Method Summary
static boolean containsPersistable(java.util.List listOfPersistables, Persistable persistable)
           
static Persistable findInListByKey(java.util.List persistables, Persistable persistable)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncHelper

public SyncHelper()
Method Detail

findInListByKey

public static Persistable findInListByKey(java.util.List persistables,
                                          Persistable persistable)
Parameters:
persistables -
persistable -
Returns:
Persistable

containsPersistable

public static boolean containsPersistable(java.util.List listOfPersistables,
                                          Persistable persistable)
Parameters:
listOfPersistables -
persistable -
Returns:
True if listOfPersistable contains persistable