com.trackstudio.kernel.cache
Class TaskCacheManager
java.lang.Object
com.trackstudio.kernel.cache.CacheManager
com.trackstudio.kernel.cache.TaskCacheManager
- All Implemented Interfaces:
- NotificationReceiver
- public class TaskCacheManager
- extends CacheManager
| Fields inherited from class com.trackstudio.kernel.cache.CacheManager |
hu |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
invalidateTaskWhenMove
public static final java.lang.String invalidateTaskWhenMove
- See Also:
- Constant Field Values
invalidateAttachments
public static final java.lang.String invalidateAttachments
- See Also:
- Constant Field Values
invalidateTaskWhenInsert
public static final java.lang.String invalidateTaskWhenInsert
- See Also:
- Constant Field Values
invalidateTaskUDFWhenRemoveScript
public static final java.lang.String invalidateTaskUDFWhenRemoveScript
- See Also:
- Constant Field Values
invalidateTaskWhenRemove
public static final java.lang.String invalidateTaskWhenRemove
- See Also:
- Constant Field Values
invalidateWhenChangeWorkflow
public static final java.lang.String invalidateWhenChangeWorkflow
- See Also:
- Constant Field Values
invalidateTaskWhenUpdate
public static final java.lang.String invalidateTaskWhenUpdate
- See Also:
- Constant Field Values
invalidateWhenChangeMessages
public static final java.lang.String invalidateWhenChangeMessages
- See Also:
- Constant Field Values
invalidateAcl
public static final java.lang.String invalidateAcl
- See Also:
- Constant Field Values
invalidateTaskUDF
public static final java.lang.String invalidateTaskUDF
- See Also:
- Constant Field Values
invalidateTaskUDFWhenChange
public static final java.lang.String invalidateTaskUDFWhenChange
- See Also:
- Constant Field Values
getInstance
public static TaskCacheManager getInstance()
throws GranException
- Throws:
GranException
find
public TaskCacheItem find(java.lang.String id)
throws GranException
- Throws:
GranException
invalidate
public void invalidate()
throws GranException
- Deprecated. Do not use, please
- Invalidate all elements of cache.
- Throws:
GranException
invalidateUDF
public void invalidateUDF()
throws GranException
- Throws:
GranException
invalidateWhenRemoveScript
public void invalidateWhenRemoveScript()
throws GranException
- Throws:
GranException
invalidateUDF
public void invalidateUDF(java.lang.String id)
throws GranException
- Throws:
GranException
invalidateUDFWhenChange
public void invalidateUDFWhenChange()
throws GranException
- Throws:
GranException
invalidateUDFWhenChange
public void invalidateUDFWhenChange(java.lang.String id)
throws GranException
- Throws:
GranException
invalidateWhenRemove
public void invalidateWhenRemove(java.lang.String id)
throws GranException
- Throws:
GranException
invalidateWhenChangeWorkflow
public void invalidateWhenChangeWorkflow()
throws GranException
- Throws:
GranException
invalidateWhenUpdate
public void invalidateWhenUpdate(java.lang.String id)
throws GranException
- Throws:
GranException
invalidateWhenMove
public void invalidateWhenMove(java.lang.String taskid,
java.lang.String from,
java.lang.String to)
throws GranException
- Throws:
GranException
invalidateAttachments
public void invalidateAttachments(java.lang.String taskid)
throws GranException
- Throws:
GranException
invalidateWhenInsert
public void invalidateWhenInsert(java.lang.String id)
throws GranException
- Throws:
GranException
receive
public void receive(CacheNotification nf)
throws GranException
- Throws:
GranException
invalidateWhenChangeMessages
public void invalidateWhenChangeMessages(java.lang.String id)
throws GranException
- Throws:
GranException
invalidateAcl
public void invalidateAcl(java.lang.String id,
java.lang.String userid)
throws GranException
- Throws:
GranException
getUsedUsersIdList
public java.util.List getUsedUsersIdList(java.lang.String taskId)
throws GranException
- returns a list of user IDs, who has any access to any of this task descendents
- Throws:
GranException
isTaskExists
public boolean isTaskExists(java.lang.String taskid)
throws GranException
- Throws:
GranException
getChildrenRecursive
public java.util.Iterator getChildrenRecursive(java.lang.String key)
throws GranException
- Throws:
GranException
getAllTasksIterator
public java.util.Iterator getAllTasksIterator()
throws GranException
- Throws:
GranException
getParents
public java.util.List getParents(java.util.Collection tasks)
throws GranException
- Throws:
GranException
getProjectChildren
public java.util.ArrayList getProjectChildren(java.lang.String id)
throws GranException
- Throws:
GranException
Copyright © 2002-2005 TrackStudio, Ltd. All Rights Reserved.