Coverage Report - org.kuali.student.r2.core.process.service.ProcessServiceMockImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
ProcessServiceMockImpl
0%
0/149
0%
0/48
2.25
ProcessServiceMockImpl$1
N/A
N/A
2.25
ProcessServiceMockImpl$PositionComparator
0%
0/10
0%
0/4
2.25
 
 1  
 /*
 2  
  * To change this template, choose Tools | Templates
 3  
  * and open the template in the editor.
 4  
  */
 5  
 package org.kuali.student.r2.core.process.service;
 6  
 
 7  
 import java.util.ArrayList;
 8  
 import java.util.Collections;
 9  
 import java.util.Comparator;
 10  
 import java.util.Date;
 11  
 import java.util.HashMap;
 12  
 import java.util.List;
 13  
 import java.util.Map;
 14  
 import org.kuali.rice.core.api.criteria.QueryByCriteria;
 15  
 import org.kuali.student.r2.common.dto.ContextInfo;
 16  
 import org.kuali.student.r2.common.dto.MetaInfo;
 17  
 
 18  
 import org.kuali.student.r2.common.dto.StatusInfo;
 19  
 
 20  
 import org.kuali.student.r2.common.dto.ValidationResultInfo;
 21  
 import org.kuali.student.r2.common.exceptions.AlreadyExistsException;
 22  
 import org.kuali.student.r2.common.exceptions.DataValidationErrorException;
 23  
 import org.kuali.student.r2.common.exceptions.DependentObjectsExistException;
 24  
 import org.kuali.student.r2.common.exceptions.DoesNotExistException;
 25  
 import org.kuali.student.r2.common.exceptions.InvalidParameterException;
 26  
 import org.kuali.student.r2.common.exceptions.MissingParameterException;
 27  
 import org.kuali.student.r2.common.exceptions.OperationFailedException;
 28  
 import org.kuali.student.r2.common.exceptions.PermissionDeniedException;
 29  
 import org.kuali.student.r2.common.exceptions.ReadOnlyException;
 30  
 import org.kuali.student.r2.common.exceptions.VersionMismatchException;
 31  
 import org.kuali.student.r2.common.util.constants.ProcessServiceConstants;
 32  
 import org.kuali.student.r2.core.process.dto.CheckInfo;
 33  
 import org.kuali.student.r2.core.process.dto.InstructionInfo;
 34  
 import org.kuali.student.r2.core.process.dto.ProcessCategoryInfo;
 35  
 import org.kuali.student.r2.core.process.dto.ProcessInfo;
 36  
 
 37  
 /**
 38  
  *
 39  
  * @author nwright
 40  
  */
 41  0
 public class ProcessServiceMockImpl implements ProcessService {
 42  
 
 43  0
     private Map<String, CheckInfo> checks = new HashMap<String, CheckInfo>();
 44  0
     private Map<String, ProcessInfo> processes = new HashMap<String, ProcessInfo>();
 45  0
     private Map<String, InstructionInfo> instructions = new HashMap<String, InstructionInfo>();
 46  
 //    private Map<String, ProcessCategoryInfo> categories = new HashMap<String,ProcessCategoryInfo> ();
 47  
 //    private Map<String, String> processCategoryMap = new HashMap<String,String> ();    
 48  
 
 49  
 
 50  
     private MetaInfo newMeta(ContextInfo context) {
 51  0
         MetaInfo meta = new MetaInfo();
 52  0
         meta.setCreateId(context.getPrincipalId());
 53  0
         meta.setCreateTime(new Date());
 54  0
         meta.setUpdateId(context.getPrincipalId());
 55  0
         meta.setUpdateTime(meta.getCreateTime());
 56  0
         meta.setVersionInd("0");
 57  0
         return meta;
 58  
     }
 59  
 
 60  
     private StatusInfo newStatus() {
 61  0
         StatusInfo status = new StatusInfo();
 62  0
         status.setSuccess(Boolean.TRUE);
 63  0
         return status;
 64  
     }
 65  
 
 66  
     private MetaInfo updateMeta(MetaInfo old, ContextInfo context) {
 67  0
         MetaInfo meta = new MetaInfo(old);
 68  0
         meta.setUpdateId(context.getPrincipalId());
 69  0
         meta.setUpdateTime(new Date());
 70  0
         meta.setVersionInd((Integer.parseInt(meta.getVersionInd()) + 1) + "");
 71  0
         return meta;
 72  
     }
 73  
 
 74  
     @Override
 75  
     public StatusInfo addProcessToProcessCategory(String processKey, String processCategoryId, ContextInfo contextInfo) throws AlreadyExistsException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 76  0
         throw new UnsupportedOperationException("Not supported yet.");
 77  
     }
 78  
 
 79  
     @Override
 80  
     public CheckInfo createCheck(String checkTypeKey, CheckInfo checkInfo, ContextInfo contextInfo) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException {
 81  
 
 82  0
         CheckInfo copy = new CheckInfo(checkInfo);
 83  0
         copy.setId(checks.size() + "");
 84  0
         copy.setTypeKey(checkTypeKey);
 85  0
         copy.setMeta(newMeta(contextInfo));
 86  0
         checks.put(copy.getId(), copy);
 87  0
         return new CheckInfo(copy);
 88  
     }
 89  
 
 90  
     @Override
 91  
     public InstructionInfo createInstruction(String processKey, String checkId, String instructionTypeKey, InstructionInfo instructionInfo, ContextInfo contextInfo) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException {
 92  0
         InstructionInfo copy = new InstructionInfo(instructionInfo);
 93  0
         copy.setId(instructions.size() + "");
 94  0
         copy.setTypeKey(instructionTypeKey);
 95  0
         copy.setMeta(newMeta(contextInfo));
 96  0
         instructions.put(copy.getId(), copy);
 97  0
         return new InstructionInfo(copy);
 98  
     }
 99  
 
 100  
     @Override
 101  
     public ProcessInfo createProcess(String processKey, String processTypeKey, ProcessInfo processInfo, ContextInfo contextInfo) throws AlreadyExistsException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException {
 102  0
         if (processes.containsKey(processInfo.getKey())) {
 103  0
             throw new AlreadyExistsException(processInfo.getKey());
 104  
         }
 105  0
         ProcessInfo copy = new ProcessInfo(processInfo);
 106  0
         copy.setKey(processKey);
 107  0
         copy.setTypeKey(processTypeKey);
 108  0
         copy.setMeta(newMeta(contextInfo));
 109  0
         processes.put(copy.getKey(), copy);
 110  0
         return new ProcessInfo(copy);
 111  
     }
 112  
 
 113  
     @Override
 114  
     public ProcessCategoryInfo createProcessCategory(String processCategoryTypeKey, ProcessCategoryInfo processInfo, ContextInfo contextInfo) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException {
 115  0
         throw new UnsupportedOperationException("Not supported yet.");
 116  
     }
 117  
 
 118  
     @Override
 119  
     public StatusInfo deleteCheck(String checkId, ContextInfo contextInfo) throws DependentObjectsExistException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 120  0
         if (this.checks.remove(checkId) == null) {
 121  0
             throw new DoesNotExistException(checkId);
 122  
         }
 123  0
         return newStatus();
 124  
     }
 125  
 
 126  
     @Override
 127  
     public StatusInfo deleteInstruction(String instructionId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 128  0
         if (this.instructions.remove(instructionId) == null) {
 129  0
             throw new DoesNotExistException(instructionId);
 130  
         }
 131  0
         return newStatus();
 132  
     }
 133  
 
 134  
     @Override
 135  
     public StatusInfo deleteProcess(String processKey, ContextInfo contextInfo) throws DependentObjectsExistException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 136  0
         if (this.processes.remove(processKey) == null) {
 137  0
             throw new DoesNotExistException(processKey);
 138  
         }
 139  0
         return newStatus();
 140  
     }
 141  
 
 142  
     @Override
 143  
     public StatusInfo deleteProcessCategory(String processCategoryId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 144  0
         throw new UnsupportedOperationException("Not supported yet.");
 145  
     }
 146  
 
 147  
     @Override
 148  
     public CheckInfo getCheck(String checkId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 149  0
         CheckInfo info = this.checks.get(checkId);
 150  0
         if (info == null) {
 151  0
             throw new DoesNotExistException(checkId);
 152  
         }
 153  0
         return new CheckInfo(info);
 154  
     }
 155  
 
 156  
     @Override
 157  
     public List<String> getCheckKeysByType(String checkTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 158  0
         throw new UnsupportedOperationException("Not supported yet.");
 159  
     }
 160  
 
 161  
     @Override
 162  
     public List<CheckInfo> getChecksByIds(List<String> checkIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 163  0
         throw new UnsupportedOperationException("Not supported yet.");
 164  
     }
 165  
 
 166  
     @Override
 167  
     public InstructionInfo getInstruction(String instructionId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 168  0
         InstructionInfo info = this.instructions.get(instructionId);
 169  0
         if (info == null) {
 170  0
             throw new DoesNotExistException(instructionId);
 171  
         }
 172  0
         return new InstructionInfo(info);
 173  
     }
 174  
 
 175  
     @Override
 176  
     public List<String> getInstructionIdsByType(String instructionTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 177  0
         List<String> list = new ArrayList<String>();
 178  0
         for (InstructionInfo info : this.instructions.values()) {
 179  0
             if (info.getTypeKey().equals(instructionTypeKey)) {
 180  0
                 list.add(info.getId());
 181  
             }
 182  
         }
 183  0
         return list;
 184  
     }
 185  
 
 186  
     @Override
 187  
     public List<InstructionInfo> getInstructionsByCheck(String checkId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 188  0
         List<InstructionInfo> list = new ArrayList<InstructionInfo>();
 189  0
         for (InstructionInfo info : this.instructions.values()) {
 190  0
             if (info.getCheckKey().equals(checkId)) {
 191  0
                 list.add(info);
 192  
             }
 193  
         }
 194  0
         return list;
 195  
     }
 196  
 
 197  
     @Override
 198  
     public List<InstructionInfo> getInstructionsByIds(List<String> instructionIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 199  0
         List<InstructionInfo> list = new ArrayList<InstructionInfo>();
 200  0
         for (String id : instructionIds) {
 201  0
             InstructionInfo info = this.getInstruction(id, contextInfo);
 202  0
             list.add(info);
 203  0
         }
 204  0
         return list;
 205  
     }
 206  
 
 207  
     @Override
 208  
     public List<InstructionInfo> getInstructionsByProcess(String processKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 209  0
         List<InstructionInfo> list = new ArrayList<InstructionInfo>();
 210  0
         for (InstructionInfo info : this.instructions.values()) {
 211  0
             if (info.getProcessKey().equals(processKey)) {
 212  0
                 list.add(info);
 213  
             }
 214  
         }
 215  0
         return list;
 216  
     }
 217  
 
 218  
     @Override
 219  
     public List<InstructionInfo> getInstructionsByProcessAndCheck(String checkId, String processKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 220  0
         List<InstructionInfo> list = new ArrayList<InstructionInfo>();
 221  0
         for (InstructionInfo info : this.getInstructionsByCheck(checkId, contextInfo)) {
 222  0
             if (info.getProcessKey().equals(processKey)) {
 223  0
                 list.add(info);
 224  
             }
 225  
         }
 226  0
         return list;
 227  
     }
 228  
 
 229  
     @Override
 230  
     public List<InstructionInfo> getInstructionsForEvaluation(String processKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 231  0
         List<InstructionInfo> list = new ArrayList<InstructionInfo>();
 232  0
         for (InstructionInfo info : this.getInstructionsByProcess(processKey, contextInfo)) {
 233  0
             if (info.getStateKey().equals(ProcessServiceConstants.INSTRUCTION_ENABLED_STATE_KEY)) {
 234  0
                 list.add(info);
 235  
             }
 236  
         }
 237  0
         Collections.sort(list, new PositionComparator ());
 238  0
         return list;
 239  
     }
 240  
 
 241  0
     private static class PositionComparator implements Comparator {
 242  
 
 243  
         @Override
 244  
         public int compare(Object o1, Object o2) {
 245  0
             InstructionInfo info1 = (InstructionInfo) o1;
 246  
             
 247  0
             InstructionInfo info2 = (InstructionInfo) o2;
 248  0
             Integer i1 = info1.getPosition();
 249  0
             if (i1 == null) {
 250  0
                 i1 = 0;
 251  
             }
 252  0
             Integer i2 = info2.getPosition();
 253  0
             if (i2 == null) {
 254  0
                 i2 = 0;
 255  
             }
 256  0
             return i1.compareTo(i2);
 257  
         }   
 258  
     }
 259  
     
 260  
     @Override
 261  
     public ProcessInfo getProcess(String processKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 262  0
         ProcessInfo info = this.processes.get(processKey);
 263  0
         if (info == null) {
 264  0
             throw new DoesNotExistException(processKey);
 265  
         }
 266  0
         return new ProcessInfo(info);
 267  
     }
 268  
 
 269  
     @Override
 270  
     public List<ProcessCategoryInfo> getProcessCategoriesByIds(List<String> processCategoryIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 271  0
         throw new UnsupportedOperationException("Not supported yet.");
 272  
     }
 273  
 
 274  
     @Override
 275  
     public List<ProcessCategoryInfo> getProcessCategoriesForProcess(String processKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 276  0
         throw new UnsupportedOperationException("Not supported yet.");
 277  
     }
 278  
 
 279  
     @Override
 280  
     public ProcessCategoryInfo getProcessCategory(String processCategoryId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 281  0
         throw new UnsupportedOperationException("Not supported yet.");
 282  
     }
 283  
 
 284  
     @Override
 285  
     public List<String> getProcessCategoryIdsByType(String processTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 286  0
         throw new UnsupportedOperationException("Not supported yet.");
 287  
     }
 288  
 
 289  
     @Override
 290  
     public List<String> getProcessKeysByType(String processTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 291  0
         List<String> list = new ArrayList<String>();
 292  0
         for (ProcessInfo info : this.processes.values()) {
 293  0
             if (info.getTypeKey().equals(processTypeKey)) {
 294  0
                 list.add(info.getKey());
 295  
             }
 296  
         }
 297  0
         return list;
 298  
     }
 299  
 
 300  
     @Override
 301  
     public List<ProcessInfo> getProcessesByKeys(List<String> processKeys, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 302  0
         List<ProcessInfo> list = new ArrayList<ProcessInfo>();
 303  0
         for (String key : processKeys) {
 304  0
             ProcessInfo info = this.getProcess(key, contextInfo);
 305  0
             list.add(info);
 306  0
         }
 307  0
         return list;
 308  
     }
 309  
 
 310  
     @Override
 311  
     public List<ProcessInfo> getProcessesForProcessCategory(String processCategoryId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 312  0
         throw new UnsupportedOperationException("Not supported yet.");
 313  
     }
 314  
 
 315  
     @Override
 316  
     public StatusInfo removeProcessFromProcessCategory(String processKey, String processCategoryId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 317  0
         throw new UnsupportedOperationException("Not supported yet.");
 318  
     }
 319  
 
 320  
     @Override
 321  
     public List<String> searchForCheckKeys(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 322  0
         throw new UnsupportedOperationException("Not supported yet.");
 323  
     }
 324  
 
 325  
     @Override
 326  
     public List<CheckInfo> searchForChecks(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 327  0
         throw new UnsupportedOperationException("Not supported yet.");
 328  
     }
 329  
 
 330  
     @Override
 331  
     public List<String> searchForInstructionIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 332  0
         throw new UnsupportedOperationException("Not supported yet.");
 333  
     }
 334  
 
 335  
     @Override
 336  
     public List<InstructionInfo> searchForInstructions(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 337  0
         throw new UnsupportedOperationException("Not supported yet.");
 338  
     }
 339  
 
 340  
     @Override
 341  
     public List<ProcessCategoryInfo> searchForProcessCategories(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 342  0
         throw new UnsupportedOperationException("Not supported yet.");
 343  
     }
 344  
 
 345  
     @Override
 346  
     public List<String> searchForProcessCategoryIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 347  0
         throw new UnsupportedOperationException("Not supported yet.");
 348  
     }
 349  
 
 350  
     @Override
 351  
     public List<String> searchForProcessKeys(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 352  0
         throw new UnsupportedOperationException("Not supported yet.");
 353  
     }
 354  
 
 355  
     @Override
 356  
     public List<ProcessInfo> searchForProcesss(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 357  0
         throw new UnsupportedOperationException("Not supported yet.");
 358  
     }
 359  
 
 360  
     @Override
 361  
     public CheckInfo updateCheck(String checkId, CheckInfo checkInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException {
 362  0
         CheckInfo copy = new CheckInfo(checkInfo);
 363  0
         CheckInfo old = this.getCheck(checkId, contextInfo);
 364  0
         if (!old.getMeta().getVersionInd().equals(copy.getMeta().getVersionInd())) {
 365  0
             throw new VersionMismatchException(old.getMeta().getVersionInd());
 366  
         }
 367  0
         copy.setMeta(updateMeta(copy.getMeta(), contextInfo));
 368  0
         this.checks.put(checkInfo.getId(), copy);
 369  0
         return new CheckInfo(copy);
 370  
     }
 371  
 
 372  
     @Override
 373  
     public InstructionInfo updateInstruction(String instructionId, InstructionInfo instructionInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException {
 374  0
         InstructionInfo copy = new InstructionInfo(instructionInfo);
 375  0
         InstructionInfo old = this.getInstruction(instructionId, contextInfo);
 376  0
         if (!old.getMeta().getVersionInd().equals(copy.getMeta().getVersionInd())) {
 377  0
             throw new VersionMismatchException(old.getMeta().getVersionInd());
 378  
         }
 379  0
         copy.setMeta(updateMeta(copy.getMeta(), contextInfo));
 380  0
         this.instructions.put(instructionInfo.getId(), copy);
 381  0
         return new InstructionInfo(copy);
 382  
     }
 383  
 
 384  
     @Override
 385  
     public ProcessInfo updateProcess(String processKey, ProcessInfo processInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException {
 386  0
         ProcessInfo copy = new ProcessInfo(processInfo);
 387  0
         ProcessInfo old = this.getProcess(processKey, contextInfo);
 388  0
         if (!old.getMeta().getVersionInd().equals(copy.getMeta().getVersionInd())) {
 389  0
             throw new VersionMismatchException(old.getMeta().getVersionInd());
 390  
         }
 391  0
         copy.setMeta(updateMeta(copy.getMeta(), contextInfo));
 392  0
         this.processes.put(processInfo.getKey(), copy);
 393  0
         return new ProcessInfo(copy);
 394  
     }
 395  
 
 396  
     @Override
 397  
     public ProcessCategoryInfo updateProcessCategory(String processCategoryId, ProcessCategoryInfo processInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException {
 398  0
         throw new UnsupportedOperationException("Not supported yet.");
 399  
     }
 400  
 
 401  
     @Override
 402  
     public List<ValidationResultInfo> validateCheck(String validationTypeKey, String checkTypeKey, CheckInfo checkInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 403  0
         throw new UnsupportedOperationException("Not supported yet.");
 404  
     }
 405  
 
 406  
     @Override
 407  
     public List<ValidationResultInfo> validateInstruction(String validationTypeKey, String processKey, String checkId, String instructionTypeKey, InstructionInfo instructionInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 408  0
         throw new UnsupportedOperationException("Not supported yet.");
 409  
     }
 410  
 
 411  
     @Override
 412  
     public List<ValidationResultInfo> validateProcess(String validationTypeKey, String processTypeKey, ProcessInfo processInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 413  0
         throw new UnsupportedOperationException("Not supported yet.");
 414  
     }
 415  
 
 416  
     @Override
 417  
     public List<ValidationResultInfo> validateProcessCategory(String validationTypeKey, String processCategoryTypeKey, ProcessCategoryInfo processCategoryInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 418  0
         throw new UnsupportedOperationException("Not supported yet.");
 419  
     }
 420  
 }