gran.app.adapter.kernel.acl
Interface ACLAdapter

All Superinterfaces:
Adapter, KernelAdapter
All Known Implementing Classes:
BaseACLAdapter

public interface ACLAdapter
extends KernelAdapter


Method Summary
 void addUserACLImpl(java.lang.String taskid, java.lang.String userid)
           
 void deleteUserACLsImpl(java.lang.String taskid, java.lang.String[] userids)
          del ACL for task
 java.util.Collection listAllowedUserImpl(java.lang.String taskid, java.util.Collection result)
           
 java.util.Collection listInheritedUserACLImpl(java.lang.String taskid, java.lang.String userid, java.util.Collection result)
          list all ACL users, inherited from parent tasks and that managed by me (direclty or indirectly)
 java.util.Collection listUnassignedUserACLImpl(java.lang.String taskid, java.lang.String userid, java.util.Collection result)
          list all ACL users, not assigned to this or parent task and that managed by me (direclty or indirectly) only this users can be added to ACL (because other already added)
 java.util.Collection listUserACLImpl(java.lang.String taskid, java.lang.String userid, java.util.Collection result)
          list all ACL users for this (not parent) task and that managed by me (direclty or indirectly)
 java.util.HashMap mapAssignableHandlerACLImpl(java.lang.String taskid, java.util.HashMap result)
          Gets list of assignable hanlers as HashMap
 boolean viewAllowedByACLImpl(java.lang.String taskid, java.lang.String userid, boolean result)
          return true if user can see details of this task
 
Methods inherited from interface gran.app.adapter.Adapter
getDescription, init
 

Method Detail

listUserACLImpl

public java.util.Collection listUserACLImpl(java.lang.String taskid,
                                            java.lang.String userid,
                                            java.util.Collection result)
                                     throws gran.exception.GranException
list all ACL users for this (not parent) task and that managed by me (direclty or indirectly)

Returns:
Collection of UserChainItem
Throws:
gran.exception.GranException

listInheritedUserACLImpl

public java.util.Collection listInheritedUserACLImpl(java.lang.String taskid,
                                                     java.lang.String userid,
                                                     java.util.Collection result)
                                              throws gran.exception.GranException
list all ACL users, inherited from parent tasks and that managed by me (direclty or indirectly)

Returns:
Collection of UserChainItem
Throws:
gran.exception.GranException

listUnassignedUserACLImpl

public java.util.Collection listUnassignedUserACLImpl(java.lang.String taskid,
                                                      java.lang.String userid,
                                                      java.util.Collection result)
                                               throws gran.exception.GranException
list all ACL users, not assigned to this or parent task and that managed by me (direclty or indirectly) only this users can be added to ACL (because other already added)

Returns:
Collection of UserChainItem
Throws:
gran.exception.GranException

mapAssignableHandlerACLImpl

public java.util.HashMap mapAssignableHandlerACLImpl(java.lang.String taskid,
                                                     java.util.HashMap result)
                                              throws gran.exception.GranException
Gets list of assignable hanlers as HashMap

Throws:
gran.exception.GranException

viewAllowedByACLImpl

public boolean viewAllowedByACLImpl(java.lang.String taskid,
                                    java.lang.String userid,
                                    boolean result)
                             throws gran.exception.GranException
return true if user can see details of this task

Throws:
gran.exception.GranException

deleteUserACLsImpl

public void deleteUserACLsImpl(java.lang.String taskid,
                               java.lang.String[] userids)
                        throws gran.exception.GranException
del ACL for task

Throws:
gran.exception.GranException

addUserACLImpl

public void addUserACLImpl(java.lang.String taskid,
                           java.lang.String userid)
                    throws gran.exception.GranException
Throws:
gran.exception.GranException

listAllowedUserImpl

public java.util.Collection listAllowedUserImpl(java.lang.String taskid,
                                                java.util.Collection result)
                                         throws gran.exception.GranException
Throws:
gran.exception.GranException


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