|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgran.app.adapter.kernel.acl.BaseACLAdapter
Constructor Summary | |
BaseACLAdapter()
|
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.lang.String |
getDescription()
Get description of adapter as plain text |
boolean |
init()
Initialize adapter. |
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)
slow method |
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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaseACLAdapter()
Method Detail |
public boolean init()
Adapter
init
in interface Adapter
public java.lang.String getDescription()
Adapter
getDescription
in interface Adapter
public java.util.Collection listUserACLImpl(java.lang.String taskid, java.lang.String userid, java.util.Collection result) throws gran.exception.GranException
listUserACLImpl
in interface ACLAdapter
gran.exception.GranException
public java.util.Collection listInheritedUserACLImpl(java.lang.String taskid, java.lang.String userid, java.util.Collection result) throws gran.exception.GranException
ACLAdapter
listInheritedUserACLImpl
in interface ACLAdapter
gran.exception.GranException
public java.util.Collection listUnassignedUserACLImpl(java.lang.String taskid, java.lang.String userid, java.util.Collection result) throws gran.exception.GranException
ACLAdapter
listUnassignedUserACLImpl
in interface ACLAdapter
gran.exception.GranException
public java.util.HashMap mapAssignableHandlerACLImpl(java.lang.String taskid, java.util.HashMap result) throws gran.exception.GranException
ACLAdapter
mapAssignableHandlerACLImpl
in interface ACLAdapter
gran.exception.GranException
public boolean viewAllowedByACLImpl(java.lang.String taskid, java.lang.String userid, boolean result) throws gran.exception.GranException
ACLAdapter
viewAllowedByACLImpl
in interface ACLAdapter
gran.exception.GranException
public java.util.Collection listAllowedUserImpl(java.lang.String taskid, java.util.Collection result) throws gran.exception.GranException
listAllowedUserImpl
in interface ACLAdapter
gran.exception.GranException
public void deleteUserACLsImpl(java.lang.String taskId, java.lang.String[] userIds) throws gran.exception.GranException
ACLAdapter
deleteUserACLsImpl
in interface ACLAdapter
gran.exception.GranException
public void addUserACLImpl(java.lang.String taskid, java.lang.String userid) throws gran.exception.GranException
addUserACLImpl
in interface ACLAdapter
gran.exception.GranException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |