|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgran.app.adapter.external.acl.BaseSecuredAclAdapter
Constructor Summary | |
BaseSecuredAclAdapter()
|
Method Summary | |
java.lang.String |
createAclImpl(java.lang.String sessionId,
java.lang.String taskId,
java.lang.String userId)
Creates an Acl. |
void |
deleteAclImpl(java.lang.String sessionid,
java.lang.String id)
Deletes specified Acl. |
java.util.ArrayList |
getAclListImpl(java.lang.String sessionid,
java.lang.String taskid,
java.util.ArrayList result)
Returns list of Acl for specified Task and it's children. |
java.util.ArrayList |
getAllowedPrstatusListImpl(java.lang.String sessionid,
java.lang.String task,
java.lang.String userid,
java.util.ArrayList a)
Returns list of Prstatus that's allowed for specified Task and User. |
java.util.ArrayList |
getAllowedUserListImpl(java.lang.String sessionid,
java.lang.String taskid,
java.util.ArrayList result)
Returns list of User that's allowed for specified Task. |
java.lang.String |
getDescription()
Get description of adapter as plain text |
java.util.ArrayList |
getViewableUserListImpl(java.lang.String sessionid,
java.lang.String taskid,
boolean active,
java.util.ArrayList result)
Returns a list of all users, who has any access to any subtask of specified task |
boolean |
init()
Initialize adapter. |
boolean |
isAllowedImpl(java.lang.String sessionid,
java.lang.String taskid,
java.lang.String userid,
boolean result)
Checks Acl for specified User and Task. |
void |
updateAclImpl(java.lang.String sessionid,
java.lang.String aclid,
java.lang.String prstatusid,
java.lang.Integer override)
Updates specified Acl. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaseSecuredAclAdapter()
Method Detail |
public boolean init()
Adapter
init
in interface Adapter
public java.lang.String getDescription()
Adapter
getDescription
in interface Adapter
public java.util.ArrayList getAclListImpl(java.lang.String sessionid, java.lang.String taskid, java.util.ArrayList result) throws GranException
SecuredAclAdapter
getAclListImpl
in interface SecuredAclAdapter
sessionid
- the session IDtaskid
- the Task IDresult
-
GranException
SecuredAclBean
public boolean isAllowedImpl(java.lang.String sessionid, java.lang.String taskid, java.lang.String userid, boolean result) throws GranException
SecuredAclAdapter
isAllowedImpl
in interface SecuredAclAdapter
sessionid
- the session IDtaskid
- the Task IDuserid
- the User IDresult
-
GranException
public java.util.ArrayList getAllowedUserListImpl(java.lang.String sessionid, java.lang.String taskid, java.util.ArrayList result) throws GranException
SecuredAclAdapter
getAllowedUserListImpl
in interface SecuredAclAdapter
sessionid
- the session IDtaskid
- the Task IDresult
-
GranException
SecuredUserBean
public java.util.ArrayList getViewableUserListImpl(java.lang.String sessionid, java.lang.String taskid, boolean active, java.util.ArrayList result) throws GranException
SecuredAclAdapter
getViewableUserListImpl
in interface SecuredAclAdapter
sessionid
- taskid
- result
-
GranException
SecuredUserBean
public void deleteAclImpl(java.lang.String sessionid, java.lang.String id) throws GranException
SecuredAclAdapter
deleteAclImpl
in interface SecuredAclAdapter
sessionid
- the session IDid
- the Acl ID
GranException
public java.lang.String createAclImpl(java.lang.String sessionId, java.lang.String taskId, java.lang.String userId) throws GranException
SecuredAclAdapter
createAclImpl
in interface SecuredAclAdapter
sessionId
- the Session identifiertaskId
- the Task identifieruserId
- the User identifier
GranException
public void updateAclImpl(java.lang.String sessionid, java.lang.String aclid, java.lang.String prstatusid, java.lang.Integer override) throws GranException
SecuredAclAdapter
updateAclImpl
in interface SecuredAclAdapter
sessionid
- the session IDaclid
- the Acl IDprstatusid
- the Prstatus ID
GranException
public java.util.ArrayList getAllowedPrstatusListImpl(java.lang.String sessionid, java.lang.String task, java.lang.String userid, java.util.ArrayList a) throws GranException
SecuredAclAdapter
getAllowedPrstatusListImpl
in interface SecuredAclAdapter
sessionid
- the session IDtask
- the Task IDuserid
- the User IDa
-
GranException
SecuredPrstatusBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |