Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/04/12 14:48:55 (12 years ago)
Author:
jkarder
Message:

#1859:

  • added permission management support
  • extended administartion user interface
  • minor code improvements
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveResourcePermissionManagement (trunk integration)/HeuristicLab.Clients.Hive/3.3/ServiceClients/HiveServiceClient.cs

    r7916 r7951  
    22// <auto-generated>
    33//     This code was generated by a tool.
    4 //     Runtime Version:4.0.30319.269
     4//     Runtime Version:4.0.30319.17379
    55//
    66//     Changes to this file may cause incorrect behavior and will be lost if
     
    422422  [System.Diagnostics.DebuggerStepThroughAttribute()]
    423423  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     424  [System.Runtime.Serialization.DataContractAttribute(Name = "Downtime", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
     425  [System.SerializableAttribute()]
     426  public partial class Downtime : HeuristicLab.Clients.Hive.HiveItem {
     427
     428    [System.Runtime.Serialization.OptionalFieldAttribute()]
     429    private bool AllDayEventField;
     430
     431    [System.Runtime.Serialization.OptionalFieldAttribute()]
     432    private System.DateTime EndDateField;
     433
     434    [System.Runtime.Serialization.OptionalFieldAttribute()]
     435    private bool RecurringField;
     436
     437    [System.Runtime.Serialization.OptionalFieldAttribute()]
     438    private System.Guid RecurringIdField;
     439
     440    [System.Runtime.Serialization.OptionalFieldAttribute()]
     441    private System.Guid ResourceIdField;
     442
     443    [System.Runtime.Serialization.OptionalFieldAttribute()]
     444    private System.DateTime StartDateField;
     445
     446    [System.Runtime.Serialization.DataMemberAttribute()]
     447    public bool AllDayEvent {
     448      get {
     449        return this.AllDayEventField;
     450      }
     451      set {
     452        if ((this.AllDayEventField.Equals(value) != true)) {
     453          this.AllDayEventField = value;
     454          this.RaisePropertyChanged("AllDayEvent");
     455        }
     456      }
     457    }
     458
     459    [System.Runtime.Serialization.DataMemberAttribute()]
     460    public System.DateTime EndDate {
     461      get {
     462        return this.EndDateField;
     463      }
     464      set {
     465        if ((this.EndDateField.Equals(value) != true)) {
     466          this.EndDateField = value;
     467          this.RaisePropertyChanged("EndDate");
     468        }
     469      }
     470    }
     471
     472    [System.Runtime.Serialization.DataMemberAttribute()]
     473    public bool Recurring {
     474      get {
     475        return this.RecurringField;
     476      }
     477      set {
     478        if ((this.RecurringField.Equals(value) != true)) {
     479          this.RecurringField = value;
     480          this.RaisePropertyChanged("Recurring");
     481        }
     482      }
     483    }
     484
     485    [System.Runtime.Serialization.DataMemberAttribute()]
     486    public System.Guid RecurringId {
     487      get {
     488        return this.RecurringIdField;
     489      }
     490      set {
     491        if ((this.RecurringIdField.Equals(value) != true)) {
     492          this.RecurringIdField = value;
     493          this.RaisePropertyChanged("RecurringId");
     494        }
     495      }
     496    }
     497
     498    [System.Runtime.Serialization.DataMemberAttribute()]
     499    public System.Guid ResourceId {
     500      get {
     501        return this.ResourceIdField;
     502      }
     503      set {
     504        if ((this.ResourceIdField.Equals(value) != true)) {
     505          this.ResourceIdField = value;
     506          this.RaisePropertyChanged("ResourceId");
     507        }
     508      }
     509    }
     510
     511    [System.Runtime.Serialization.DataMemberAttribute()]
     512    public System.DateTime StartDate {
     513      get {
     514        return this.StartDateField;
     515      }
     516      set {
     517        if ((this.StartDateField.Equals(value) != true)) {
     518          this.StartDateField = value;
     519          this.RaisePropertyChanged("StartDate");
     520        }
     521      }
     522    }
     523  }
     524
     525  [System.Diagnostics.DebuggerStepThroughAttribute()]
     526  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     527  [System.Runtime.Serialization.DataContractAttribute(Name = "JobPermission", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
     528  [System.SerializableAttribute()]
     529  public partial class JobPermission : HeuristicLab.Clients.Hive.HiveItem {
     530
     531    [System.Runtime.Serialization.OptionalFieldAttribute()]
     532    private System.Guid GrantedByUserIdField;
     533
     534    [System.Runtime.Serialization.OptionalFieldAttribute()]
     535    private System.Guid GrantedUserIdField;
     536
     537    [System.Runtime.Serialization.OptionalFieldAttribute()]
     538    private System.Guid JobIdField;
     539
     540    [System.Runtime.Serialization.OptionalFieldAttribute()]
     541    private HeuristicLab.Clients.Hive.Permission PermissionField;
     542
     543    [System.Runtime.Serialization.DataMemberAttribute()]
     544    public System.Guid GrantedByUserId {
     545      get {
     546        return this.GrantedByUserIdField;
     547      }
     548      set {
     549        if ((this.GrantedByUserIdField.Equals(value) != true)) {
     550          this.GrantedByUserIdField = value;
     551          this.RaisePropertyChanged("GrantedByUserId");
     552        }
     553      }
     554    }
     555
     556    [System.Runtime.Serialization.DataMemberAttribute()]
     557    public System.Guid GrantedUserId {
     558      get {
     559        return this.GrantedUserIdField;
     560      }
     561      set {
     562        if ((this.GrantedUserIdField.Equals(value) != true)) {
     563          this.GrantedUserIdField = value;
     564          this.RaisePropertyChanged("GrantedUserId");
     565        }
     566      }
     567    }
     568
     569    [System.Runtime.Serialization.DataMemberAttribute()]
     570    public System.Guid JobId {
     571      get {
     572        return this.JobIdField;
     573      }
     574      set {
     575        if ((this.JobIdField.Equals(value) != true)) {
     576          this.JobIdField = value;
     577          this.RaisePropertyChanged("JobId");
     578        }
     579      }
     580    }
     581
     582    [System.Runtime.Serialization.DataMemberAttribute()]
     583    public HeuristicLab.Clients.Hive.Permission Permission {
     584      get {
     585        return this.PermissionField;
     586      }
     587      set {
     588        if ((this.PermissionField.Equals(value) != true)) {
     589          this.PermissionField = value;
     590          this.RaisePropertyChanged("Permission");
     591        }
     592      }
     593    }
     594  }
     595
     596  [System.Diagnostics.DebuggerStepThroughAttribute()]
     597  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     598  [System.Runtime.Serialization.DataContractAttribute(Name = "PluginData", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
     599  [System.SerializableAttribute()]
     600  public partial class PluginData : HeuristicLab.Clients.Hive.HiveItem {
     601
     602    [System.Runtime.Serialization.OptionalFieldAttribute()]
     603    private byte[] DataField;
     604
     605    [System.Runtime.Serialization.OptionalFieldAttribute()]
     606    private string FileNameField;
     607
     608    [System.Runtime.Serialization.OptionalFieldAttribute()]
     609    private System.Guid PluginIdField;
     610
     611    [System.Runtime.Serialization.DataMemberAttribute()]
     612    public byte[] Data {
     613      get {
     614        return this.DataField;
     615      }
     616      set {
     617        if ((object.ReferenceEquals(this.DataField, value) != true)) {
     618          this.DataField = value;
     619          this.RaisePropertyChanged("Data");
     620        }
     621      }
     622    }
     623
     624    [System.Runtime.Serialization.DataMemberAttribute()]
     625    public string FileName {
     626      get {
     627        return this.FileNameField;
     628      }
     629      set {
     630        if ((object.ReferenceEquals(this.FileNameField, value) != true)) {
     631          this.FileNameField = value;
     632          this.RaisePropertyChanged("FileName");
     633        }
     634      }
     635    }
     636
     637    [System.Runtime.Serialization.DataMemberAttribute()]
     638    public System.Guid PluginId {
     639      get {
     640        return this.PluginIdField;
     641      }
     642      set {
     643        if ((this.PluginIdField.Equals(value) != true)) {
     644          this.PluginIdField = value;
     645          this.RaisePropertyChanged("PluginId");
     646        }
     647      }
     648    }
     649  }
     650
     651  [System.Diagnostics.DebuggerStepThroughAttribute()]
     652  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    424653  [System.Runtime.Serialization.DataContractAttribute(Name = "ResourcePermission", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
    425654  [System.SerializableAttribute()]
     
    470699          this.ResourceIdField = value;
    471700          this.RaisePropertyChanged("ResourceId");
    472         }
    473       }
    474     }
    475   }
    476 
    477   [System.Diagnostics.DebuggerStepThroughAttribute()]
    478   [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    479   [System.Runtime.Serialization.DataContractAttribute(Name = "Downtime", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
    480   [System.SerializableAttribute()]
    481   public partial class Downtime : HeuristicLab.Clients.Hive.HiveItem {
    482 
    483     [System.Runtime.Serialization.OptionalFieldAttribute()]
    484     private bool AllDayEventField;
    485 
    486     [System.Runtime.Serialization.OptionalFieldAttribute()]
    487     private System.DateTime EndDateField;
    488 
    489     [System.Runtime.Serialization.OptionalFieldAttribute()]
    490     private bool RecurringField;
    491 
    492     [System.Runtime.Serialization.OptionalFieldAttribute()]
    493     private System.Guid RecurringIdField;
    494 
    495     [System.Runtime.Serialization.OptionalFieldAttribute()]
    496     private System.Guid ResourceIdField;
    497 
    498     [System.Runtime.Serialization.OptionalFieldAttribute()]
    499     private System.DateTime StartDateField;
    500 
    501     [System.Runtime.Serialization.DataMemberAttribute()]
    502     public bool AllDayEvent {
    503       get {
    504         return this.AllDayEventField;
    505       }
    506       set {
    507         if ((this.AllDayEventField.Equals(value) != true)) {
    508           this.AllDayEventField = value;
    509           this.RaisePropertyChanged("AllDayEvent");
    510         }
    511       }
    512     }
    513 
    514     [System.Runtime.Serialization.DataMemberAttribute()]
    515     public System.DateTime EndDate {
    516       get {
    517         return this.EndDateField;
    518       }
    519       set {
    520         if ((this.EndDateField.Equals(value) != true)) {
    521           this.EndDateField = value;
    522           this.RaisePropertyChanged("EndDate");
    523         }
    524       }
    525     }
    526 
    527     [System.Runtime.Serialization.DataMemberAttribute()]
    528     public bool Recurring {
    529       get {
    530         return this.RecurringField;
    531       }
    532       set {
    533         if ((this.RecurringField.Equals(value) != true)) {
    534           this.RecurringField = value;
    535           this.RaisePropertyChanged("Recurring");
    536         }
    537       }
    538     }
    539 
    540     [System.Runtime.Serialization.DataMemberAttribute()]
    541     public System.Guid RecurringId {
    542       get {
    543         return this.RecurringIdField;
    544       }
    545       set {
    546         if ((this.RecurringIdField.Equals(value) != true)) {
    547           this.RecurringIdField = value;
    548           this.RaisePropertyChanged("RecurringId");
    549         }
    550       }
    551     }
    552 
    553     [System.Runtime.Serialization.DataMemberAttribute()]
    554     public System.Guid ResourceId {
    555       get {
    556         return this.ResourceIdField;
    557       }
    558       set {
    559         if ((this.ResourceIdField.Equals(value) != true)) {
    560           this.ResourceIdField = value;
    561           this.RaisePropertyChanged("ResourceId");
    562         }
    563       }
    564     }
    565 
    566     [System.Runtime.Serialization.DataMemberAttribute()]
    567     public System.DateTime StartDate {
    568       get {
    569         return this.StartDateField;
    570       }
    571       set {
    572         if ((this.StartDateField.Equals(value) != true)) {
    573           this.StartDateField = value;
    574           this.RaisePropertyChanged("StartDate");
    575         }
    576       }
    577     }
    578   }
    579 
    580   [System.Diagnostics.DebuggerStepThroughAttribute()]
    581   [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    582   [System.Runtime.Serialization.DataContractAttribute(Name = "JobPermission", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
    583   [System.SerializableAttribute()]
    584   public partial class JobPermission : HeuristicLab.Clients.Hive.HiveItem {
    585 
    586     [System.Runtime.Serialization.OptionalFieldAttribute()]
    587     private System.Guid GrantedByUserIdField;
    588 
    589     [System.Runtime.Serialization.OptionalFieldAttribute()]
    590     private System.Guid GrantedUserIdField;
    591 
    592     [System.Runtime.Serialization.OptionalFieldAttribute()]
    593     private System.Guid JobIdField;
    594 
    595     [System.Runtime.Serialization.OptionalFieldAttribute()]
    596     private HeuristicLab.Clients.Hive.Permission PermissionField;
    597 
    598     [System.Runtime.Serialization.DataMemberAttribute()]
    599     public System.Guid GrantedByUserId {
    600       get {
    601         return this.GrantedByUserIdField;
    602       }
    603       set {
    604         if ((this.GrantedByUserIdField.Equals(value) != true)) {
    605           this.GrantedByUserIdField = value;
    606           this.RaisePropertyChanged("GrantedByUserId");
    607         }
    608       }
    609     }
    610 
    611     [System.Runtime.Serialization.DataMemberAttribute()]
    612     public System.Guid GrantedUserId {
    613       get {
    614         return this.GrantedUserIdField;
    615       }
    616       set {
    617         if ((this.GrantedUserIdField.Equals(value) != true)) {
    618           this.GrantedUserIdField = value;
    619           this.RaisePropertyChanged("GrantedUserId");
    620         }
    621       }
    622     }
    623 
    624     [System.Runtime.Serialization.DataMemberAttribute()]
    625     public System.Guid JobId {
    626       get {
    627         return this.JobIdField;
    628       }
    629       set {
    630         if ((this.JobIdField.Equals(value) != true)) {
    631           this.JobIdField = value;
    632           this.RaisePropertyChanged("JobId");
    633         }
    634       }
    635     }
    636 
    637     [System.Runtime.Serialization.DataMemberAttribute()]
    638     public HeuristicLab.Clients.Hive.Permission Permission {
    639       get {
    640         return this.PermissionField;
    641       }
    642       set {
    643         if ((this.PermissionField.Equals(value) != true)) {
    644           this.PermissionField = value;
    645           this.RaisePropertyChanged("Permission");
    646         }
    647       }
    648     }
    649   }
    650 
    651   [System.Diagnostics.DebuggerStepThroughAttribute()]
    652   [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    653   [System.Runtime.Serialization.DataContractAttribute(Name = "PluginData", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
    654   [System.SerializableAttribute()]
    655   public partial class PluginData : HeuristicLab.Clients.Hive.HiveItem {
    656 
    657     [System.Runtime.Serialization.OptionalFieldAttribute()]
    658     private byte[] DataField;
    659 
    660     [System.Runtime.Serialization.OptionalFieldAttribute()]
    661     private string FileNameField;
    662 
    663     [System.Runtime.Serialization.OptionalFieldAttribute()]
    664     private System.Guid PluginIdField;
    665 
    666     [System.Runtime.Serialization.DataMemberAttribute()]
    667     public byte[] Data {
    668       get {
    669         return this.DataField;
    670       }
    671       set {
    672         if ((object.ReferenceEquals(this.DataField, value) != true)) {
    673           this.DataField = value;
    674           this.RaisePropertyChanged("Data");
    675         }
    676       }
    677     }
    678 
    679     [System.Runtime.Serialization.DataMemberAttribute()]
    680     public string FileName {
    681       get {
    682         return this.FileNameField;
    683       }
    684       set {
    685         if ((object.ReferenceEquals(this.FileNameField, value) != true)) {
    686           this.FileNameField = value;
    687           this.RaisePropertyChanged("FileName");
    688         }
    689       }
    690     }
    691 
    692     [System.Runtime.Serialization.DataMemberAttribute()]
    693     public System.Guid PluginId {
    694       get {
    695         return this.PluginIdField;
    696       }
    697       set {
    698         if ((this.PluginIdField.Equals(value) != true)) {
    699           this.PluginIdField = value;
    700           this.RaisePropertyChanged("PluginId");
    701701        }
    702702      }
     
    16641664  public interface IHiveService {
    16651665
     1666    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupResponse")]
     1667    HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId);
     1668
     1669    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaves", ReplyAction = "http://tempuri.org/IHiveService/GetSlavesResponse")]
     1670    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves();
     1671
     1672    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroups", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupsResponse")]
     1673    System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups();
     1674
     1675    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlave", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveResponse")]
     1676    void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave);
     1677
    16661678    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveGroupResponse")]
    16671679    void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup);
     
    16911703    int GetNewHeartbeatInterval(System.Guid slaveId);
    16921704
    1693     [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GrantResourcePermission", ReplyAction = "http://tempuri.org/IHiveService/GrantResourcePermissionResponse")]
    1694     void GrantResourcePermission(System.Guid slaveId, System.Guid grantedUserId);
    1695 
    1696     [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RevokeResourcePermission", ReplyAction = "http://tempuri.org/IHiveService/RevokeResourcePermissionResponse")]
    1697     void RevokeResourcePermission(System.Guid slaveId, System.Guid grantedUserId);
    1698 
    1699     [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlavePermissions", ReplyAction = "http://tempuri.org/IHiveService/GetSlavePermissionsResponse")]
    1700     System.Collections.Generic.List<HeuristicLab.Clients.Hive.ResourcePermission> GetSlavePermissions(System.Guid slaveId);
    1701 
    17021705    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddDowntime", ReplyAction = "http://tempuri.org/IHiveService/AddDowntimeResponse")]
    17031706    System.Guid AddDowntime(HeuristicLab.Clients.Hive.Downtime downtime);
     
    17171720    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetUserIdByUsername", ReplyAction = "http://tempuri.org/IHiveService/GetUserIdByUsernameResponse")]
    17181721    System.Guid GetUserIdByUsername(string username);
     1722
     1723    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AuthorizesForResourceAdministration", ReplyAction = "http://tempuri.org/IHiveService/AuthorizesForResourceAdministrationResponse")]
     1724    bool AuthorizesForResourceAdministration(System.Guid resourceId);
    17191725
    17201726    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddTask", ReplyAction = "http://tempuri.org/IHiveService/AddTaskResponse")]
     
    18241830    void DeletePlugin(System.Guid pluginId);
    18251831
     1832    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GrantResourcePermissions", ReplyAction = "http://tempuri.org/IHiveService/GrantResourcePermissionsResponse")]
     1833    void GrantResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds);
     1834
     1835    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RevokeResourcePermissions", ReplyAction = "http://tempuri.org/IHiveService/RevokeResourcePermissionsResponse")]
     1836    void RevokeResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds);
     1837
     1838    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetResourcePermissions", ReplyAction = "http://tempuri.org/IHiveService/GetResourcePermissionsResponse")]
     1839    System.Collections.Generic.List<HeuristicLab.Clients.Hive.ResourcePermission> GetResourcePermissions(System.Guid resourceId);
     1840
    18261841    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddSlave", ReplyAction = "http://tempuri.org/IHiveService/AddSlaveResponse")]
    18271842    System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave);
     
    18321847    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlave", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveResponse")]
    18331848    HeuristicLab.Clients.Hive.Slave GetSlave(System.Guid slaveId);
    1834 
    1835     [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupResponse")]
    1836     HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId);
    1837 
    1838     [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaves", ReplyAction = "http://tempuri.org/IHiveService/GetSlavesResponse")]
    1839     System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves();
    1840 
    1841     [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroups", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupsResponse")]
    1842     System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups();
    1843 
    1844     [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlave", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveResponse")]
    1845     void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave);
    18461849  }
    18471850
     
    18731876    }
    18741877
     1878    public HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId) {
     1879      return base.Channel.GetSlaveGroup(slaveGroupId);
     1880    }
     1881
     1882    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves() {
     1883      return base.Channel.GetSlaves();
     1884    }
     1885
     1886    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups() {
     1887      return base.Channel.GetSlaveGroups();
     1888    }
     1889
     1890    public void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave) {
     1891      base.Channel.UpdateSlave(slave);
     1892    }
     1893
    18751894    public void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) {
    18761895      base.Channel.UpdateSlaveGroup(slaveGroup);
     
    19091928    }
    19101929
    1911     public void GrantResourcePermission(System.Guid slaveId, System.Guid grantedUserId) {
    1912       base.Channel.GrantResourcePermission(slaveId, grantedUserId);
    1913     }
    1914 
    1915     public void RevokeResourcePermission(System.Guid slaveId, System.Guid grantedUserId) {
    1916       base.Channel.RevokeResourcePermission(slaveId, grantedUserId);
    1917     }
    1918 
    1919     public System.Collections.Generic.List<HeuristicLab.Clients.Hive.ResourcePermission> GetSlavePermissions(System.Guid slaveId) {
    1920       return base.Channel.GetSlavePermissions(slaveId);
    1921     }
    1922 
    19231930    public System.Guid AddDowntime(HeuristicLab.Clients.Hive.Downtime downtime) {
    19241931      return base.Channel.AddDowntime(downtime);
     
    19451952    }
    19461953
     1954    public bool AuthorizesForResourceAdministration(System.Guid resourceId) {
     1955      return base.Channel.AuthorizesForResourceAdministration(resourceId);
     1956    }
     1957
    19471958    public System.Guid AddTask(HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData, System.Collections.Generic.List<System.Guid> resourceIds) {
    19481959      return base.Channel.AddTask(task, taskData, resourceIds);
     
    20852096    }
    20862097
     2098    public void GrantResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds) {
     2099      base.Channel.GrantResourcePermissions(resourceId, grantedUserIds);
     2100    }
     2101
     2102    public void RevokeResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds) {
     2103      base.Channel.RevokeResourcePermissions(resourceId, grantedUserIds);
     2104    }
     2105
     2106    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.ResourcePermission> GetResourcePermissions(System.Guid resourceId) {
     2107      return base.Channel.GetResourcePermissions(resourceId);
     2108    }
     2109
    20872110    public System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave) {
    20882111      return base.Channel.AddSlave(slave);
     
    20962119      return base.Channel.GetSlave(slaveId);
    20972120    }
    2098 
    2099     public HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId) {
    2100       return base.Channel.GetSlaveGroup(slaveGroupId);
    2101     }
    2102 
    2103     public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves() {
    2104       return base.Channel.GetSlaves();
    2105     }
    2106 
    2107     public System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups() {
    2108       return base.Channel.GetSlaveGroups();
    2109     }
    2110 
    2111     public void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave) {
    2112       base.Channel.UpdateSlave(slave);
    2113     }
    21142121  }
    21152122}
Note: See TracChangeset for help on using the changeset viewer.