IssuesCollection
extends BaseCollection
Table of Contents
-
$objectType
: string
-
__construct()
: mixed
-
addMonitoringObjects()
: void
-
addRelatedObject()
: void
-
addRelatedObjects()
: void
-
addToMilestone()
: void
-
calcMaxIssueNumber()
: int
-
deleteByIds()
: void
-
deleteComment()
: void
-
findByIdAndOrganizationId()
: IssueEntity|null
-
findByIdAndOrganizationIdAndProjectId()
: IssueEntity|null
-
findByIds()
: array<string|int, IssueEntity>
-
findByRegexInNameOrNumberAndByAssign()
: iteratable<string|int, mixed>
-
findByRelatedObjectAndMonitoringObjects()
: array<string|int, mixed>
-
findOneByCommentId()
: IssueEntity|null
-
removeAssignById()
: void
-
removeDeletedObjectsFromMonitoring()
: void
-
removeFromParentsAndChildren()
: void
-
removeFromParentsAndChildrenMulti()
: void
-
removeLastAssignById()
: void
-
removeNotificationSenderFromIssues()
: void
-
removeObserverById()
: void
-
removePriority()
: void
-
removeRelatedObjects()
: void
-
replaceStatusId()
: void
-
unsetMonitoringByDataSetId()
: void
-
unsetMonitoringByDepartmentId()
: void
-
unsetMonitoringObjectsByDataSetId()
: void
-
unsetRelatedObjects()
: void
-
unsetRelatedObjectsByDataSetId()
: void
-
unsetRoutes()
: void
$objectType
protected
string
$objectType
= \Airlay\Library\Entities\IssueEntity::class
__construct()
public
__construct() : mixed
Return values
mixed
—
addMonitoringObjects()
public
addMonitoringObjects(IssueEntity $issue, array<string|int, mixed> $createdObjects) : void
Parameters
-
$issue
: IssueEntity
-
-
$createdObjects
: array<string|int, mixed>
-
Return values
void
—
public
addRelatedObject(ObjectId $id, ObjectId $relatedObject) : void
Parameters
-
$id
: ObjectId
-
-
$relatedObject
: ObjectId
-
Return values
void
—
public
addRelatedObjects(ObjectId $id, array<string|int, mixed> $relatedObjects) : void
Parameters
-
$id
: ObjectId
-
-
$relatedObjects
: array<string|int, mixed>
-
Return values
void
—
addToMilestone()
public
addToMilestone(ObjectId $id, ObjectId $milestoneId) : void
Parameters
-
$id
: ObjectId
-
-
$milestoneId
: ObjectId
-
Return values
void
—
calcMaxIssueNumber()
public
calcMaxIssueNumber(ObjectId $organizationId) : int
Parameters
-
$organizationId
: ObjectId
-
Return values
int
—
deleteByIds()
public
deleteByIds(array<string|int, ObjectId> $ids) : void
Parameters
-
$ids
: array<string|int, ObjectId>
-
Return values
void
—
public
deleteComment(ObjectId $commentId) : void
Parameters
-
$commentId
: ObjectId
-
Return values
void
—
findByIdAndOrganizationId()
public
findByIdAndOrganizationId(ObjectId $id, ObjectId $organizationId) : IssueEntity|null
Parameters
-
$id
: ObjectId
-
-
$organizationId
: ObjectId
-
Return values
IssueEntity|null
—
findByIdAndOrganizationIdAndProjectId()
public
findByIdAndOrganizationIdAndProjectId(ObjectId $id, ObjectId $organizationId, ObjectId $projectId) : IssueEntity|null
Parameters
-
$id
: ObjectId
-
-
$organizationId
: ObjectId
-
-
$projectId
: ObjectId
-
Return values
IssueEntity|null
—
findByIds()
public
findByIds(array<string|int, ObjectId> $ids) : array<string|int, IssueEntity>
Parameters
-
$ids
: array<string|int, ObjectId>
-
Return values
array<string|int, IssueEntity>
—
findByRegexInNameOrNumberAndByAssign()
public
findByRegexInNameOrNumberAndByAssign(string $query, ObjectId|null $projectId, array<string|int, mixed>|null $assignIds) : iteratable<string|int, mixed>
Parameters
-
$query
: string
-
-
$projectId
: ObjectId|null
-
-
$assignIds
: array<string|int, mixed>|null
-
Return values
iteratable<string|int, mixed>
—
public
findByRelatedObjectAndMonitoringObjects(ObjectId $objectId) : array<string|int, mixed>
Parameters
-
$objectId
: ObjectId
-
Return values
array<string|int, mixed>
—
public
findOneByCommentId(ObjectId $commentId) : IssueEntity|null
Parameters
-
$commentId
: ObjectId
-
Return values
IssueEntity|null
—
removeAssignById()
public
removeAssignById(ObjectId $id) : void
Parameters
-
$id
: ObjectId
-
Return values
void
—
removeDeletedObjectsFromMonitoring()
public
removeDeletedObjectsFromMonitoring(IssueEntity $issue, array<string|int, mixed> $deletedObjects) : void
Parameters
-
$issue
: IssueEntity
-
-
$deletedObjects
: array<string|int, mixed>
-
Return values
void
—
removeFromParentsAndChildren()
public
removeFromParentsAndChildren(ObjectId $id) : void
Parameters
-
$id
: ObjectId
-
Return values
void
—
removeFromParentsAndChildrenMulti()
public
removeFromParentsAndChildrenMulti(array<string|int, ObjectId> $ids) : void
Parameters
-
$ids
: array<string|int, ObjectId>
-
Return values
void
—
removeLastAssignById()
public
removeLastAssignById(ObjectId $id) : void
Parameters
-
$id
: ObjectId
-
Return values
void
—
removeNotificationSenderFromIssues()
public
removeNotificationSenderFromIssues(ObjectId $notificationSenderId) : void
Parameters
-
$notificationSenderId
: ObjectId
-
Return values
void
—
removeObserverById()
public
removeObserverById(ObjectId $id) : void
Parameters
-
$id
: ObjectId
-
Return values
void
—
removePriority()
public
removePriority(ObjectId $priorityId) : void
Parameters
-
$priorityId
: ObjectId
-
Return values
void
—
public
removeRelatedObjects(array<string|int, mixed> $issues, array<string|int, mixed> $deletedObjects) : void
Parameters
-
$issues
: array<string|int, mixed>
-
-
$deletedObjects
: array<string|int, mixed>
-
Return values
void
—
replaceStatusId()
public
replaceStatusId(ObjectId|null $oldStatusId, ObjectId|null $newStatusId) : void
Parameters
-
$oldStatusId
: ObjectId|null
-
-
$newStatusId
: ObjectId|null
-
Return values
void
—
unsetMonitoringByDataSetId()
public
unsetMonitoringByDataSetId(ObjectId $dataSetId) : void
Parameters
-
$dataSetId
: ObjectId
-
Return values
void
—
unsetMonitoringByDepartmentId()
public
unsetMonitoringByDepartmentId(ObjectId $departmentId) : void
Parameters
-
$departmentId
: ObjectId
-
Return values
void
—
unsetMonitoringObjectsByDataSetId()
public
unsetMonitoringObjectsByDataSetId(ObjectId $dataSetId) : void
Parameters
-
$dataSetId
: ObjectId
-
Return values
void
—
public
unsetRelatedObjects(ObjectId $dataSetId) : void
Parameters
-
$dataSetId
: ObjectId
-
Return values
void
—
public
unsetRelatedObjectsByDataSetId(ObjectId $dataSetId) : void
Parameters
-
$dataSetId
: ObjectId
-
Return values
void
—
unsetRoutes()
public
unsetRoutes(ObjectId $dataSetId, array<string|int, mixed> $routeIds) : void
Parameters
-
$dataSetId
: ObjectId
-
-
$routeIds
: array<string|int, mixed>
-
Return values
void
—