Table of Contents

Interface IContactSearch

Namespace
InSite.Application.Contacts.Read
Assembly
Shift.Sdk.dll
public interface IContactSearch
Extension Methods

Methods

BindFirstPerson<T>(Expression<Func<VPerson, T>>, Expression<Func<VPerson, bool>>, string, string)

T BindFirstPerson<T>(Expression<Func<VPerson, T>> binder, Expression<Func<VPerson, bool>> filter, string modelSort = null, string entitySort = null)

Parameters

binder Expression<Func<VPerson, T>>
filter Expression<Func<VPerson, bool>>
modelSort string
entitySort string

Returns

T

Type Parameters

T

BindFirst<T>(Expression<Func<VUser, T>>, Expression<Func<VUser, bool>>, string, string)

T BindFirst<T>(Expression<Func<VUser, T>> binder, Expression<Func<VUser, bool>> filter, string modelSort = null, string entitySort = null)

Parameters

binder Expression<Func<VUser, T>>
filter Expression<Func<VUser, bool>>
modelSort string
entitySort string

Returns

T

Type Parameters

T

BindPerson<T>(Expression<Func<VPerson, T>>, Expression<Func<VPerson, bool>>, Paging, string, string)

T[] BindPerson<T>(Expression<Func<VPerson, T>> binder, Expression<Func<VPerson, bool>> filter, Paging paging, string modelSort = null, string entitySort = null)

Parameters

binder Expression<Func<VPerson, T>>
filter Expression<Func<VPerson, bool>>
paging Paging
modelSort string
entitySort string

Returns

T[]

Type Parameters

T

BindPerson<T>(Expression<Func<VPerson, T>>, Expression<Func<VPerson, bool>>, string, string)

T[] BindPerson<T>(Expression<Func<VPerson, T>> binder, Expression<Func<VPerson, bool>> filter, string modelSort = null, string entitySort = null)

Parameters

binder Expression<Func<VPerson, T>>
filter Expression<Func<VPerson, bool>>
modelSort string
entitySort string

Returns

T[]

Type Parameters

T

Bind<T>(Expression<Func<VUser, T>>, QUserFilter)

T[] Bind<T>(Expression<Func<VUser, T>> binder, QUserFilter filter)

Parameters

binder Expression<Func<VUser, T>>
filter QUserFilter

Returns

T[]

Type Parameters

T

Bind<T>(Expression<Func<VUser, T>>, Expression<Func<VUser, bool>>, Paging, string, string)

T[] Bind<T>(Expression<Func<VUser, T>> binder, Expression<Func<VUser, bool>> filter, Paging paging, string modelSort = null, string entitySort = null)

Parameters

binder Expression<Func<VUser, T>>
filter Expression<Func<VUser, bool>>
paging Paging
modelSort string
entitySort string

Returns

T[]

Type Parameters

T

Bind<T>(Expression<Func<VUser, T>>, Expression<Func<VUser, bool>>, string, string)

T[] Bind<T>(Expression<Func<VUser, T>> binder, Expression<Func<VUser, bool>> filter, string modelSort = null, string entitySort = null)

Parameters

binder Expression<Func<VUser, T>>
filter Expression<Func<VUser, bool>>
modelSort string
entitySort string

Returns

T[]

Type Parameters

T

Count(QUserFilter)

int Count(QUserFilter filter)

Parameters

filter QUserFilter

Returns

int

GetAddress(Guid)

VAddress GetAddress(Guid address)

Parameters

address Guid

Returns

VAddress

GetEmailAddress(Guid, Guid)

EmailAddress GetEmailAddress(Guid user, Guid organization)

Parameters

user Guid
organization Guid

Returns

EmailAddress

GetEmailAddresses(IEnumerable<Guid>, Guid)

EmailAddress[] GetEmailAddresses(IEnumerable<Guid> users, Guid organization)

Parameters

users IEnumerable<Guid>
organization Guid

Returns

EmailAddress[]

GetGroup(Guid)

VGroup GetGroup(Guid group)

Parameters

group Guid

Returns

VGroup

GetHolidays()

List<DateTimeOffset> GetHolidays()

Returns

List<DateTimeOffset>

GetPerson(Guid, Guid)

VPerson GetPerson(Guid user, Guid organization)

Parameters

user Guid
organization Guid

Returns

VPerson

GetPersonByCode(string, Guid)

VPerson GetPersonByCode(string code, Guid organization)

Parameters

code string
organization Guid

Returns

VPerson

GetPersonLanguage(Guid, Guid)

string GetPersonLanguage(Guid user, Guid organization)

Parameters

user Guid
organization Guid

Returns

string

GetPersons(IEnumerable<Guid>, Guid)

VPerson[] GetPersons(IEnumerable<Guid> users, Guid organization)

Parameters

users IEnumerable<Guid>
organization Guid

Returns

VPerson[]

GetUser(Guid)

VUser GetUser(Guid user)

Parameters

user Guid

Returns

VUser