C# Class Disco.Services.JobActionExtensions

Afficher le fichier Open project: garysharp/Disco

Méthodes publiques

Méthode Description
CanCloseForced ( this j ) : bool
CanCloseForced ( this j, List &Reasons ) : bool
CanCloseJobNormallyAfterRemoved ( this jqj ) : bool
CanCloseNormally ( this j ) : bool
CanConvertHWarToHNWar ( this j ) : bool
CanCreate ( ) : bool
CanDelete ( this j ) : bool
CanDeviceHeld ( this j ) : bool
CanDeviceReadyForReturn ( this j ) : bool
CanDeviceReturned ( this j ) : bool
CanInsuranceClaimFormSent ( this j ) : bool
CanLogRepair ( this j ) : bool
CanLogWarranty ( this j ) : bool
CanNotWaitingForUserAction ( this j ) : bool
CanReopen ( this j ) : bool
CanRepairComplete ( this j ) : bool
CanWaitingForUserAction ( this j ) : bool
CanWarrantyCompleted ( this j ) : bool
OnCloseForced ( this j, DiscoDataContext Database, User Technician, string Reason ) : void
OnCloseNormally ( this j, DiscoDataContext Database, User Technician ) : void
OnConvertHWarToHNWar ( this j, DiscoDataContext Database ) : void
OnDelete ( this j, DiscoDataContext Database ) : void
OnDeviceHeld ( this j, User Technician ) : void
OnDeviceReadyForReturn ( this j, User Technician ) : void
OnDeviceReturned ( this j, User Technician ) : void
OnInsuranceClaimFormSent ( this j ) : void
OnLogRepair ( this j, DiscoDataContext Database, string RepairDescription, List SendAttachments, PluginFeatureManifest RepairProviderDefinition, OrganisationAddress Address, User TechUser, string>.Dictionary RepairProviderProperties ) : void
OnLogRepair ( this j, DiscoDataContext Database, string FaultDescription, string ManualProviderName, string ManualProviderReference, OrganisationAddress Address, User TechUser ) : void
OnLogWarranty ( this j, DiscoDataContext Database, string FaultDescription, List SendAttachments, PluginFeatureManifest WarrantyProviderDefinition, OrganisationAddress Address, User TechUser, string>.Dictionary WarrantyProviderProperties ) : void
OnLogWarranty ( this j, DiscoDataContext Database, string FaultDescription, string ManualProviderName, string ManualProviderReference, OrganisationAddress Address, User TechUser ) : void
OnNotWaitingForUserAction ( this j, DiscoDataContext Database, User Technician, string Resolution ) : void
OnReopen ( this j ) : void
OnRepairComplete ( this j ) : void
OnWaitingForUserAction ( this j, DiscoDataContext Database, User Technician, string Reason ) : void
OnWarrantyCompleted ( this j ) : void

Private Methods

Méthode Description
CanCloseNever ( this j, JobQueueJob IgnoreJobQueueJob = null ) : bool
CanCloseNormallyInternal ( this j ) : bool

Method Details

CanCloseForced() public static méthode

public static CanCloseForced ( this j ) : bool
j this
Résultat bool

CanCloseForced() public static méthode

public static CanCloseForced ( this j, List &Reasons ) : bool
j this
Reasons List
Résultat bool

CanCloseJobNormallyAfterRemoved() public static méthode

public static CanCloseJobNormallyAfterRemoved ( this jqj ) : bool
jqj this
Résultat bool

CanCloseNormally() public static méthode

public static CanCloseNormally ( this j ) : bool
j this
Résultat bool

CanConvertHWarToHNWar() public static méthode

public static CanConvertHWarToHNWar ( this j ) : bool
j this
Résultat bool

CanCreate() public static méthode

public static CanCreate ( ) : bool
Résultat bool

CanDelete() public static méthode

public static CanDelete ( this j ) : bool
j this
Résultat bool

CanDeviceHeld() public static méthode

public static CanDeviceHeld ( this j ) : bool
j this
Résultat bool

CanDeviceReadyForReturn() public static méthode

public static CanDeviceReadyForReturn ( this j ) : bool
j this
Résultat bool

CanDeviceReturned() public static méthode

public static CanDeviceReturned ( this j ) : bool
j this
Résultat bool

CanInsuranceClaimFormSent() public static méthode

public static CanInsuranceClaimFormSent ( this j ) : bool
j this
Résultat bool

CanLogRepair() public static méthode

public static CanLogRepair ( this j ) : bool
j this
Résultat bool

CanLogWarranty() public static méthode

public static CanLogWarranty ( this j ) : bool
j this
Résultat bool

CanNotWaitingForUserAction() public static méthode

public static CanNotWaitingForUserAction ( this j ) : bool
j this
Résultat bool

CanReopen() public static méthode

public static CanReopen ( this j ) : bool
j this
Résultat bool

CanRepairComplete() public static méthode

public static CanRepairComplete ( this j ) : bool
j this
Résultat bool

