wt.epm.upload
Class Cache.Flusher
java.lang.Object
wt.epm.upload.Cache.Flusher
- Enclosing class:
- Cache
- public static class Cache.Flusher
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cache
private Cache cache
cacheObjectsForDeletion
private Collection cacheObjectsForDeletion
cacheObjectsForUndocheckout
private Collection cacheObjectsForUndocheckout
cacheObjectsForAutoUndocheckout
private Collection cacheObjectsForAutoUndocheckout
cacheObjectsForCreating
private Collection cacheObjectsForCreating
cacheObjectsForUpdating
private Collection cacheObjectsForUpdating
cacheObjectsForIgnoring
private Collection cacheObjectsForIgnoring
objectsForDeletion
private WTSet objectsForDeletion
objectsForUndocheckout
private WTSet objectsForUndocheckout
objectsForCreating
private Map objectsForCreating
objectsForCreatingList
private WTCollection objectsForCreatingList
objectsForUpdating
private WTCollection objectsForUpdating
classOrder
private static final Class[] classOrder
Cache.Flusher
public Cache.Flusher(Cache cache)
Cache.Flusher
public Cache.Flusher(Cache cache,
boolean delete,
boolean create,
boolean update)
getCacheObjectsForDeletion
public Collection getCacheObjectsForDeletion()
getCacheObjectsForUndocheckout
public Collection getCacheObjectsForUndocheckout()
getCacheObjectsForDeletion
public Collection getCacheObjectsForDeletion(Class filter)
throws WTException
- Throws:
WTException
getCacheObjectsForUndocheckout
public Collection getCacheObjectsForUndocheckout(Class filter)
throws WTException
- Throws:
WTException
getCacheObjectsForCreating
public Collection getCacheObjectsForCreating()
getCacheObjectsForCreating
public Collection getCacheObjectsForCreating(Class filter)
throws WTException
- Throws:
WTException
getCacheObjectsForUpdating
public Collection getCacheObjectsForUpdating()
getCacheObjectsForUpdating
public Collection getCacheObjectsForUpdating(Class filter)
throws WTException
- Throws:
WTException
getObjectsForDeletion
public WTSet getObjectsForDeletion()
getObjectsForUndocheckout
public WTSet getObjectsForUndocheckout()
getObjectsForCreating
public WTCollection getObjectsForCreating()
getObjectsForUpdating
public WTCollection getObjectsForUpdating()
addCacheObjects
public void addCacheObjects(Map objects)
throws WTException
- Throws:
WTException
addCacheObjects
public void addCacheObjects(Collection objects)
throws WTException
- Throws:
WTException
addCacheObject
public void addCacheObject(CacheObject object)
throws WTException
- Throws:
WTException
prepare
public void prepare()
throws WTException
- Throws:
WTException
prepareDeletion
protected void prepareDeletion()
throws WTException
- Throws:
WTException
prepareCreating
protected void prepareCreating()
throws WTException
- Throws:
WTException
prepareUpdating
protected void prepareUpdating()
throws WTException
- Throws:
WTException
execute
public void execute()
throws WTException
- Throws:
WTException
executeDeletion
protected void executeDeletion()
throws WTException
- Throws:
WTException
executeCreating
protected void executeCreating()
throws WTException
- Throws:
WTException
executeUpdating
protected void executeUpdating()
throws WTException
- Throws:
WTException
delete
public static Collection delete(Collection objects)
throws WTException
- Throws:
WTException
modify
public static Collection modify(Collection objects)
throws WTException
- Throws:
WTException
store
public static Collection store(Collection objects)
throws WTException
- Throws:
WTException
dumpObjects
private void dumpObjects(String title,
Collection c)
throws WTException
- Throws:
WTException