Table of Contents

Class GroupAggregate

Namespace
InSite.Domain.Contacts
Assembly
Shift.Sdk.dll
public class GroupAggregate : AggregateRoot
Inheritance
GroupAggregate
Inherited Members
Extension Methods

Constructors

GroupAggregate()

public GroupAggregate()

Properties

Data

public GroupState Data { get; }

Property Value

GroupState

Methods

AddGroupTag(string)

public void AddGroupTag(string tag)

Parameters

tag string

ChangeGroupAddress(AddressType, GroupAddress)

public void ChangeGroupAddress(AddressType type, GroupAddress address)

Parameters

type AddressType
address GroupAddress

ChangeGroupCapacity(int?)

public void ChangeGroupCapacity(int? capacity)

Parameters

capacity int?

ChangeGroupEmail(string)

public void ChangeGroupEmail(string email)

Parameters

email string

ChangeGroupExpiry(DateTimeOffset?)

public void ChangeGroupExpiry(DateTimeOffset? expiry)

Parameters

expiry DateTimeOffset?

ChangeGroupImage(string)

public void ChangeGroupImage(string image)

Parameters

image string

ChangeGroupIndustry(string, string)

public void ChangeGroupIndustry(string industry, string industryComment)

Parameters

industry string
industryComment string

ChangeGroupLifetime(int?, string)

public void ChangeGroupLifetime(int? quantity, string unit)

Parameters

quantity int?
unit string

ChangeGroupLocation(string, string, string, string)

public void ChangeGroupLocation(string office, string region, string shippingPreference, string webSiteUrl)

Parameters

office string
region string
shippingPreference string
webSiteUrl string

ChangeGroupParent(Guid?)

public void ChangeGroupParent(Guid? parent)

Parameters

parent Guid?

ChangeGroupPhone(string)

public void ChangeGroupPhone(string phone)

Parameters

phone string

ChangeGroupSettings(bool, bool)

public void ChangeGroupSettings(bool addNewUsersAutomatically, bool allowSelfSubscription)

Parameters

addNewUsersAutomatically bool
allowSelfSubscription bool

ChangeGroupSize(string)

public void ChangeGroupSize(string size)

Parameters

size string

ChangeGroupSurvey(Guid?, Necessity)

public void ChangeGroupSurvey(Guid? survey, Necessity necessity)

Parameters

survey Guid?
necessity Necessity

ChangeGroupURL(string)

public void ChangeGroupURL(string url)

Parameters

url string

ChangeSocialMediaUrl(string, string)

public void ChangeSocialMediaUrl(string type, string url)

Parameters

type string
url string

ConfigureGroupNotifications(Guid?, Guid?, Guid?, Guid?, Guid?)

public void ConfigureGroupNotifications(Guid? messageToAdminWhenEventVenueChanged, Guid? messageToAdminWhenMembershipEnded, Guid? messageToAdminWhenMembershipStarted, Guid? messageToUserWhenMembershipEnded, Guid? messageToUserWhenMembershipStarted)

Parameters

messageToAdminWhenEventVenueChanged Guid?
messageToAdminWhenMembershipEnded Guid?
messageToAdminWhenMembershipStarted Guid?
messageToUserWhenMembershipEnded Guid?
messageToUserWhenMembershipStarted Guid?

ConnectGroup(Guid, ConnectionType)

public void ConnectGroup(Guid container, ConnectionType connectionType)

Parameters

container Guid
connectionType ConnectionType

CreateGroup(Guid, string, string)

public void CreateGroup(Guid organization, string type, string name)

Parameters

organization Guid
type string
name string

CreateState()

Every aggregate must override this method to create the object that holds its current state.

public override AggregateState CreateState()

Returns

AggregateState

DeleteGroup(string)

public void DeleteGroup(string reason)

Parameters

reason string

DescribeGroup(string, string, string, string)

public void DescribeGroup(string category, string code, string description, string label)

Parameters

category string
code string
description string
label string

DisconnectGroup(Guid)

public void DisconnectGroup(Guid group)

Parameters

group Guid

ExpireGroup(DateTimeOffset)

public void ExpireGroup(DateTimeOffset expiry)

Parameters

expiry DateTimeOffset
public void ModifyAllowJoinGroupUsingLink(bool allowJoinGroupUsingLink)

Parameters

allowJoinGroupUsingLink bool

ModifyGroupMembershipProduct(Guid?)

public void ModifyGroupMembershipProduct(Guid? membershipProduct)

Parameters

membershipProduct Guid?

ModifyGroupOnlyOperatorCanAddUser(bool)

public void ModifyGroupOnlyOperatorCanAddUser(bool onlyOperatorCanAddUser)

Parameters

onlyOperatorCanAddUser bool

ModifyGroupStatus(Guid?)

public void ModifyGroupStatus(Guid? statusId)

Parameters

statusId Guid?

RemoveGroupTag(string)

public void RemoveGroupTag(string tag)

Parameters

tag string

RenameGroup(string, string)

public void RenameGroup(string type, string name)

Parameters

type string
name string