예제 #1
0
 static PermissionHelper()
 {
     _tokenManager = DependencyResolver.Current.GetService <ITokenManager>();
     _spartaneUserRoleObjectFunctionApiConsumer = DependencyResolver.Current.GetService <ISpartaneUserRoleObjectFunctionApiConsumer>();
     _spartaneFunctionApiConsumer = DependencyResolver.Current.GetService <ISpartaneFunctionApiConsumer>();
     //WorkFlows Permissions
     _Spartan_WorkFlowApiConsumer                = DependencyResolver.Current.GetService <ISpartan_WorkFlowApiConsumer>();
     _Spartan_WorkFlow_PhasesApiConsumer         = DependencyResolver.Current.GetService <ISpartan_WorkFlow_PhasesApiConsumer>();
     _Spartan_WorkFlow_Roles_by_StateApiConsumer = DependencyResolver.Current.GetService <ISpartan_WorkFlow_Roles_by_StateApiConsumer>();
     _ISpartan_MetadataApiConsumer               = DependencyResolver.Current.GetService <ISpartan_MetadataApiConsumer>();
 }
예제 #2
0
 public Spartan_WorkFlow_StateController(ISpartan_WorkFlow_StateService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, ISpartan_WorkFlow_StateApiConsumer Spartan_WorkFlow_StateApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, ISpartan_WorkFlow_PhasesApiConsumer Spartan_WorkFlow_PhasesApiConsumer, ISpartan_MetadataApiConsumer Spartan_MetadataApiConsumer)
 {
     this.service = service;
     this._IAuthenticationApiConsumer         = authenticationApiConsumer;
     this._ISpartan_WorkFlow_StateApiConsumer = Spartan_WorkFlow_StateApiConsumer;
     this._userCredential                              = SessionHelper.UserCredential;
     this._tokenManager                                = tokenManager;
     this._ISpartane_FileApiConsumer                   = Spartane_FileApiConsumer;
     this._ISpartan_Business_RuleApiConsumer           = Spartan_Business_RuleApiConsumer;
     this._ISpartan_BR_Process_Event_DetailApiConsumer = Spartan_BR_Process_Event_DetailApiConsumer;
     this._ISpartan_WorkFlow_PhasesApiConsumer         = Spartan_WorkFlow_PhasesApiConsumer;
     this._ISpartan_MetadataApiConsumer                = Spartan_MetadataApiConsumer;
 }
 public Spartan_SettingsController(ISpartan_SettingsService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, ISpartan_SettingsApiConsumer Spartan_SettingsApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, ISpartan_FormatApiConsumer Spartan_FormatApiConsumer, ISpartan_Format_PermissionsApiConsumer Spartan_Format_PermissionsApiConsumer, ISpartan_WorkFlow_PhasesApiConsumer ISpartan_WorkFlow_PhasesApiConsumer, IGeneratePDFApiConsumer GeneratePDFApiConsumer)
 {
     this.service = service;
     this._IAuthenticationApiConsumer   = authenticationApiConsumer;
     this._ISpartan_SettingsApiConsumer = Spartan_SettingsApiConsumer;
     this._userCredential                              = SessionHelper.UserCredential;
     this._tokenManager                                = tokenManager;
     this._ISpartane_FileApiConsumer                   = Spartane_FileApiConsumer;
     this._ISpartan_Business_RuleApiConsumer           = Spartan_Business_RuleApiConsumer;
     this._ISpartan_BR_Process_Event_DetailApiConsumer = Spartan_BR_Process_Event_DetailApiConsumer;
     this._ISpartan_FormatApiConsumer                  = Spartan_FormatApiConsumer;
     this._ISpartan_Format_PermissionsApiConsumer      = Spartan_Format_PermissionsApiConsumer;
     this._IGeneratePDFApiConsumer                     = GeneratePDFApiConsumer;
     this._ISpartan_WorkFlow_PhasesApiConsumer         = ISpartan_WorkFlow_PhasesApiConsumer;
 }