C# Class Universe.Services.DataService.LocalGroupsServiceConnector

Inheritance: Universe.Framework.Services.ConnectorBase, IGroupsServiceConnector
ファイルを表示 Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
CheckGroupPermissions ( UUID agentID, UUID groupID, ulong permissions ) : bool
Dispose ( ) : void
Initialize ( IGenericData genericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void
UpdateGroupFounder ( UUID groupID, UUID newOwner, bool keepOldOwnerInGroup ) : void

Private Methods

Method Description
AddAgentGroupInvite ( UUID requestingAgentID, UUID inviteID, UUID groupID, UUID roleID, UUID agentID, string fromAgentName ) : void
AddAgentToGroup ( UUID requestingAgentID, UUID agentID, UUID groupID, UUID roleID ) : void
AddAgentToRole ( UUID requestingAgentID, UUID agentID, UUID groupID, UUID roleID ) : void
AddGroupBannedAgent ( UUID requestingAgentID, UUID groupID, List bannedUserID ) : void
AddGroupNotice ( UUID requestingAgentID, UUID groupID, UUID noticeID, string fromName, string subject, string message, UUID itemID, int assetType, string itemName ) : void
AddGroupProposal ( UUID agentID, GroupProposalInfo info ) : void
AddRoleToGroup ( UUID requestingAgentID, UUID groupID, UUID roleID, string nameOf, string description, string title, ulong powers ) : void
CreateGroup ( UUID groupID, string name, string charter, bool showInList, UUID insigniaID, int membershipFee, bool openEnrollment, bool allowPublish, bool maturePublish, UUID founderID, UUID ownerRoleID ) : void
EditGroupNotice ( UUID requestingAgentID, UUID groupID, UUID noticeID, string subject, string message ) : bool
FindGroups ( UUID requestingAgentID, string search, uint start, uint count, uint queryflags ) : List
GetActiveProposals ( UUID agentID, UUID groupID ) : List
GetAgentActiveGroup ( UUID requestingAgentID, UUID agentID ) : UUID
GetAgentGroupMemberData ( UUID requestingAgentID, UUID groupID, UUID agentID ) : GroupMembersData
GetAgentGroupMemberships ( UUID requestingAgentID, UUID AgentID ) : List
GetAgentGroupRoles ( UUID requestingAgentID, UUID agentID, UUID groupID ) : List
GetAgentToGroupInvite ( UUID requestingAgentID, UUID inviteID ) : GroupInviteInfo
GetAllGroups ( UUID requestingAgentID ) : List
GetGroupBannedMembers ( UUID requestingAgentID, UUID groupID ) : List
GetGroupBannedUser ( UUID requestingAgentID, UUID groupID, UUID agentID ) : GroupBannedAgentsData
GetGroupInvites ( UUID requestingAgentID ) : List
GetGroupMembers ( UUID requestingAgentID, UUID groupID ) : List
GetGroupMembershipData ( UUID requestingAgentID, UUID groupID, UUID agentID ) : GroupMembershipData
GetGroupNotice ( UUID requestingAgentID, UUID noticeID ) : GroupNoticeInfo
GetGroupNoticeData ( UUID requestingAgentID, UUID noticeID ) : GroupNoticeData
GetGroupNotices ( UUID requestingAgentID, uint start, uint count, List groupIDList ) : List
GetGroupNotices ( UUID requestingAgentID, uint start, uint count, UUID groupID ) : List
GetGroupProfile ( UUID requestingAgentID, UUID groupID ) : GroupProfileData
GetGroupRecord ( UUID requestingAgentID, UUID groupID, string groupName ) : GroupRecord
GetGroupRecords ( UUID requestingAgentID, List groupIDList ) : List
GetGroupRecords ( UUID requestingAgentID, uint start, uint count, bool>.Dictionary sort, bool>.Dictionary boolFields ) : List
GetGroupRoleMembers ( UUID requestingAgentID, UUID groupID ) : List
GetGroupRoles ( UUID requestingAgentID, UUID groupID ) : List
GetGroupTitles ( UUID requestingAgentID, UUID groupID ) : List
GetHasVoted ( UUID agentID, GroupProposalInfo p ) : string
GetInactiveProposals ( UUID agentID, UUID groupID ) : List
GetMemberGroupProfile ( UUID requestingAgentID, UUID groupID, UUID agentID ) : GroupProfileData
GetNumberOfGroupNotices ( UUID requestingAgentID, List groupIDList ) : uint
GetNumberOfGroupNotices ( UUID requestingAgentID, UUID groupID ) : uint
GetNumberOfGroups ( UUID requestingAgentID, bool>.Dictionary boolFields ) : uint
GroupNoticeQueryResult2GroupNoticeData ( List result ) : GroupNoticeData
GroupRecordQueryResult2GroupRecord ( List result ) : GroupRecord
IsGroup ( UUID groupID ) : bool
IsGroupBannedUser ( UUID groupID, UUID agentID ) : bool
RemoveAgentFromGroup ( UUID requestingAgentID, UUID agentID, UUID groupID ) : bool
RemoveAgentFromRole ( UUID requestingAgentID, UUID agentID, UUID groupID, UUID roleID ) : void
RemoveAgentInvite ( UUID requestingAgentID, UUID inviteID ) : void
RemoveGroupBannedAgent ( UUID requestingAgentID, UUID groupID, List bannedUserID ) : void
RemoveGroupNotice ( UUID requestingAgentID, UUID groupID, UUID noticeID ) : bool
RemoveRoleFromGroup ( UUID requestingAgentID, UUID roleID, UUID groupID ) : void
SetAgentActiveGroup ( UUID agentID, UUID groupID ) : string
SetAgentGroupInfo ( UUID requestingAgentID, UUID agentID, UUID groupID, int acceptNotices, int listInProfile ) : void
SetAgentGroupSelectedRole ( UUID agentID, UUID groupID, UUID roleID ) : string
UpdateGroup ( UUID requestingAgentID, UUID groupID, string charter, int showInList, UUID insigniaID, int membershipFee, int openEnrollment, int allowPublish, int maturePublish ) : void
UpdateRole ( UUID requestingAgentID, UUID groupID, UUID roleID, string nameOf, string desc, string roleTitle, ulong powers ) : void
VerifySystemGroup ( string grpName, UUID grpUUID, UUID grpOwnerUUID, string grpCharter ) : void

Verify existence of and create a system group if required.

VoteOnActiveProposals ( UUID agentID, UUID groupID, UUID proposalID, string vote ) : void

Method Details

CheckGroupPermissions() public method

public CheckGroupPermissions ( UUID agentID, UUID groupID, ulong permissions ) : bool
agentID UUID
groupID UUID
permissions ulong
return bool

Dispose() public method

public Dispose ( ) : void
return void

Initialize() public method

public Initialize ( IGenericData genericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void
genericData IGenericData
source IConfigSource
simBase IRegistryCore
defaultConnectionString string
return void

UpdateGroupFounder() public method

public UpdateGroupFounder ( UUID groupID, UUID newOwner, bool keepOldOwnerInGroup ) : void
groupID UUID
newOwner UUID
keepOldOwnerInGroup bool
return void