CanWaitingForUserAction() public static méthode

public static CanWaitingForUserAction ( this j ) : bool
j this
Résultat bool

CanWarrantyCompleted() public static méthode

public static CanWarrantyCompleted ( this j ) : bool
j this
Résultat bool

OnCloseForced() public static méthode

public static OnCloseForced ( this j, DiscoDataContext Database, User Technician, string Reason ) : void
j this
Database Disco.Data.Repository.DiscoDataContext
Technician Disco.Models.Repository.User
Reason string
Résultat void

OnCloseNormally() public static méthode

public static OnCloseNormally ( this j, DiscoDataContext Database, User Technician ) : void
j this
Database Disco.Data.Repository.DiscoDataContext
Technician Disco.Models.Repository.User
Résultat void

OnConvertHWarToHNWar() public static méthode

public static OnConvertHWarToHNWar ( this j, DiscoDataContext Database ) : void
j this
Database Disco.Data.Repository.DiscoDataContext
Résultat void

OnDelete() public static méthode

public static OnDelete ( this j, DiscoDataContext Database ) : void
j this
Database Disco.Data.Repository.DiscoDataContext
Résultat void

OnDeviceHeld() public static méthode

public static OnDeviceHeld ( this j, User Technician ) : void
j this
Technician Disco.Models.Repository.User
Résultat void

OnDeviceReadyForReturn() public static méthode

public static OnDeviceReadyForReturn ( this j, User Technician ) : void
j this
Technician Disco.Models.Repository.User
Résultat void

OnDeviceReturned() public static méthode

public static OnDeviceReturned ( this j, User Technician ) : void
j this
Technician Disco.Models.Repository.User
Résultat void

OnInsuranceClaimFormSent() public static méthode

public static OnInsuranceClaimFormSent ( this j ) : void
j this
Résultat void

OnLogRepair() public static méthode

public static OnLogRepair ( this j, DiscoDataContext Database, string RepairDescription, List SendAttachments, PluginFeatureManifest RepairProviderDefinition, OrganisationAddress Address, User TechUser, string>.Dictionary RepairProviderProperties ) : void
j this
Database Disco.Data.Repository.DiscoDataContext
RepairDescription string
SendAttachments List
RepairProviderDefinition PluginFeatureManifest
Address Disco.Models.BI.Config.OrganisationAddress
TechUser Disco.Models.Repository.User
RepairProviderProperties string>.Dictionary
Résultat void

OnLogRepair() public static méthode

public static OnLogRepair ( this j, DiscoDataContext Database, string FaultDescription, string ManualProviderName, string ManualProviderReference, OrganisationAddress Address, User TechUser ) : void
j this
Database Disco.Data.Repository.DiscoDataContext
FaultDescription string
ManualProviderName string
ManualProviderReference string
Address Disco.Models.BI.Config.OrganisationAddress
TechUser Disco.Models.Repository.User
Résultat void

OnLogWarranty() public static méthode

public static OnLogWarranty ( this j, DiscoDataContext Database, string FaultDescription, List SendAttachments, PluginFeatureManifest WarrantyProviderDefinition, OrganisationAddress Address, User TechUser, string>.Dictionary WarrantyProviderProperties ) : void
j this
Database Disco.Data.Repository.DiscoDataContext
FaultDescription string
SendAttachments List
WarrantyProviderDefinition PluginFeatureManifest
Address Disco.Models.BI.Config.OrganisationAddress
TechUser Disco.Models.Repository.User
WarrantyProviderProperties string>.Dictionary
Résultat void

OnLogWarranty() public static méthode

public static OnLogWarranty ( this j, DiscoDataContext Database, string FaultDescription, string ManualProviderName, string ManualProviderReference, OrganisationAddress Address, User TechUser ) : void
j this
Database Disco.Data.Repository.DiscoDataContext
FaultDescription string
ManualProviderName string
ManualProviderReference string
Address Disco.Models.BI.Config.OrganisationAddress
TechUser Disco.Models.Repository.User
Résultat void

OnNotWaitingForUserAction() public static méthode

public static OnNotWaitingForUserAction ( this j, DiscoDataContext Database, User Technician, string Resolution ) : void
j this
Database Disco.Data.Repository.DiscoDataContext
Technician Disco.Models.Repository.User
Resolution string
Résultat void

OnReopen() public static méthode

public static OnReopen ( this j ) : void
j this
Résultat void

OnRepairComplete() public static méthode

public static OnRepairComplete ( this j ) : void
j this
Résultat void

OnWaitingForUserAction() public static méthode

public static OnWaitingForUserAction ( this j, DiscoDataContext Database, User Technician, string Reason ) : void
j this
Database Disco.Data.Repository.DiscoDataContext
Technician Disco.Models.Repository.User
Reason string
Résultat void

OnWarrantyCompleted() public static méthode

public static OnWarrantyCompleted ( this j ) : void
j this
Résultat void