|
||||||||||
| 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 Adapterpublic 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 SecuredAclAdaptersessionid - the session IDtaskid - the Task IDresult -
GranExceptionSecuredAclBean
public boolean isAllowedImpl(java.lang.String sessionid,
java.lang.String taskid,
java.lang.String userid,
boolean result)
throws GranException
SecuredAclAdapter
isAllowedImpl in interface SecuredAclAdaptersessionid - 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 SecuredAclAdaptersessionid - the session IDtaskid - the Task IDresult -
GranExceptionSecuredUserBean
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 SecuredAclAdaptersessionid - taskid - result -
GranExceptionSecuredUserBean
public void deleteAclImpl(java.lang.String sessionid,
java.lang.String id)
throws GranException
SecuredAclAdapter
deleteAclImpl in interface SecuredAclAdaptersessionid - 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 SecuredAclAdaptersessionId - 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 SecuredAclAdaptersessionid - 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 SecuredAclAdaptersessionid - the session IDtask - the Task IDuserid - the User IDa -
GranExceptionSecuredPrstatusBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||