29 using System.Collections.Generic;
31 using OpenSim.Framework;
33 namespace OpenSim.Groups
37 UUID CreateGroup(UUID RequestingAgentID,
string name,
string charter,
bool showInList, UUID insigniaID,
int membershipFee,
38 bool openEnrollment,
bool allowPublish,
bool maturePublish, UUID founderID, out
string reason);
39 bool UpdateGroup(
string RequestingAgentID, UUID groupID,
string charter,
bool showInList, UUID insigniaID,
int membershipFee,
40 bool openEnrollment,
bool allowPublish,
bool maturePublish, out
string reason);
41 ExtendedGroupRecord GetGroupRecord(
string RequestingAgentID, UUID GroupID,
string GroupName);
42 List<DirGroupsReplyData> FindGroups(
string RequestingAgentID,
string search);
43 List<GroupMembersData> GetGroupMembers(
string RequestingAgentID, UUID GroupID);
45 bool AddGroupRole(
string RequestingAgentID, UUID groupID, UUID roleID,
string name,
string description,
string title, ulong powers, out
string reason);
46 bool UpdateGroupRole(
string RequestingAgentID, UUID groupID, UUID roleID,
string name,
string description,
string title, ulong powers);
47 void RemoveGroupRole(
string RequestingAgentID, UUID groupID, UUID roleID);
48 List<GroupRolesData> GetGroupRoles(
string RequestingAgentID, UUID GroupID);
49 List<GroupRoleMembersData> GetGroupRoleMembers(
string RequestingAgentID, UUID GroupID);
51 bool AddAgentToGroup(
string RequestingAgentID,
string AgentID, UUID GroupID, UUID RoleID,
string token, out
string reason);
52 void RemoveAgentFromGroup(
string RequestingAgentID,
string AgentID, UUID GroupID);
54 bool AddAgentToGroupInvite(
string RequestingAgentID, UUID inviteID, UUID groupID, UUID roleID,
string agentID);
55 GroupInviteInfo GetAgentToGroupInvite(
string RequestingAgentID, UUID inviteID);
56 void RemoveAgentToGroupInvite(
string RequestingAgentID, UUID inviteID);
58 void AddAgentToGroupRole(
string RequestingAgentID,
string AgentID, UUID GroupID, UUID RoleID);
59 void RemoveAgentFromGroupRole(
string RequestingAgentID,
string AgentID, UUID GroupID, UUID RoleID);
60 List<GroupRolesData> GetAgentGroupRoles(
string RequestingAgentID,
string AgentID, UUID GroupID);
62 void SetAgentActiveGroup(
string RequestingAgentID,
string AgentID, UUID GroupID);
65 void SetAgentActiveGroupRole(
string RequestingAgentID,
string AgentID, UUID GroupID, UUID RoleID);
66 void UpdateMembership(
string RequestingAgentID,
string AgentID, UUID GroupID,
bool AcceptNotices,
bool ListInProfile);
88 List<GroupMembershipData> GetAgentGroupMemberships(
string RequestingAgentID,
string AgentID);
90 bool AddGroupNotice(
string RequestingAgentID, UUID groupID, UUID noticeID,
string fromName,
string subject,
string message,
91 bool hasAttachment, byte attType,
string attName, UUID attItemID,
string attOwnerID);
92 GroupNoticeInfo GetGroupNotice(
string RequestingAgentID, UUID noticeID);
93 List<ExtendedGroupNoticeData> GetGroupNotices(
string RequestingAgentID, UUID GroupID);
99 public UUID GroupID = UUID.Zero;
100 public UUID RoleID = UUID.Zero;
101 public string AgentID = string.Empty;
102 public UUID InviteID = UUID.Zero;
108 public UUID GroupID = UUID.Zero;
109 public string Message = string.Empty;