com.trackstudio.securedkernel
Class SecuredIndexAdapterManager

java.lang.Object
  extended by com.trackstudio.securedkernel.SecuredIndexAdapterManager

public class SecuredIndexAdapterManager
extends java.lang.Object

This manager is used for accessing to index manager


Constructor Summary
SecuredIndexAdapterManager()
           
 
Method Summary
 java.util.Map getReferencedTasksForTask(SessionContext sc, java.lang.String taskId)
          Get tasks which have references to this task in their custom fields
 java.util.Map getReferencedTasksForUser(SessionContext sc, java.lang.String userId)
          Get tasks which have references to this user in their custom fields
 java.util.Map getReferencedUsersForTask(SessionContext sc, java.lang.String taskId)
          Get users which have references to this task in their custom fields
 java.util.Map getReferencedUsersForUser(SessionContext sc, java.lang.String userId)
          Get users which have references to this user in their custom fields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuredIndexAdapterManager

public SecuredIndexAdapterManager()
Method Detail

getReferencedTasksForTask

public java.util.Map getReferencedTasksForTask(SessionContext sc,
                                               java.lang.String taskId)
                                        throws GranException
Get tasks which have references to this task in their custom fields

Parameters:
sc - session context
taskId - task's id
Returns:
map where keys are SecuredUDFValueBean and values are lists of SecuredTaskBean assigned to this custom field
Throws:
GranException
See Also:
SecuredUDFValueBean, SecuredTaskBean

getReferencedUsersForTask

public java.util.Map getReferencedUsersForTask(SessionContext sc,
                                               java.lang.String taskId)
                                        throws GranException
Get users which have references to this task in their custom fields

Parameters:
sc - session context
taskId - task's id
Returns:
map where keys are SecuredUDFValueBean and values are lists SecuredUserBean assigned to this custom field
Throws:
GranException
See Also:
SecuredUDFValueBean, SecuredUserBean

getReferencedTasksForUser

public java.util.Map getReferencedTasksForUser(SessionContext sc,
                                               java.lang.String userId)
                                        throws GranException
Get tasks which have references to this user in their custom fields

Parameters:
sc - session context
userId - user's id
Returns:
map where keys are SecuredUDFValueBean and values are lists of SecuredTaskBean assigned to this custom field * @see com.trackstudio.secured.SecuredUDFValueBean
Throws:
GranException
See Also:
SecuredTaskBean

getReferencedUsersForUser

public java.util.Map getReferencedUsersForUser(SessionContext sc,
                                               java.lang.String userId)
                                        throws GranException
Get users which have references to this user in their custom fields

Parameters:
sc - session context
userId - user's id
Returns:
map where keys are SecuredUDFValueBean and values are lists SecuredUserBean assigned to this custom field
Throws:
GranException
See Also:
SecuredUDFValueBean, SecuredUserBean


Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.