Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/20/09 13:37:39 (16 years ago)
Author:
svonolfe
Message:

Created Heuristiclab DB Core (refactoring) #527

Location:
trunk/sources/HeuristicLab.Hive.Contracts
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Contracts/BusinessObjects/ClientConfig.cs

    r1175 r1377  
    2525using System.Text;
    2626using System.Runtime.Serialization;
     27using HeuristicLab.DataAccess;
    2728
    2829namespace HeuristicLab.Hive.Contracts.BusinessObjects {
    2930
    3031  [DataContract]
    31   public class ClientConfig: HiveBaseObject {
     32  public class ClientConfig : PersistableObject {
    3233    [DataMember]
    3334    public String UpDownTimeCalendar { get; set; } // TODO define DataStructure
  • trunk/sources/HeuristicLab.Hive.Contracts/BusinessObjects/Job.cs

    r1175 r1377  
    2525using System.Text;
    2626using System.Runtime.Serialization;
     27using HeuristicLab.DataAccess;
    2728
    2829namespace HeuristicLab.Hive.Contracts.BusinessObjects {
    2930
    3031  [DataContract]
    31   public class Job : HiveBaseObject {
     32  public class Job : PersistableObject {
    3233    [DataMember]
    3334    public State State { get; set; }
    3435    [DataMember]
    35     public User User { get; set; }
     36    public Guid UserId { get; set; }
    3637    [DataMember]
    3738    public ClientInfo Client { get; set; }
  • trunk/sources/HeuristicLab.Hive.Contracts/BusinessObjects/JobResult.cs

    r1175 r1377  
    2525using System.Text;
    2626using System.Runtime.Serialization;
     27using HeuristicLab.DataAccess;
    2728
    2829namespace HeuristicLab.Hive.Contracts.BusinessObjects {
    2930
    3031  [DataContract]
    31   public class JobResult: HiveBaseObject {
     32  public class JobResult : PersistableObject {
    3233    [DataMember]
    3334    public Job Job { get; set; }
  • trunk/sources/HeuristicLab.Hive.Contracts/BusinessObjects/Resource.cs

    r1175 r1377  
    2525using System.Text;
    2626using System.Runtime.Serialization;
     27using HeuristicLab.DataAccess;
    2728
    2829namespace HeuristicLab.Hive.Contracts.BusinessObjects {
    2930
    3031  [DataContract]
    31   public class Resource: HiveBaseObject {
     32  public class Resource : PersistableObject {
    3233    [DataMember]
    3334    public string Name { get; set; }
  • trunk/sources/HeuristicLab.Hive.Contracts/BusinessObjects/UpTimeStatistics.cs

    r995 r1377  
    2525using System.Text;
    2626using System.Runtime.Serialization;
     27using HeuristicLab.DataAccess;
    2728
    2829namespace HeuristicLab.Hive.Contracts.BusinessObjects {
    2930
    3031  [DataContract]
    31   public class UpTimeStatistics: IHiveObject {
    32     [DataMember]
    33     public long Id { get; set; }
     32  public class UpTimeStatistics : PersistableObject {
    3433    [DataMember]
    3534    public ClientInfo Client { get; set; }
  • trunk/sources/HeuristicLab.Hive.Contracts/HeuristicLab.Hive.Contracts.csproj

    r1369 r1377  
    7171  <ItemGroup>
    7272    <Compile Include="ApplicationConstants.cs" />
    73     <Compile Include="BusinessObjects\GrantedPermissions.cs" />
    7473    <Compile Include="BusinessObjects\ClientGroup.cs" />
    7574    <Compile Include="BusinessObjects\HeartBeatData.cs" />
    76     <Compile Include="BusinessObjects\HiveBaseObject.cs" />
    77     <Compile Include="BusinessObjects\IHiveObject.cs" />
    7875    <Compile Include="BusinessObjects\Job.cs" />
    7976    <Compile Include="BusinessObjects\JobResult.cs" />
    80     <Compile Include="BusinessObjects\Permission.cs" />
    81     <Compile Include="BusinessObjects\PermissionOwner.cs" />
    8277    <Compile Include="BusinessObjects\Resource.cs" />
    8378    <Compile Include="BusinessObjects\UpTimeStatistics.cs" />
    8479    <Compile Include="BusinessObjects\Client.cs" />
    8580    <Compile Include="BusinessObjects\ClientConfig.cs" />
    86     <Compile Include="BusinessObjects\User.cs" />
    87     <Compile Include="BusinessObjects\UserGroup.cs" />
    8881    <Compile Include="Interfaces\IClientFacade.cs" />
    8982    <Compile Include="Interfaces\IExecutionEngineFacade.cs" />
     
    9487    <Compile Include="Interfaces\IServerConsoleFacade.cs" />
    9588    <Compile Include="Interfaces\ITransactionManager.cs" />
    96     <Compile Include="Interfaces\IUserRoleManager.cs" />
    9789    <Compile Include="MessageContainer.cs" />
    9890    <Compile Include="ResponseJob.cs" />
     
    110102      <Project>{F43B59AB-2B8C-4570-BC1E-15592086517C}</Project>
    111103      <Name>HeuristicLab.Core</Name>
     104    </ProjectReference>
     105    <ProjectReference Include="..\HeuristicLab.DataAccess\HeuristicLab.DataAccess.csproj">
     106      <Project>{9076697B-C151-46CD-95BC-1D059492B478}</Project>
     107      <Name>HeuristicLab.DataAccess</Name>
    112108    </ProjectReference>
    113109    <ProjectReference Include="..\HeuristicLab.PluginInfrastructure\HeuristicLab.PluginInfrastructure.csproj">
  • trunk/sources/HeuristicLab.Hive.Contracts/Interfaces/ILifecycleManager.cs

    r1133 r1377  
    2424using System.Linq;
    2525using System.Text;
     26using HeuristicLab.DataAccess.Interfaces;
    2627
    2728namespace HeuristicLab.Hive.Contracts.Interfaces {   
     
    5455    /// </summary>
    5556    /// <returns></returns>
    56     ITransactionManager GetTransactionManager();
     57    IDBSynchronizer GetDBSynchronizer();
    5758
    5859    /// <summary>
  • trunk/sources/HeuristicLab.Hive.Contracts/Interfaces/IServerConsoleFacade.cs

    r1086 r1377  
    3333  [ServiceContract(SessionMode=SessionMode.Required)]
    3434  public interface IServerConsoleFacade : IClientManager,
    35     IJobManager,
    36     IUserRoleManager {
     35    IJobManager {
    3736    [OperationContract]
    3837    Response Login(String username, String password);
Note: See TracChangeset for help on using the changeset viewer.