Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/04/17 13:56:38 (7 years ago)
Author:
jkarder
Message:

#2839:

  • worked on hive administrator view
  • updated service clients
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveProjectManagement/HeuristicLab.Clients.Hive/3.3/ServiceClients/HiveServiceClient.cs

    r14738 r15401  
    2626    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))]
    2727    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))]
     28    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Project))]
    2829    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.JobPermission))]
    2930    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.PluginData))]
    30     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.ResourcePermission))]
     31    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.ProjectPermission))]
    3132    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Downtime))]
    3233    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.UserPriority))]
     
    211212    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))]
    212213    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))]
     214    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Project))]
    213215    public partial class NamedHiveItem : HeuristicLab.Clients.Hive.HiveItem
    214216    {
     
    284286       
    285287        [System.Runtime.Serialization.OptionalFieldAttribute()]
    286         private string ResourceNamesField;
     288        private System.Guid ProjectIdField;
    287289       
    288290        [System.Runtime.Serialization.DataMemberAttribute()]
     
    406408       
    407409        [System.Runtime.Serialization.DataMemberAttribute()]
    408         public string ResourceNames
    409         {
    410             get
    411             {
    412                 return this.ResourceNamesField;
    413             }
    414             set
    415             {
    416                 if ((object.ReferenceEquals(this.ResourceNamesField, value) != true))
    417                 {
    418                     this.ResourceNamesField = value;
    419                     this.RaisePropertyChanged("ResourceNames");
     410        public System.Guid ProjectId
     411        {
     412            get
     413            {
     414                return this.ProjectIdField;
     415            }
     416            set
     417            {
     418                if ((this.ProjectIdField.Equals(value) != true))
     419                {
     420                    this.ProjectIdField = value;
     421                    this.RaisePropertyChanged("ProjectId");
    420422                }
    421423            }
     
    839841    [System.Diagnostics.DebuggerStepThroughAttribute()]
    840842    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     843    [System.Runtime.Serialization.DataContractAttribute(Name="Project", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
     844    [System.SerializableAttribute()]
     845    public partial class Project : HeuristicLab.Clients.Hive.NamedHiveItem
     846    {
     847       
     848        [System.Runtime.Serialization.OptionalFieldAttribute()]
     849        private System.DateTime DateCreatedField;
     850       
     851        [System.Runtime.Serialization.OptionalFieldAttribute()]
     852        private System.Nullable<System.DateTime> EndDateField;
     853       
     854        [System.Runtime.Serialization.OptionalFieldAttribute()]
     855        private System.Guid OwnerUserIdField;
     856       
     857        [System.Runtime.Serialization.OptionalFieldAttribute()]
     858        private System.Nullable<System.Guid> ParentProjectIdField;
     859       
     860        [System.Runtime.Serialization.OptionalFieldAttribute()]
     861        private System.DateTime StartDateField;
     862       
     863        [System.Runtime.Serialization.DataMemberAttribute()]
     864        public System.DateTime DateCreated
     865        {
     866            get
     867            {
     868                return this.DateCreatedField;
     869            }
     870            set
     871            {
     872                if ((this.DateCreatedField.Equals(value) != true))
     873                {
     874                    this.DateCreatedField = value;
     875                    this.RaisePropertyChanged("DateCreated");
     876                }
     877            }
     878        }
     879       
     880        [System.Runtime.Serialization.DataMemberAttribute()]
     881        public System.Nullable<System.DateTime> EndDate
     882        {
     883            get
     884            {
     885                return this.EndDateField;
     886            }
     887            set
     888            {
     889                if ((this.EndDateField.Equals(value) != true))
     890                {
     891                    this.EndDateField = value;
     892                    this.RaisePropertyChanged("EndDate");
     893                }
     894            }
     895        }
     896       
     897        [System.Runtime.Serialization.DataMemberAttribute()]
     898        public System.Guid OwnerUserId
     899        {
     900            get
     901            {
     902                return this.OwnerUserIdField;
     903            }
     904            set
     905            {
     906                if ((this.OwnerUserIdField.Equals(value) != true))
     907                {
     908                    this.OwnerUserIdField = value;
     909                    this.RaisePropertyChanged("OwnerUserId");
     910                }
     911            }
     912        }
     913       
     914        [System.Runtime.Serialization.DataMemberAttribute()]
     915        public System.Nullable<System.Guid> ParentProjectId
     916        {
     917            get
     918            {
     919                return this.ParentProjectIdField;
     920            }
     921            set
     922            {
     923                if ((this.ParentProjectIdField.Equals(value) != true))
     924                {
     925                    this.ParentProjectIdField = value;
     926                    this.RaisePropertyChanged("ParentProjectId");
     927                }
     928            }
     929        }
     930       
     931        [System.Runtime.Serialization.DataMemberAttribute()]
     932        public System.DateTime StartDate
     933        {
     934            get
     935            {
     936                return this.StartDateField;
     937            }
     938            set
     939            {
     940                if ((this.StartDateField.Equals(value) != true))
     941                {
     942                    this.StartDateField = value;
     943                    this.RaisePropertyChanged("StartDate");
     944                }
     945            }
     946        }
     947    }
     948   
     949    [System.Diagnostics.DebuggerStepThroughAttribute()]
     950    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    841951    [System.Runtime.Serialization.DataContractAttribute(Name="JobPermission", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
    842952    [System.SerializableAttribute()]
     
    9951105    [System.Diagnostics.DebuggerStepThroughAttribute()]
    9961106    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    997     [System.Runtime.Serialization.DataContractAttribute(Name="ResourcePermission", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
     1107    [System.Runtime.Serialization.DataContractAttribute(Name="ProjectPermission", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
    9981108    [System.SerializableAttribute()]
    999     public partial class ResourcePermission : HeuristicLab.Clients.Hive.HiveItem
     1109    public partial class ProjectPermission : HeuristicLab.Clients.Hive.HiveItem
    10001110    {
    10011111       
     
    10071117       
    10081118        [System.Runtime.Serialization.OptionalFieldAttribute()]
    1009         private System.Guid ResourceIdField;
     1119        private System.Guid ProjectIdField;
    10101120       
    10111121        [System.Runtime.Serialization.DataMemberAttribute()]
     
    10441154       
    10451155        [System.Runtime.Serialization.DataMemberAttribute()]
    1046         public System.Guid ResourceId
    1047         {
    1048             get
    1049             {
    1050                 return this.ResourceIdField;
    1051             }
    1052             set
    1053             {
    1054                 if ((this.ResourceIdField.Equals(value) != true))
    1055                 {
    1056                     this.ResourceIdField = value;
    1057                     this.RaisePropertyChanged("ResourceId");
     1156        public System.Guid ProjectId
     1157        {
     1158            get
     1159            {
     1160                return this.ProjectIdField;
     1161            }
     1162            set
     1163            {
     1164                if ((this.ProjectIdField.Equals(value) != true))
     1165                {
     1166                    this.ProjectIdField = value;
     1167                    this.RaisePropertyChanged("ProjectId");
    10581168                }
    10591169            }
     
    21002210       
    21012211        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddTask", ReplyAction="http://tempuri.org/IHiveService/AddTaskResponse")]
    2102         System.Guid AddTask(HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData, System.Collections.Generic.List<System.Guid> resourceIds);
     2212        System.Guid AddTask(HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData);
    21032213       
    21042214        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddChildTask", ReplyAction="http://tempuri.org/IHiveService/AddChildTaskResponse")]
     
    21842294        System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> GetPluginDatas(System.Collections.Generic.List<System.Guid> pluginIds);
    21852295       
    2186         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GrantResourcePermissions", ReplyAction="http://tempuri.org/IHiveService/GrantResourcePermissionsResponse")]
    2187         void GrantResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds);
    2188        
    2189         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/RevokeResourcePermissions", ReplyAction="http://tempuri.org/IHiveService/RevokeResourcePermissionsResponse")]
    2190         void RevokeResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds);
    2191        
    2192         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetResourcePermissions", ReplyAction="http://tempuri.org/IHiveService/GetResourcePermissionsResponse")]
    2193         System.Collections.Generic.List<HeuristicLab.Clients.Hive.ResourcePermission> GetResourcePermissions(System.Guid resourceId);
     2296        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddProject", ReplyAction="http://tempuri.org/IHiveService/AddProjectResponse")]
     2297        System.Guid AddProject(HeuristicLab.Clients.Hive.Project projectDto);
     2298       
     2299        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateProject", ReplyAction="http://tempuri.org/IHiveService/UpdateProjectResponse")]
     2300        void UpdateProject(HeuristicLab.Clients.Hive.Project projectDto);
     2301       
     2302        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/DeleteProject", ReplyAction="http://tempuri.org/IHiveService/DeleteProjectResponse")]
     2303        void DeleteProject(System.Guid projectId);
     2304       
     2305        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetProject", ReplyAction="http://tempuri.org/IHiveService/GetProjectResponse")]
     2306        HeuristicLab.Clients.Hive.Project GetProject(System.Guid projectId);
     2307       
     2308        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetProjects", ReplyAction="http://tempuri.org/IHiveService/GetProjectsResponse")]
     2309        System.Collections.Generic.List<HeuristicLab.Clients.Hive.Project> GetProjects();
     2310       
     2311        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GrantProjectPermissions", ReplyAction="http://tempuri.org/IHiveService/GrantProjectPermissionsResponse")]
     2312        void GrantProjectPermissions(System.Guid projectId, System.Collections.Generic.List<System.Guid> grantedUserIds);
     2313       
     2314        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/RevokeProjectPermissions", ReplyAction="http://tempuri.org/IHiveService/RevokeProjectPermissionsResponse")]
     2315        void RevokeProjectPermissions(System.Guid projectId, System.Collections.Generic.List<System.Guid> grantedUserIds);
     2316       
     2317        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetProjectPermissions", ReplyAction="http://tempuri.org/IHiveService/GetProjectPermissionsResponse")]
     2318        System.Collections.Generic.List<HeuristicLab.Clients.Hive.ProjectPermission> GetProjectPermissions(System.Guid projectId);
    21942319       
    21952320        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddSlave", ReplyAction="http://tempuri.org/IHiveService/AddSlaveResponse")]
     
    22912416        }
    22922417       
    2293         public System.Guid AddTask(HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData, System.Collections.Generic.List<System.Guid> resourceIds)
    2294         {
    2295             return base.Channel.AddTask(task, taskData, resourceIds);
     2418        public System.Guid AddTask(HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData)
     2419        {
     2420            return base.Channel.AddTask(task, taskData);
    22962421        }
    22972422       
     
    24312556        }
    24322557       
    2433         public void GrantResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds)
    2434         {
    2435             base.Channel.GrantResourcePermissions(resourceId, grantedUserIds);
    2436         }
    2437        
    2438         public void RevokeResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds)
    2439         {
    2440             base.Channel.RevokeResourcePermissions(resourceId, grantedUserIds);
    2441         }
    2442        
    2443         public System.Collections.Generic.List<HeuristicLab.Clients.Hive.ResourcePermission> GetResourcePermissions(System.Guid resourceId)
    2444         {
    2445             return base.Channel.GetResourcePermissions(resourceId);
     2558        public System.Guid AddProject(HeuristicLab.Clients.Hive.Project projectDto)
     2559        {
     2560            return base.Channel.AddProject(projectDto);
     2561        }
     2562       
     2563        public void UpdateProject(HeuristicLab.Clients.Hive.Project projectDto)
     2564        {
     2565            base.Channel.UpdateProject(projectDto);
     2566        }
     2567       
     2568        public void DeleteProject(System.Guid projectId)
     2569        {
     2570            base.Channel.DeleteProject(projectId);
     2571        }
     2572       
     2573        public HeuristicLab.Clients.Hive.Project GetProject(System.Guid projectId)
     2574        {
     2575            return base.Channel.GetProject(projectId);
     2576        }
     2577       
     2578        public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Project> GetProjects()
     2579        {
     2580            return base.Channel.GetProjects();
     2581        }
     2582       
     2583        public void GrantProjectPermissions(System.Guid projectId, System.Collections.Generic.List<System.Guid> grantedUserIds)
     2584        {
     2585            base.Channel.GrantProjectPermissions(projectId, grantedUserIds);
     2586        }
     2587       
     2588        public void RevokeProjectPermissions(System.Guid projectId, System.Collections.Generic.List<System.Guid> grantedUserIds)
     2589        {
     2590            base.Channel.RevokeProjectPermissions(projectId, grantedUserIds);
     2591        }
     2592       
     2593        public System.Collections.Generic.List<HeuristicLab.Clients.Hive.ProjectPermission> GetProjectPermissions(System.Guid projectId)
     2594        {
     2595            return base.Channel.GetProjectPermissions(projectId);
    24462596        }
    24472597       
Note: See TracChangeset for help on using the changeset viewer.