Table of Contents
Interfaces
- ExtranetUserRepository
Methods
-
add()
: Result
-
deleteById()
: Result
-
deleteByUserId()
: Result
-
getAll()
: ExtranetUserCollection
-
getAllByRole()
: ExtranetUserCollection
-
getAllUserIds()
: array<string|int, mixed>
-
getAllUserIdsByRole()
: array<string|int, mixed>
-
getAllUserIdsByRoles()
: array<string|int, mixed>
-
getById()
: ExtranetUser|null
-
getByUserId()
: ExtranetUser|null
-
update()
: Result
-
upsert()
: Result
add()
public
add(ExtranetUser $extranetUser) : Result
Parameters
-
$extranetUser
: ExtranetUser
-
-
throws
-
Exception
deleteById()
public
deleteById(int $id) : Result
Parameters
-
$id
: int
-
-
throws
-
Exception
deleteByUserId()
public
deleteByUserId(int $userId) : Result
Parameters
-
$userId
: int
-
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
-
throws
-
ArgumentException
getAll()
public
getAll([int $limit = 100 ]) : ExtranetUserCollection
Parameters
-
$limit
: int
= 100
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
getAllByRole()
public
getAllByRole(ExtranetRole $role[, int $limit = 100 ]) : ExtranetUserCollection
Parameters
-
$role
: ExtranetRole
-
-
$limit
: int
= 100
-
-
throws
-
SystemException
-
throws
-
ArgumentException
getAllUserIds()
public
getAllUserIds() : array<string|int, mixed>
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
-
throws
-
ArgumentException
Return values
array<string|int, mixed>
getAllUserIdsByRole()
public
getAllUserIdsByRole(ExtranetRole $role) : array<string|int, mixed>
Parameters
-
$role
: ExtranetRole
-
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
-
throws
-
ArgumentException
Return values
array<string|int, mixed>
getAllUserIdsByRoles()
public
getAllUserIdsByRoles(array<string|int, mixed> $roles) : array<string|int, mixed>
Parameters
-
$roles
: array<string|int, mixed>
-
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
-
throws
-
ArgumentException
Return values
array<string|int, mixed>
getById()
public
getById(int $id) : ExtranetUser|null
Parameters
-
$id
: int
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
getByUserId()
public
getByUserId(int $userId) : ExtranetUser|null
Parameters
-
$userId
: int
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
update()
public
update(ExtranetUser $extranetUser) : Result
Parameters
-
$extranetUser
: ExtranetUser
-
-
throws
-
Exception
upsert()
public
upsert(ExtranetUser $extranetUser) : Result
Parameters
-
$extranetUser
: ExtranetUser
-
-
throws
-
Exception