org.astrogrid.community.client.policy.manager
Interface GroupMemberManagerDelegate

All Superinterfaces:
CommunityServiceDelegate
All Known Subinterfaces:
PolicyManagerDelegate
All Known Implementing Classes:
PolicyManagerCoreDelegate, PolicyManagerMockDelegate, PolicyManagerSoapDelegate

public interface GroupMemberManagerDelegate
extends CommunityServiceDelegate

Interface for our GroupManager delegate. This mirrors the GroupManager interface, without the RemoteExceptions.


Method Summary
 org.astrogrid.community.common.policy.data.GroupMemberData addGroupMember(java.lang.String account, java.lang.String group)
          Add a new Group.
 org.astrogrid.community.common.policy.data.GroupMemberData delGroupMember(java.lang.String account, java.lang.String group)
          Add a new Group.
 org.astrogrid.community.common.policy.data.GroupMemberData getGroupMember(java.lang.String account, java.lang.String group)
          Request a Group details.
 java.lang.Object[] getGroupMembers()
          Request a Group details.
 java.lang.Object[] getGroupMembers(java.lang.String group)
          Request a Group details.
 
Methods inherited from interface org.astrogrid.community.client.service.CommunityServiceDelegate
getServiceStatus
 

Method Detail

addGroupMember

public org.astrogrid.community.common.policy.data.GroupMemberData addGroupMember(java.lang.String account,
                                                                                 java.lang.String group)
                                                                          throws org.astrogrid.community.common.exception.CommunityServiceException,
                                                                                 org.astrogrid.community.common.exception.CommunityIdentifierException,
                                                                                 org.astrogrid.community.common.exception.CommunityPolicyException
Add a new Group.

Returns:
A GroupData for the Group.
Throws:
org.astrogrid.community.common.exception.CommunityIdentifierException - If the identifier is not valid.
org.astrogrid.community.common.exception.CommunityPolicyException - If the identifier is already in the database.
org.astrogrid.community.common.exception.CommunityServiceException - If there is an internal error in the service.

delGroupMember

public org.astrogrid.community.common.policy.data.GroupMemberData delGroupMember(java.lang.String account,
                                                                                 java.lang.String group)
                                                                          throws org.astrogrid.community.common.exception.CommunityServiceException,
                                                                                 org.astrogrid.community.common.exception.CommunityIdentifierException,
                                                                                 org.astrogrid.community.common.exception.CommunityPolicyException
Add a new Group.

Returns:
A new GroupData for the Group.
Throws:
org.astrogrid.community.common.exception.CommunityIdentifierException - If the identifier is not valid.
org.astrogrid.community.common.exception.CommunityPolicyException - If the identifier is already in the database.
org.astrogrid.community.common.exception.CommunityServiceException - If there is an internal error in the service.

getGroupMembers

public java.lang.Object[] getGroupMembers(java.lang.String group)
                                   throws org.astrogrid.community.common.exception.CommunityServiceException,
                                          org.astrogrid.community.common.exception.CommunityIdentifierException,
                                          org.astrogrid.community.common.exception.CommunityPolicyException
Request a Group details.

Returns:
A GroupData for the Group.
Throws:
org.astrogrid.community.common.exception.CommunityIdentifierException - If the identifier is not valid.
org.astrogrid.community.common.exception.CommunityPolicyException - If the identifier is not in the database.
org.astrogrid.community.common.exception.CommunityServiceException - If there is an internal error in the service.

getGroupMembers

public java.lang.Object[] getGroupMembers()
                                   throws org.astrogrid.community.common.exception.CommunityServiceException,
                                          org.astrogrid.community.common.exception.CommunityIdentifierException,
                                          org.astrogrid.community.common.exception.CommunityPolicyException
Request a Group details.

Returns:
A GroupData for the Group.
Throws:
org.astrogrid.community.common.exception.CommunityIdentifierException - If the identifier is not valid.
org.astrogrid.community.common.exception.CommunityPolicyException - If the identifier is not in the database.
org.astrogrid.community.common.exception.CommunityServiceException - If there is an internal error in the service.

getGroupMember

public org.astrogrid.community.common.policy.data.GroupMemberData getGroupMember(java.lang.String account,
                                                                                 java.lang.String group)
                                                                          throws org.astrogrid.community.common.exception.CommunityServiceException,
                                                                                 org.astrogrid.community.common.exception.CommunityIdentifierException,
                                                                                 org.astrogrid.community.common.exception.CommunityPolicyException
Request a Group details.

Returns:
A GroupData for the Group.
Throws:
org.astrogrid.community.common.exception.CommunityIdentifierException - If the identifier is not valid.
org.astrogrid.community.common.exception.CommunityPolicyException - If the identifier is not in the database.
org.astrogrid.community.common.exception.CommunityServiceException - If there is an internal error in the service.


Copyright © 2002-2007 AstroGrid. All Rights Reserved.