|
||||||||||
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(SessionContext sc,
java.lang.String taskId,
java.lang.String toUserId,
java.lang.String userId,
java.lang.String groupId)
Creates an Acl. |
void |
deleteAclImpl(SessionContext sc,
java.lang.String aclId)
Deletes specified Acl. |
java.util.ArrayList |
getAclListImpl(SessionContext sc,
java.lang.String taskId,
java.util.ArrayList result)
Returns list of Acl for specified Task and it's children. |
java.util.ArrayList |
getAllowedGroupsImpl(SessionContext sc,
java.lang.String taskId,
java.util.ArrayList result)
|
java.util.ArrayList |
getAllowedPrstatusListImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String userId,
java.util.ArrayList result)
Returns list of Prstatus that's allowed for specified Task and User. |
java.util.ArrayList |
getAssignedUserListImpl(SessionContext sc,
java.lang.String userkId,
java.util.ArrayList result)
|
java.lang.String |
getDescription()
Get description of adapter as plain text |
java.util.ArrayList |
getGroupAclListImpl(SessionContext sc,
java.lang.String prstatusId,
java.util.ArrayList result)
|
java.util.ArrayList |
getHandlerForFilterImpl(SessionContext sc,
java.lang.String userId,
java.util.ArrayList result)
|
java.util.Map |
getStatusesForTaskFilterImpl(SessionContext sc,
java.lang.String userId,
java.util.Map result)
|
java.util.ArrayList |
getTaskListImpl(SessionContext sc,
java.lang.String userkId,
java.util.ArrayList result)
|
java.util.ArrayList |
getUserAclListImpl(SessionContext sc,
java.lang.String userId,
java.util.ArrayList result)
|
java.util.ArrayList |
getUserAllowedPrstatusListImpl(SessionContext sc,
java.lang.String toUserId,
java.lang.String userId,
java.util.ArrayList result)
|
java.util.ArrayList |
getUserEffectiveStatusesListImpl(SessionContext sc,
java.lang.String userId,
java.util.ArrayList result)
|
java.util.ArrayList |
getUserListImpl(SessionContext sc,
java.lang.String taskId,
java.util.ArrayList result)
|
boolean |
init()
Initialize adapter. |
void |
pasteAclsImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String[] aclIds,
java.lang.String operation)
|
void |
updateAclImpl(SessionContext sc,
java.lang.String aclId,
java.lang.String prstatusId,
boolean 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(SessionContext sc, java.lang.String taskId, java.util.ArrayList result) throws GranException
SecuredAclAdapter
getAclListImpl
in interface SecuredAclAdapter
sc
- taskId
- the Task IDresult
-
GranException
SecuredAclBean
public java.util.ArrayList getUserAclListImpl(SessionContext sc, java.lang.String userId, java.util.ArrayList result) throws GranException
getUserAclListImpl
in interface SecuredAclAdapter
GranException
public java.util.ArrayList getHandlerForFilterImpl(SessionContext sc, java.lang.String userId, java.util.ArrayList result) throws GranException
getHandlerForFilterImpl
in interface SecuredAclAdapter
GranException
public java.util.Map getStatusesForTaskFilterImpl(SessionContext sc, java.lang.String userId, java.util.Map result) throws GranException
getStatusesForTaskFilterImpl
in interface SecuredAclAdapter
GranException
public void deleteAclImpl(SessionContext sc, java.lang.String aclId) throws GranException
SecuredAclAdapter
deleteAclImpl
in interface SecuredAclAdapter
sc
- the session IDaclId
- the Acl ID
GranException
public java.lang.String createAclImpl(SessionContext sc, java.lang.String taskId, java.lang.String toUserId, java.lang.String userId, java.lang.String groupId) throws GranException
SecuredAclAdapter
createAclImpl
in interface SecuredAclAdapter
sc
- the Session identifiertaskId
- the Task identifieruserId
- the User identifier
GranException
public void updateAclImpl(SessionContext sc, java.lang.String aclId, java.lang.String prstatusId, boolean override) throws GranException
SecuredAclAdapter
updateAclImpl
in interface SecuredAclAdapter
sc
- aclId
- the Acl IDprstatusId
- the Prstatus ID
GranException
public java.util.ArrayList getAllowedPrstatusListImpl(SessionContext sc, java.lang.String taskId, java.lang.String userId, java.util.ArrayList result) throws GranException
SecuredAclAdapter
getAllowedPrstatusListImpl
in interface SecuredAclAdapter
sc
- taskId
- the Task IDuserId
- the User IDresult
-
GranException
SecuredPrstatusBean
public java.util.ArrayList getUserAllowedPrstatusListImpl(SessionContext sc, java.lang.String toUserId, java.lang.String userId, java.util.ArrayList result) throws GranException
getUserAllowedPrstatusListImpl
in interface SecuredAclAdapter
GranException
public java.util.ArrayList getUserListImpl(SessionContext sc, java.lang.String taskId, java.util.ArrayList result) throws GranException
getUserListImpl
in interface SecuredAclAdapter
GranException
public java.util.ArrayList getUserEffectiveStatusesListImpl(SessionContext sc, java.lang.String userId, java.util.ArrayList result) throws GranException
getUserEffectiveStatusesListImpl
in interface SecuredAclAdapter
GranException
public java.util.ArrayList getTaskListImpl(SessionContext sc, java.lang.String userkId, java.util.ArrayList result) throws GranException
getTaskListImpl
in interface SecuredAclAdapter
GranException
public java.util.ArrayList getAssignedUserListImpl(SessionContext sc, java.lang.String userkId, java.util.ArrayList result) throws GranException
getAssignedUserListImpl
in interface SecuredAclAdapter
GranException
public java.util.ArrayList getGroupAclListImpl(SessionContext sc, java.lang.String prstatusId, java.util.ArrayList result) throws GranException
getGroupAclListImpl
in interface SecuredAclAdapter
GranException
public void pasteAclsImpl(SessionContext sc, java.lang.String taskId, java.lang.String[] aclIds, java.lang.String operation) throws GranException
pasteAclsImpl
in interface SecuredAclAdapter
GranException
public java.util.ArrayList getAllowedGroupsImpl(SessionContext sc, java.lang.String taskId, java.util.ArrayList result) throws GranException
getAllowedGroupsImpl
in interface SecuredAclAdapter
GranException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |