org.kuali.student.enrollment.lpr.mock
Class LuiPersonRelationServiceUnimplemented

java.lang.Object
  extended by org.kuali.student.enrollment.lpr.mock.LuiPersonRelationServiceUnimplemented
All Implemented Interfaces:
StateService, TypeService, DataDictionaryService, LuiPersonRelationService

public class LuiPersonRelationServiceUnimplemented
extends Object
implements LuiPersonRelationService

Used for the bottom layer of a stack to catch and throw an error instead of a null pointer

Author:
nwright

Constructor Summary
LuiPersonRelationServiceUnimplemented()
           
 
Method Summary
 List<String> createBulkRelationshipsForLui(String luiId, List<String> personIdList, String relationState, String luiPersonRelationType, LuiPersonRelationInfo luiPersonRelationInfo, ContextInfo context)
           
 List<String> createBulkRelationshipsForPerson(String personId, List<String> luiIdList, String relationState, String luiPersonRelationType, LuiPersonRelationInfo luiPersonRelationInfo, ContextInfo context)
           
 String createLuiPersonRelation(String personId, String luiId, String luiPersonRelationType, LuiPersonRelationInfo luiPersonRelationInfo, ContextInfo context)
           
 StatusInfo deleteLuiPersonRelation(String luiPersonRelationId, ContextInfo context)
           
 LuiPersonRelationInfo fetchLuiPersonRelation(String luiPersonRelationId, ContextInfo context)
           
 List<String> findAllValidLuisForPerson(String personId, String luiPersonRelationType, String relationState, String atpId, ContextInfo context)
           
 List<String> findLuiIdsRelatedToPerson(String personId, String luiPersonRelationType, String relationState, ContextInfo context)
           
 List<String> findLuiPersonRelationIds(String personId, String luiId, ContextInfo context)
           
 List<String> findLuiPersonRelationIdsForLui(String luiId, ContextInfo context)
           
 List<String> findLuiPersonRelationIdsForPerson(String personId, ContextInfo context)
           
 List<LuiPersonRelationInfo> findLuiPersonRelations(String personId, String luiId, ContextInfo context)
           
 List<LuiPersonRelationInfo> findLuiPersonRelationsByIdList(List<String> luiPersonRelationIdList, ContextInfo context)
           
 List<LuiPersonRelationInfo> findLuiPersonRelationsForLui(String luiId, ContextInfo context)
           
 List<LuiPersonRelationInfo> findLuiPersonRelationsForPerson(String personId, ContextInfo context)
           
 List<String> findPersonIdsRelatedToLui(String luiId, String luiPersonRelationType, String relationState, ContextInfo context)
           
 List<TypeInfo> getAllowedTypesForType(String ownerTypeKey, String relatedRefObjectURI, ContextInfo context)
           
 DictionaryEntryInfo getDataDictionaryEntry(String entryKey, ContextInfo context)
           
 List<String> getDataDictionaryEntryKeys(ContextInfo context)
           
 List<StateInfo> getInitialValidStates(String processKey, ContextInfo context)
           
 StateInfo getNextHappyState(String processKey, String currentStateKey, ContextInfo context)
           
 List<String> getProcessKeys(String typeKey, ContextInfo context)
           
 StateInfo getState(String processKey, String stateKey, ContextInfo context)
           
 List<StateInfo> getStatesByProcess(String processKey, ContextInfo context)
           
 TypeInfo getType(String typeKey, ContextInfo context)
           
 List<TypeTypeRelationInfo> getTypeRelationsByOwnerType(String ownerTypeKey, String relationTypeKey, ContextInfo context)
           
 List<TypeInfo> getTypesByRefObjectURI(String refObjectURI, ContextInfo context)
           
 List<String> searchForLuiPersonRelationIds(CriteriaInfo criteria, ContextInfo context)
           
 LuiPersonRelationInfo updateLuiPersonRelation(String luiPersonRelationId, LuiPersonRelationInfo luiPersonRelationInfo, ContextInfo context)
           
 List<ValidationResultInfo> validateLuiPersonRelation(String validationType, LuiPersonRelationInfo luiPersonRelationInfo, ContextInfo context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuiPersonRelationServiceUnimplemented

public LuiPersonRelationServiceUnimplemented()
Method Detail

createBulkRelationshipsForLui

public List<String> createBulkRelationshipsForLui(String luiId,
                                                  List<String> personIdList,
                                                  String relationState,
                                                  String luiPersonRelationType,
                                                  LuiPersonRelationInfo luiPersonRelationInfo,
                                                  ContextInfo context)
                                           throws AlreadyExistsException,
                                                  DataValidationErrorException,
                                                  DoesNotExistException,
                                                  DisabledIdentifierException,
                                                  ReadOnlyException,
                                                  InvalidParameterException,
                                                  MissingParameterException,
                                                  OperationFailedException,
                                                  PermissionDeniedException
Specified by:
createBulkRelationshipsForLui in interface LuiPersonRelationService
Throws:
AlreadyExistsException
DataValidationErrorException
DoesNotExistException
DisabledIdentifierException
ReadOnlyException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

createBulkRelationshipsForPerson

public List<String> createBulkRelationshipsForPerson(String personId,
                                                     List<String> luiIdList,
                                                     String relationState,
                                                     String luiPersonRelationType,
                                                     LuiPersonRelationInfo luiPersonRelationInfo,
                                                     ContextInfo context)
                                              throws DataValidationErrorException,
                                                     AlreadyExistsException,
                                                     DoesNotExistException,
                                                     DisabledIdentifierException,
                                                     ReadOnlyException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     OperationFailedException,
                                                     PermissionDeniedException
Specified by:
createBulkRelationshipsForPerson in interface LuiPersonRelationService
Throws:
DataValidationErrorException
AlreadyExistsException
DoesNotExistException
DisabledIdentifierException
ReadOnlyException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

createLuiPersonRelation

public String createLuiPersonRelation(String personId,
                                      String luiId,
                                      String luiPersonRelationType,
                                      LuiPersonRelationInfo luiPersonRelationInfo,
                                      ContextInfo context)
                               throws DataValidationErrorException,
                                      AlreadyExistsException,
                                      DoesNotExistException,
                                      DisabledIdentifierException,
                                      ReadOnlyException,
                                      InvalidParameterException,
                                      MissingParameterException,
                                      OperationFailedException,
                                      PermissionDeniedException
Specified by:
createLuiPersonRelation in interface LuiPersonRelationService
Throws:
DataValidationErrorException
AlreadyExistsException
DoesNotExistException
DisabledIdentifierException
ReadOnlyException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

deleteLuiPersonRelation

public StatusInfo deleteLuiPersonRelation(String luiPersonRelationId,
                                          ContextInfo context)
                                   throws DoesNotExistException,
                                          InvalidParameterException,
                                          MissingParameterException,
                                          OperationFailedException,
                                          PermissionDeniedException
Specified by:
deleteLuiPersonRelation in interface LuiPersonRelationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

fetchLuiPersonRelation

public LuiPersonRelationInfo fetchLuiPersonRelation(String luiPersonRelationId,
                                                    ContextInfo context)
                                             throws DoesNotExistException,
                                                    InvalidParameterException,
                                                    MissingParameterException,
                                                    OperationFailedException,
                                                    PermissionDeniedException
Specified by:
fetchLuiPersonRelation in interface LuiPersonRelationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

findAllValidLuisForPerson

public List<String> findAllValidLuisForPerson(String personId,
                                              String luiPersonRelationType,
                                              String relationState,
                                              String atpId,
                                              ContextInfo context)
                                       throws DoesNotExistException,
                                              DisabledIdentifierException,
                                              InvalidParameterException,
                                              MissingParameterException,
                                              OperationFailedException,
                                              PermissionDeniedException
Specified by:
findAllValidLuisForPerson in interface LuiPersonRelationService
Throws:
DoesNotExistException
DisabledIdentifierException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

findLuiIdsRelatedToPerson

public List<String> findLuiIdsRelatedToPerson(String personId,
                                              String luiPersonRelationType,
                                              String relationState,
                                              ContextInfo context)
                                       throws DoesNotExistException,
                                              DisabledIdentifierException,
                                              InvalidParameterException,
                                              MissingParameterException,
                                              OperationFailedException,
                                              PermissionDeniedException
Specified by:
findLuiIdsRelatedToPerson in interface LuiPersonRelationService
Throws:
DoesNotExistException
DisabledIdentifierException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

findLuiPersonRelationIds

public List<String> findLuiPersonRelationIds(String personId,
                                             String luiId,
                                             ContextInfo context)
                                      throws DoesNotExistException,
                                             DisabledIdentifierException,
                                             InvalidParameterException,
                                             MissingParameterException,
                                             OperationFailedException,
                                             PermissionDeniedException
Specified by:
findLuiPersonRelationIds in interface LuiPersonRelationService
Throws:
DoesNotExistException
DisabledIdentifierException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

findLuiPersonRelationIdsForLui

public List<String> findLuiPersonRelationIdsForLui(String luiId,
                                                   ContextInfo context)
                                            throws DoesNotExistException,
                                                   InvalidParameterException,
                                                   MissingParameterException,
                                                   OperationFailedException,
                                                   PermissionDeniedException
Specified by:
findLuiPersonRelationIdsForLui in interface LuiPersonRelationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

findLuiPersonRelationIdsForPerson

public List<String> findLuiPersonRelationIdsForPerson(String personId,
                                                      ContextInfo context)
                                               throws DoesNotExistException,
                                                      DisabledIdentifierException,
                                                      InvalidParameterException,
                                                      MissingParameterException,
                                                      OperationFailedException,
                                                      PermissionDeniedException
Specified by:
findLuiPersonRelationIdsForPerson in interface LuiPersonRelationService
Throws:
DoesNotExistException
DisabledIdentifierException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

findLuiPersonRelations

public List<LuiPersonRelationInfo> findLuiPersonRelations(String personId,
                                                          String luiId,
                                                          ContextInfo context)
                                                   throws DoesNotExistException,
                                                          DisabledIdentifierException,
                                                          InvalidParameterException,
                                                          MissingParameterException,
                                                          OperationFailedException,
                                                          PermissionDeniedException
Specified by:
findLuiPersonRelations in interface LuiPersonRelationService
Throws:
DoesNotExistException
DisabledIdentifierException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

findLuiPersonRelationsByIdList

public List<LuiPersonRelationInfo> findLuiPersonRelationsByIdList(List<String> luiPersonRelationIdList,
                                                                  ContextInfo context)
                                                           throws DoesNotExistException,
                                                                  InvalidParameterException,
                                                                  MissingParameterException,
                                                                  OperationFailedException,
                                                                  PermissionDeniedException
Specified by:
findLuiPersonRelationsByIdList in interface LuiPersonRelationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

findLuiPersonRelationsForLui

public List<LuiPersonRelationInfo> findLuiPersonRelationsForLui(String luiId,
                                                                ContextInfo context)
                                                         throws DoesNotExistException,
                                                                InvalidParameterException,
                                                                MissingParameterException,
                                                                OperationFailedException,
                                                                PermissionDeniedException
Specified by:
findLuiPersonRelationsForLui in interface LuiPersonRelationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

findLuiPersonRelationsForPerson

public List<LuiPersonRelationInfo> findLuiPersonRelationsForPerson(String personId,
                                                                   ContextInfo context)
                                                            throws DoesNotExistException,
                                                                   DisabledIdentifierException,
                                                                   InvalidParameterException,
                                                                   MissingParameterException,
                                                                   OperationFailedException,
                                                                   PermissionDeniedException
Specified by:
findLuiPersonRelationsForPerson in interface LuiPersonRelationService
Throws:
DoesNotExistException
DisabledIdentifierException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

findPersonIdsRelatedToLui

public List<String> findPersonIdsRelatedToLui(String luiId,
                                              String luiPersonRelationType,
                                              String relationState,
                                              ContextInfo context)
                                       throws DoesNotExistException,
                                              InvalidParameterException,
                                              MissingParameterException,
                                              OperationFailedException,
                                              PermissionDeniedException
Specified by:
findPersonIdsRelatedToLui in interface LuiPersonRelationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

searchForLuiPersonRelationIds

public List<String> searchForLuiPersonRelationIds(CriteriaInfo criteria,
                                                  ContextInfo context)
                                           throws InvalidParameterException,
                                                  MissingParameterException,
                                                  OperationFailedException,
                                                  PermissionDeniedException
Specified by:
searchForLuiPersonRelationIds in interface LuiPersonRelationService
Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

updateLuiPersonRelation

public LuiPersonRelationInfo updateLuiPersonRelation(String luiPersonRelationId,
                                                     LuiPersonRelationInfo luiPersonRelationInfo,
                                                     ContextInfo context)
                                              throws DoesNotExistException,
                                                     DataValidationErrorException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     ReadOnlyException,
                                                     OperationFailedException,
                                                     PermissionDeniedException,
                                                     VersionMismatchException
Specified by:
updateLuiPersonRelation in interface LuiPersonRelationService
Throws:
DoesNotExistException
DataValidationErrorException
InvalidParameterException
MissingParameterException
ReadOnlyException
OperationFailedException
PermissionDeniedException
VersionMismatchException

validateLuiPersonRelation

public List<ValidationResultInfo> validateLuiPersonRelation(String validationType,
                                                            LuiPersonRelationInfo luiPersonRelationInfo,
                                                            ContextInfo context)
                                                     throws DoesNotExistException,
                                                            InvalidParameterException,
                                                            MissingParameterException,
                                                            OperationFailedException,
                                                            PermissionDeniedException
Specified by:
validateLuiPersonRelation in interface LuiPersonRelationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getDataDictionaryEntry

public DictionaryEntryInfo getDataDictionaryEntry(String entryKey,
                                                  ContextInfo context)
                                           throws OperationFailedException,
                                                  MissingParameterException,
                                                  PermissionDeniedException,
                                                  DoesNotExistException
Specified by:
getDataDictionaryEntry in interface DataDictionaryService
Throws:
OperationFailedException
MissingParameterException
PermissionDeniedException
DoesNotExistException

getDataDictionaryEntryKeys

public List<String> getDataDictionaryEntryKeys(ContextInfo context)
                                        throws OperationFailedException,
                                               MissingParameterException,
                                               PermissionDeniedException
Specified by:
getDataDictionaryEntryKeys in interface DataDictionaryService
Throws:
OperationFailedException
MissingParameterException
PermissionDeniedException

getAllowedTypesForType

public List<TypeInfo> getAllowedTypesForType(String ownerTypeKey,
                                             String relatedRefObjectURI,
                                             ContextInfo context)
                                      throws DoesNotExistException,
                                             InvalidParameterException,
                                             MissingParameterException,
                                             OperationFailedException
Specified by:
getAllowedTypesForType in interface TypeService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getType

public TypeInfo getType(String typeKey,
                        ContextInfo context)
                 throws DoesNotExistException,
                        InvalidParameterException,
                        MissingParameterException,
                        OperationFailedException
Specified by:
getType in interface TypeService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getTypeRelationsByOwnerType

public List<TypeTypeRelationInfo> getTypeRelationsByOwnerType(String ownerTypeKey,
                                                              String relationTypeKey,
                                                              ContextInfo context)
                                                       throws DoesNotExistException,
                                                              InvalidParameterException,
                                                              MissingParameterException,
                                                              OperationFailedException
Specified by:
getTypeRelationsByOwnerType in interface TypeService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getTypesByRefObjectURI

public List<TypeInfo> getTypesByRefObjectURI(String refObjectURI,
                                             ContextInfo context)
                                      throws DoesNotExistException,
                                             InvalidParameterException,
                                             MissingParameterException,
                                             OperationFailedException
Specified by:
getTypesByRefObjectURI in interface TypeService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getProcessKeys

public List<String> getProcessKeys(String typeKey,
                                   ContextInfo context)
                            throws DoesNotExistException,
                                   InvalidParameterException,
                                   MissingParameterException,
                                   OperationFailedException
Specified by:
getProcessKeys in interface StateService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getState

public StateInfo getState(String processKey,
                          String stateKey,
                          ContextInfo context)
                   throws DoesNotExistException,
                          InvalidParameterException,
                          MissingParameterException,
                          OperationFailedException
Specified by:
getState in interface StateService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getStatesByProcess

public List<StateInfo> getStatesByProcess(String processKey,
                                          ContextInfo context)
                                   throws DoesNotExistException,
                                          InvalidParameterException,
                                          MissingParameterException,
                                          OperationFailedException
Specified by:
getStatesByProcess in interface StateService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getInitialValidStates

public List<StateInfo> getInitialValidStates(String processKey,
                                             ContextInfo context)
                                      throws DoesNotExistException,
                                             InvalidParameterException,
                                             MissingParameterException,
                                             OperationFailedException
Specified by:
getInitialValidStates in interface StateService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getNextHappyState

public StateInfo getNextHappyState(String processKey,
                                   String currentStateKey,
                                   ContextInfo context)
                            throws DoesNotExistException,
                                   InvalidParameterException,
                                   MissingParameterException,
                                   OperationFailedException
Specified by:
getNextHappyState in interface StateService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.