|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.astrogrid.community.client.service.CommunityServiceCoreDelegate
org.astrogrid.community.client.policy.service.PolicyServiceCoreDelegate
The core delegate for our PolicyService service. This acts as a wrapper for a PolicyService service, and converts RemoteExceptions into CommunityServiceException.
| Constructor Summary | |
PolicyServiceCoreDelegate()
Public constructor. |
|
| 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. |
protected org.astrogrid.community.common.policy.service.PolicyService |
getPolicyService()
Get a reference to our PolicyService service. |
protected void |
setPolicyService(org.astrogrid.community.common.policy.service.PolicyService service)
Set our our PolicyService service. |
| Methods inherited from class org.astrogrid.community.client.service.CommunityServiceCoreDelegate |
getCommunityService, getServiceStatus, identifierException, policyException, resourceException, securityException, serviceException, setCommunityService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.astrogrid.community.common.service.CommunityService |
getServiceStatus |
| Methods inherited from interface org.astrogrid.community.client.service.CommunityServiceDelegate |
getServiceStatus |
| Constructor Detail |
public PolicyServiceCoreDelegate()
| Method Detail |
protected org.astrogrid.community.common.policy.service.PolicyService getPolicyService()
protected void setPolicyService(org.astrogrid.community.common.policy.service.PolicyService service)
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
checkPermissions in interface org.astrogrid.community.common.policy.service.PolicyServicecredentials - 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
checkMembership in interface org.astrogrid.community.common.policy.service.PolicyServicecredentials - 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 | ||||||||||