C# Class strICT.InFlow.Web.Helpers.JobsHelper

Inheritance: IJobsHelper
Afficher le fichier Open project: InFlowBPM/InFlow-BPMS Class Usage Examples

Méthodes publiques

Méthode Description
CanUserAccessTask ( int taskid, string username ) : bool
getAnsweredTaskListForUser ( string username ) : List
getFunctionTask ( int id, string username ) : Models.JobsViewModels.FunctionTaskViewModel
getOpenTaskListForUser ( string username ) : List
getReceiveTask ( int id, string username ) : Models.JobsViewModels.ReceiveTaskViewModel
getSendTask ( int id, string username ) : Models.JobsViewModels.SendTaskViewModel
getStartProcesses ( string username ) : List
getTask ( int id ) : T_Task
setFunctionTask ( FunctionTaskViewModel ftviewmodel, string username ) : bool
setReceiveTask ( ReceiveTaskViewModel rtviewmodel, string username ) : bool
setSendTask ( SendTaskViewModel stviewmodel, string username ) : bool
setTaskAsSeen ( int id, string username ) : void
startProcess ( int processSubjectId, string username ) : bool

Private Methods

Méthode Description
encodeEditableParameters ( int taskId, dynamic>.Dictionary parameters ) : string
getDate ( System.DateTime date ) : System.DateTime
initCore ( ) : void
initService ( ) : void

Method Details

CanUserAccessTask() public méthode

public CanUserAccessTask ( int taskid, string username ) : bool
taskid int
username string
Résultat bool

getAnsweredTaskListForUser() public méthode

public getAnsweredTaskListForUser ( string username ) : List
username string
Résultat List

getFunctionTask() public méthode

public getFunctionTask ( int id, string username ) : Models.JobsViewModels.FunctionTaskViewModel
id int
username string
Résultat Models.JobsViewModels.FunctionTaskViewModel

getOpenTaskListForUser() public méthode

public getOpenTaskListForUser ( string username ) : List
username string
Résultat List

getReceiveTask() public méthode

public getReceiveTask ( int id, string username ) : Models.JobsViewModels.ReceiveTaskViewModel
id int
username string
Résultat Models.JobsViewModels.ReceiveTaskViewModel

getSendTask() public méthode

public getSendTask ( int id, string username ) : Models.JobsViewModels.SendTaskViewModel
id int
username string
Résultat Models.JobsViewModels.SendTaskViewModel

getStartProcesses() public méthode

public getStartProcesses ( string username ) : List
username string
Résultat List

getTask() public méthode

public getTask ( int id ) : T_Task
id int
Résultat strICT.InFlow.Db.Contracts.InFlow.T_Task

setFunctionTask() public méthode

public setFunctionTask ( FunctionTaskViewModel ftviewmodel, string username ) : bool
ftviewmodel strICT.InFlow.Web.Models.JobsViewModels.FunctionTaskViewModel
username string
Résultat bool

setReceiveTask() public méthode

public setReceiveTask ( ReceiveTaskViewModel rtviewmodel, string username ) : bool
rtviewmodel strICT.InFlow.Web.Models.JobsViewModels.ReceiveTaskViewModel
username string
Résultat bool

setSendTask() public méthode

public setSendTask ( SendTaskViewModel stviewmodel, string username ) : bool
stviewmodel strICT.InFlow.Web.Models.JobsViewModels.SendTaskViewModel
username string
Résultat bool

setTaskAsSeen() public méthode

public setTaskAsSeen ( int id, string username ) : void
id int
username string
Résultat void

startProcess() public méthode

public startProcess ( int processSubjectId, string username ) : bool
processSubjectId int
username string
Résultat bool