C# Class Disco.Services.JobQueueExtensions

Mostra file Open project: garysharp/Disco

Public Methods

Method Description
CanAddQueue ( this j, JobQueue jq ) : bool
CanAddQueues ( this j ) : bool
CanEditAddedComment ( this jqj ) : bool
CanEditPriority ( this jqj ) : bool
CanEditRemovedComment ( this jqj ) : bool
CanEditSla ( this jqj ) : bool
CanRemove ( this jqj ) : bool
OnAddQueue ( this j, DiscoDataContext Database, JobQueue jq, User Technician, string Comment, System.DateTime SLAExpires, JobQueuePriority Priority ) : JobQueueJob
OnEditAddedComment ( this jqj, string AddedComment ) : void
OnEditPriority ( this jqj, JobQueuePriority Priority ) : void
OnEditRemovedComment ( this jqj, string RemovedComment ) : void
OnEditSla ( this jqj, System.DateTime SlaExpiresDate ) : void
OnRemove ( this jqj, User Technician, string Comment ) : void

Private Methods

Method Description
CanEditComments ( this jqj ) : bool

Method Details

CanAddQueue() public static method

public static CanAddQueue ( this j, JobQueue jq ) : bool
j this
jq Disco.Models.Repository.JobQueue
return bool

CanAddQueues() public static method

public static CanAddQueues ( this j ) : bool
j this
return bool

CanEditAddedComment() public static method

public static CanEditAddedComment ( this jqj ) : bool
jqj this
return bool

CanEditPriority() public static method

public static CanEditPriority ( this jqj ) : bool
jqj this
return bool

CanEditRemovedComment() public static method

public static CanEditRemovedComment ( this jqj ) : bool
jqj this
return bool

CanEditSla() public static method

public static CanEditSla ( this jqj ) : bool
jqj this
return bool

CanRemove() public static method

public static CanRemove ( this jqj ) : bool
jqj this
return bool

OnAddQueue() public static method

public static OnAddQueue ( this j, DiscoDataContext Database, JobQueue jq, User Technician, string Comment, System.DateTime SLAExpires, JobQueuePriority Priority ) : JobQueueJob
j this
Database Disco.Data.Repository.DiscoDataContext
jq Disco.Models.Repository.JobQueue
Technician Disco.Models.Repository.User
Comment string
SLAExpires System.DateTime
Priority JobQueuePriority
return Disco.Models.Repository.JobQueueJob

OnEditAddedComment() public static method

public static OnEditAddedComment ( this jqj, string AddedComment ) : void
jqj this
AddedComment string
return void

OnEditPriority() public static method

public static OnEditPriority ( this jqj, JobQueuePriority Priority ) : void
jqj this
Priority JobQueuePriority
return void

OnEditRemovedComment() public static method

public static OnEditRemovedComment ( this jqj, string RemovedComment ) : void
jqj this
RemovedComment string
return void

OnEditSla() public static method

public static OnEditSla ( this jqj, System.DateTime SlaExpiresDate ) : void
jqj this
SlaExpiresDate System.DateTime
return void

OnRemove() public static method

public static OnRemove ( this jqj, User Technician, string Comment ) : void
jqj this
Technician Disco.Models.Repository.User
Comment string
return void