Changeset 16117 for trunk/HeuristicLab.Services.Hive/3.3/ServiceContracts
- Timestamp:
- 08/30/18 11:32:56 (6 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.Services.Hive
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.Services.Hive/3.3/ServiceContracts/IHiveService.cs
r15583 r16117 31 31 public interface IHiveService { 32 32 #region Task Methods 33 [OperationContract] 34 Guid AddTask(Task task, TaskData taskData, IEnumerable<Guid> resourceIds); 33 34 [OperationContract] 35 Guid AddTask(Task task, TaskData taskData); 35 36 36 37 [OperationContract] … … 78 79 79 80 [OperationContract] 80 Guid AddJob(Job jobDto); 81 82 [OperationContract] 83 void UpdateJob(Job jobDto); 84 85 [OperationContract] 86 void DeleteJob(Guid JobId); 81 IEnumerable<Job> GetJobsByProjectId(Guid projectId); 82 83 [OperationContract] 84 IEnumerable<Job> GetJobsByProjectIds(IEnumerable<Guid> projectIds); 85 86 [OperationContract] 87 Guid AddJob(Job jobDto, IEnumerable<Guid> resourceIds); 88 89 [OperationContract] 90 void UpdateJob(Job jobDto, IEnumerable<Guid> resourceIds); 91 92 [OperationContract] 93 void UpdateJobState(Guid JobId, JobState jobState); 94 95 [OperationContract] 96 void UpdateJobStates(IEnumerable<Guid> jobIds, JobState jobState); 97 98 [OperationContract] 99 IEnumerable<AssignedJobResource> GetAssignedResourcesForJob(Guid jobId); 87 100 #endregion 88 101 … … 132 145 #endregion 133 146 134 #region ResourcePermission Methods 135 [OperationContract] 136 void GrantResourcePermissions(Guid resourceId, Guid[] grantedUserIds); 137 138 [OperationContract] 139 void RevokeResourcePermissions(Guid resourceId, Guid[] grantedUserIds); 140 141 [OperationContract] 142 IEnumerable<ResourcePermission> GetResourcePermissions(Guid resourceId); 147 #region Project Methods 148 [OperationContract] 149 Guid AddProject(Project projectDto); 150 151 [OperationContract] 152 void UpdateProject(Project projectDto); 153 154 [OperationContract] 155 void DeleteProject(Guid projectId); 156 157 [OperationContract] 158 Project GetProject(Guid projectId); 159 160 [OperationContract] 161 IEnumerable<Project> GetProjects(); 162 163 [OperationContract] 164 IEnumerable<Project> GetProjectsForAdministration(); 165 166 [OperationContract] 167 IDictionary<Guid, HashSet<Guid>> GetProjectGenealogy(); 168 169 [OperationContract] 170 IDictionary<Guid, string> GetProjectNames(); 171 #endregion 172 173 #region ProjectPermission Methods 174 [OperationContract] 175 void SaveProjectPermissions(Guid projectId, List<Guid> grantedUserIds, bool reassign, bool cascading, bool reassignCascading); 176 177 //[OperationContract] 178 //void GrantProjectPermissions(Guid projectId, List<Guid> grantedUserIds, bool cascading); 179 180 //[OperationContract] 181 //void RevokeProjectPermissions(Guid projectId, List<Guid> grantedUserIds, bool cascading); 182 183 [OperationContract] 184 IEnumerable<ProjectPermission> GetProjectPermissions(Guid projectId); 185 #endregion 186 187 #region AssignedProjectResource Methods 188 [OperationContract] 189 void SaveProjectResourceAssignments(Guid projectId, List<Guid> resourceIds, bool reassign, bool cascading, bool reassignCascading); 190 191 //[OperationContract] 192 //void AssignProjectResources(Guid projectId, List<Guid> resourceIds, bool cascading); 193 194 //[OperationContract] 195 //void UnassignProjectResources(Guid projectId, List<Guid> resourceIds, bool cascading); 196 197 [OperationContract] 198 IEnumerable<AssignedProjectResource> GetAssignedResourcesForProject(Guid projectId); 199 200 [OperationContract] 201 IEnumerable<AssignedProjectResource> GetAssignedResourcesForProjectAdministration(Guid projectId); 202 203 [OperationContract] 204 IEnumerable<AssignedProjectResource> GetAssignedResourcesForProjectsAdministration(IEnumerable<Guid> projectIds); 143 205 #endregion 144 206 … … 160 222 161 223 [OperationContract] 224 IEnumerable<Slave> GetSlavesForAdministration(); 225 226 [OperationContract] 227 IEnumerable<SlaveGroup> GetSlaveGroupsForAdministration(); 228 229 [OperationContract] 230 IDictionary<Guid, HashSet<Guid>> GetResourceGenealogy(); 231 232 [OperationContract] 233 IDictionary<Guid, string> GetResourceNames(); 234 235 [OperationContract] 162 236 void UpdateSlave(Slave slave); 163 237 … … 207 281 [OperationContract] 208 282 Guid GetUserIdByUsername(string username); 283 284 [OperationContract] 285 Dictionary<Guid, HashSet<Guid>> GetUserGroupTree(); 286 287 [OperationContract] 288 bool CheckAccessToAdminAreaGranted(); 209 289 #endregion 210 290
Note: See TracChangeset
for help on using the changeset viewer.