|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for our PolicyService delegate. This mirrors the PolicyService interface, without the RemoteExceptions.
| Method Summary | |
org.astrogrid.community.common.policy.data.PolicyCredentials |
checkMembership(org.astrogrid.community.common.policy.data.PolicyCredentials credentials)
Confirm membership. |
org.astrogrid.community.common.policy.data.PolicyPermission |
checkPermissions(org.astrogrid.community.common.policy.data.PolicyCredentials credentials,
java.lang.String resource,
java.lang.String action)
Confirm permissions. |
| Methods inherited from interface org.astrogrid.community.client.service.CommunityServiceDelegate |
getServiceStatus |
| Method Detail |
public org.astrogrid.community.common.policy.data.PolicyPermission checkPermissions(org.astrogrid.community.common.policy.data.PolicyCredentials credentials,
java.lang.String resource,
java.lang.String action)
throws org.astrogrid.community.common.exception.CommunityServiceException,
org.astrogrid.community.common.exception.CommunityPolicyException,
org.astrogrid.community.common.exception.CommunityIdentifierException
credentials - The credentials, containing the account and group identifiers.resource - The resource identifier.action - The action you want to perform.
org.astrogrid.community.common.exception.CommunityIdentifierException - If one of the identifiers is invalid.
org.astrogrid.community.common.exception.CommunityPolicyException - If there is no matching permission.
org.astrogrid.community.common.exception.CommunityServiceException - If there is an internal error in the service.
public org.astrogrid.community.common.policy.data.PolicyCredentials checkMembership(org.astrogrid.community.common.policy.data.PolicyCredentials credentials)
throws org.astrogrid.community.common.exception.CommunityServiceException,
org.astrogrid.community.common.exception.CommunityPolicyException,
org.astrogrid.community.common.exception.CommunityIdentifierException
credentials - The credentials, containing the account and group identifiers.
org.astrogrid.community.common.exception.CommunityIdentifierException - If one of the identifiers is invalid.
org.astrogrid.community.common.exception.CommunityPolicyException - If there is no matching permission.
org.astrogrid.community.common.exception.CommunityServiceException - If there is an internal error in the service.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||