Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/08/11 12:39:33 (13 years ago)
Author:
ascheibe
Message:

#1233 added Appointment/Schedule ws and dao methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/HiveServiceClient.cs

    r5614 r5633  
    2020        "nsfer")]
    2121    [System.SerializableAttribute()]
     22    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Appointment))]
    2223    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.LightweightJob))]
    2324    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.StateLog))]
     
    7677            {
    7778                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
     79            }
     80        }
     81    }
     82   
     83    [System.Diagnostics.DebuggerStepThroughAttribute()]
     84    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     85    [System.Runtime.Serialization.DataContractAttribute(Name="Appointment", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +
     86        "nsfer")]
     87    [System.SerializableAttribute()]
     88    public partial class Appointment : HeuristicLab.Clients.Hive.HiveItem
     89    {
     90       
     91        [System.Runtime.Serialization.OptionalFieldAttribute()]
     92        private bool AllDayEventField;
     93       
     94        [System.Runtime.Serialization.OptionalFieldAttribute()]
     95        private System.DateTime EndDateField;
     96       
     97        [System.Runtime.Serialization.OptionalFieldAttribute()]
     98        private bool RecurringField;
     99       
     100        [System.Runtime.Serialization.OptionalFieldAttribute()]
     101        private System.Guid RecurringIdField;
     102       
     103        [System.Runtime.Serialization.OptionalFieldAttribute()]
     104        private System.Guid ResourceIdField;
     105       
     106        [System.Runtime.Serialization.OptionalFieldAttribute()]
     107        private System.DateTime StartDateField;
     108       
     109        [System.Runtime.Serialization.DataMemberAttribute()]
     110        public bool AllDayEvent
     111        {
     112            get
     113            {
     114                return this.AllDayEventField;
     115            }
     116            set
     117            {
     118                if ((this.AllDayEventField.Equals(value) != true))
     119                {
     120                    this.AllDayEventField = value;
     121                    this.RaisePropertyChanged("AllDayEvent");
     122                }
     123            }
     124        }
     125       
     126        [System.Runtime.Serialization.DataMemberAttribute()]
     127        public System.DateTime EndDate
     128        {
     129            get
     130            {
     131                return this.EndDateField;
     132            }
     133            set
     134            {
     135                if ((this.EndDateField.Equals(value) != true))
     136                {
     137                    this.EndDateField = value;
     138                    this.RaisePropertyChanged("EndDate");
     139                }
     140            }
     141        }
     142       
     143        [System.Runtime.Serialization.DataMemberAttribute()]
     144        public bool Recurring
     145        {
     146            get
     147            {
     148                return this.RecurringField;
     149            }
     150            set
     151            {
     152                if ((this.RecurringField.Equals(value) != true))
     153                {
     154                    this.RecurringField = value;
     155                    this.RaisePropertyChanged("Recurring");
     156                }
     157            }
     158        }
     159       
     160        [System.Runtime.Serialization.DataMemberAttribute()]
     161        public System.Guid RecurringId
     162        {
     163            get
     164            {
     165                return this.RecurringIdField;
     166            }
     167            set
     168            {
     169                if ((this.RecurringIdField.Equals(value) != true))
     170                {
     171                    this.RecurringIdField = value;
     172                    this.RaisePropertyChanged("RecurringId");
     173                }
     174            }
     175        }
     176       
     177        [System.Runtime.Serialization.DataMemberAttribute()]
     178        public System.Guid ResourceId
     179        {
     180            get
     181            {
     182                return this.ResourceIdField;
     183            }
     184            set
     185            {
     186                if ((this.ResourceIdField.Equals(value) != true))
     187                {
     188                    this.ResourceIdField = value;
     189                    this.RaisePropertyChanged("ResourceId");
     190                }
     191            }
     192        }
     193       
     194        [System.Runtime.Serialization.DataMemberAttribute()]
     195        public System.DateTime StartDate
     196        {
     197            get
     198            {
     199                return this.StartDateField;
     200            }
     201            set
     202            {
     203                if ((this.StartDateField.Equals(value) != true))
     204                {
     205                    this.StartDateField = value;
     206                    this.RaisePropertyChanged("StartDate");
     207                }
    78208            }
    79209        }
     
    14651595        void TriggerLifecycle();
    14661596       
     1597        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddAppointment", ReplyAction="http://tempuri.org/IHiveService/AddAppointmentResponse")]
     1598        System.Guid AddAppointment(HeuristicLab.Clients.Hive.Appointment appointment);
     1599       
     1600        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/DeleteAppointment", ReplyAction="http://tempuri.org/IHiveService/DeleteAppointmentResponse")]
     1601        void DeleteAppointment(System.Guid appointmentId);
     1602       
     1603        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateAppointment", ReplyAction="http://tempuri.org/IHiveService/UpdateAppointmentResponse")]
     1604        void UpdateAppointment(HeuristicLab.Clients.Hive.Appointment appointment);
     1605       
     1606        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetScheduleForResource", ReplyAction="http://tempuri.org/IHiveService/GetScheduleForResourceResponse")]
     1607        System.Collections.Generic.List<HeuristicLab.Clients.Hive.Appointment> GetScheduleForResource(System.Guid resourceId);
     1608       
    14671609        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddJob", ReplyAction="http://tempuri.org/IHiveService/AddJobResponse")]
    14681610        System.Guid AddJob(HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData, System.Collections.Generic.List<System.Guid> resourceIds);
     
    16391781        }
    16401782       
     1783        public System.Guid AddAppointment(HeuristicLab.Clients.Hive.Appointment appointment)
     1784        {
     1785            return base.Channel.AddAppointment(appointment);
     1786        }
     1787       
     1788        public void DeleteAppointment(System.Guid appointmentId)
     1789        {
     1790            base.Channel.DeleteAppointment(appointmentId);
     1791        }
     1792       
     1793        public void UpdateAppointment(HeuristicLab.Clients.Hive.Appointment appointment)
     1794        {
     1795            base.Channel.UpdateAppointment(appointment);
     1796        }
     1797       
     1798        public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Appointment> GetScheduleForResource(System.Guid resourceId)
     1799        {
     1800            return base.Channel.GetScheduleForResource(resourceId);
     1801        }
     1802       
    16411803        public System.Guid AddJob(HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData, System.Collections.Generic.List<System.Guid> resourceIds)
    16421804        {
Note: See TracChangeset for help on using the changeset viewer.