From f0703cad2ce6894ef2ccbf6a9c3cc93fe3c960b6 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Thu, 25 Mar 2010 22:47:52 +0000
Subject: add get group by name method to IGroupsModule
---
.../Region/Framework/Interfaces/IGroupsModule.cs | 29 +++++++++++++++++++---
1 file changed, 26 insertions(+), 3 deletions(-)
(limited to 'OpenSim/Region/Framework/Interfaces/IGroupsModule.cs')
diff --git a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs
index 8980b2d..368f2cd 100644
--- a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs
@@ -37,6 +37,30 @@ namespace OpenSim.Region.Framework.Interfaces
{
event NewGroupNotice OnNewGroupNotice;
+ ///
+ /// Create a group
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The UUID of the created group
+ UUID CreateGroup(
+ IClientAPI remoteClient, string name, string charter, bool showInList, UUID insigniaID, int membershipFee,
+ bool openEnrollment, bool allowPublish, bool maturePublish);
+
+ ///
+ /// Get a group given its name
+ ///
+ ///
+ /// The group's data. Null if there is no such group.
+ DirGroupsReplyData? GetGroup(string name);
+
void ActivateGroup(IClientAPI remoteClient, UUID groupID);
List GroupTitlesRequest(IClientAPI remoteClient, UUID groupID);
List GroupMembersRequest(IClientAPI remoteClient, UUID groupID);
@@ -50,8 +74,7 @@ namespace OpenSim.Region.Framework.Interfaces
void SetGroupAcceptNotices(IClientAPI remoteClient, UUID groupID, bool acceptNotices, bool listInProfile);
- void GroupTitleUpdate(IClientAPI remoteClient, UUID GroupID, UUID TitleRoleID);
- UUID CreateGroup(IClientAPI remoteClient, string name, string charter, bool showInList, UUID insigniaID, int membershipFee, bool openEnrollment, bool allowPublish, bool maturePublish);
+ void GroupTitleUpdate(IClientAPI remoteClient, UUID GroupID, UUID TitleRoleID);
GroupNoticeData[] GroupNoticesListRequest(IClientAPI remoteClient, UUID GroupID);
string GetGroupTitle(UUID avatarID);
@@ -67,4 +90,4 @@ namespace OpenSim.Region.Framework.Interfaces
GroupRecord GetGroupRecord(UUID GroupID);
void NotifyChange(UUID GroupID);
}
-}
+}
\ No newline at end of file
--
cgit v1.1