org.kuali.student.lum.statement.config.context
Class OrganizationContextImplTest.OrganizationServiceMock

java.lang.Object
  extended by org.kuali.student.lum.statement.config.context.OrganizationContextImplTest.OrganizationServiceMock
All Implemented Interfaces:
DictionaryService, OrganizationService, SearchService
Enclosing class:
OrganizationContextImplTest

private static class OrganizationContextImplTest.OrganizationServiceMock
extends Object
implements OrganizationService


Field Summary
private  Map<String,OrgInfo> orgMap
           
 
Constructor Summary
OrganizationContextImplTest.OrganizationServiceMock()
           
 
Method Summary
 OrgPositionRestrictionInfo addPositionRestrictionToOrg(String orgId, String orgPersonRelationTypeKey, OrgPositionRestrictionInfo orgPositionRestrictionInfo)
           
 OrgInfo createOrganization(String orgTypeKey, OrgInfo orgInfo)
           
 OrgOrgRelationInfo createOrgOrgRelation(String orgId, String relatedOrgId, String orgOrgRelationTypeKey, OrgOrgRelationInfo orgOrgRelationInfo)
           
 OrgPersonRelationInfo createOrgPersonRelation(String orgId, String personId, String orgPersonRelationTypeKey, OrgPersonRelationInfo orgPersonRelationInfo)
           
 StatusInfo deleteOrganization(String orgId)
           
 List<String> getAllAncestors(String orgId, String orgHierarchy)
           
 List<String> getAllDescendants(String orgId, String orgHierarchy)
           
 List<OrgPersonRelationInfo> getAllOrgPersonRelationsByOrg(String orgId)
           
 List<OrgPersonRelationInfo> getAllOrgPersonRelationsByPerson(String personId)
           
 ObjectStructure getObjectStructure(String objectTypeKey)
           
 List<String> getObjectTypes()
           
 OrgInfo getOrganization(String orgId)
           
 List<OrgInfo> getOrganizationsByIdList(List<String> orgIdList)
           
 List<OrgHierarchyInfo> getOrgHierarchies()
           
 OrgHierarchyInfo getOrgHierarchy(String orgHierarchyKey)
           
 OrgOrgRelationInfo getOrgOrgRelation(String orgOrgRelationId)
           
 List<OrgOrgRelationInfo> getOrgOrgRelationsByIdList(List<String> orgOrgRelationIdList)
           
 List<OrgOrgRelationInfo> getOrgOrgRelationsByOrg(String orgId)
           
 List<OrgOrgRelationInfo> getOrgOrgRelationsByRelatedOrg(String relatedOrgId)
           
 OrgOrgRelationTypeInfo getOrgOrgRelationType(String orgOrgRelationTypeKey)
           
 List<OrgOrgRelationTypeInfo> getOrgOrgRelationTypes()
           
 List<OrgOrgRelationTypeInfo> getOrgOrgRelationTypesForOrgHierarchy(String orgHierarchyKey)
           
 List<OrgOrgRelationTypeInfo> getOrgOrgRelationTypesForOrgType(String orgTypeKey)
           
 OrgPersonRelationInfo getOrgPersonRelation(String orgPersonRelationId)
           
 List<OrgPersonRelationInfo> getOrgPersonRelationsByIdList(List<String> orgPersonRelationIdList)
           
 List<OrgPersonRelationInfo> getOrgPersonRelationsByOrg(String orgId)
           
 List<OrgPersonRelationInfo> getOrgPersonRelationsByPerson(String personId, String orgId)
           
 OrgPersonRelationTypeInfo getOrgPersonRelationType(String orgPersonRelationTypeKey)
           
 List<OrgPersonRelationTypeInfo> getOrgPersonRelationTypes()
           
 List<OrgPersonRelationTypeInfo> getOrgPersonRelationTypesForOrgType(String orgTypeKey)
           
 List<OrgTreeInfo> getOrgTree(String rootOrgId, String orgHierarchyId, int maxLevels)
           
 OrgTypeInfo getOrgType(String orgTypeKey)
           
 List<OrgTypeInfo> getOrgTypes()
           
 List<String> getPersonIdsForOrgByRelationType(String orgId, String orgPersonRelationTypeKey)
           
 List<OrgPositionRestrictionInfo> getPositionRestrictionsByOrg(String orgId)
           
 SearchCriteriaTypeInfo getSearchCriteriaType(String searchCriteriaTypeKey)
           
 List<SearchCriteriaTypeInfo> getSearchCriteriaTypes()
           
 SearchResultTypeInfo getSearchResultType(String searchResultTypeKey)
           
 List<SearchResultTypeInfo> getSearchResultTypes()
           
 SearchTypeInfo getSearchType(String searchTypeKey)
           
 List<SearchTypeInfo> getSearchTypes()
           
 List<SearchTypeInfo> getSearchTypesByCriteria(String searchCriteriaTypeKey)
           
 List<SearchTypeInfo> getSearchTypesByResult(String searchResultTypeKey)
           
 Boolean hasOrgOrgRelation(String orgId, String comparisonOrgId, String orgOrgRelationTypeKey)
           
 Boolean hasOrgPersonRelation(String orgId, String personId, String orgPersonRelationTypeKey)
           
 Boolean isDescendant(String orgId, String descendantOrgId, String orgHierarchy)
           
 StatusInfo removeOrgOrgRelation(String orgOrgRelationId)
           
 StatusInfo removeOrgPersonRelation(String orgPersonRelationId)
           
 StatusInfo removePositionRestrictionFromOrg(String orgId, String orgPersonRelationTypeKey)
           
 SearchResult search(SearchRequest searchRequest)
           
 OrgInfo updateOrganization(String orgId, OrgInfo orgInfo)
           
 OrgOrgRelationInfo updateOrgOrgRelation(String orgOrgRelationId, OrgOrgRelationInfo orgOrgRelationInfo)
           
 OrgPersonRelationInfo updateOrgPersonRelation(String orgPersonRelationId, OrgPersonRelationInfo orgPersonRelationInfo)
           
 OrgPositionRestrictionInfo updatePositionRestrictionForOrg(String orgId, String orgPersonRelationTypeKey, OrgPositionRestrictionInfo orgPositionRestrictionInfo)
           
 List<ValidationResultInfo> validateOrg(String validationType, OrgInfo orgInfo)
           
 List<ValidationResultInfo> validateOrgOrgRelation(String validationType, OrgOrgRelationInfo orgOrgRelationInfo)
           
 List<ValidationResultInfo> validateOrgPersonRelation(String validationType, OrgPersonRelationInfo orgPersonRelationInfo)
           
 List<ValidationResultInfo> validateOrgPositionRestriction(String validationType, OrgPositionRestrictionInfo orgPositionRestrictionInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

orgMap

private Map<String,OrgInfo> orgMap
Constructor Detail

OrganizationContextImplTest.OrganizationServiceMock

public OrganizationContextImplTest.OrganizationServiceMock()
Method Detail

addPositionRestrictionToOrg

public OrgPositionRestrictionInfo addPositionRestrictionToOrg(String orgId,
                                                              String orgPersonRelationTypeKey,
                                                              OrgPositionRestrictionInfo orgPositionRestrictionInfo)
                                                       throws AlreadyExistsException,
                                                              DataValidationErrorException,
                                                              DoesNotExistException,
                                                              InvalidParameterException,
                                                              MissingParameterException,
                                                              OperationFailedException,
                                                              PermissionDeniedException
Specified by:
addPositionRestrictionToOrg in interface OrganizationService
Throws:
AlreadyExistsException
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

createOrgOrgRelation

public OrgOrgRelationInfo createOrgOrgRelation(String orgId,
                                               String relatedOrgId,
                                               String orgOrgRelationTypeKey,
                                               OrgOrgRelationInfo orgOrgRelationInfo)
                                        throws AlreadyExistsException,
                                               DataValidationErrorException,
                                               DoesNotExistException,
                                               InvalidParameterException,
                                               MissingParameterException,
                                               PermissionDeniedException,
                                               OperationFailedException
Specified by:
createOrgOrgRelation in interface OrganizationService
Throws:
AlreadyExistsException
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
PermissionDeniedException
OperationFailedException

createOrgPersonRelation

public OrgPersonRelationInfo createOrgPersonRelation(String orgId,
                                                     String personId,
                                                     String orgPersonRelationTypeKey,
                                                     OrgPersonRelationInfo orgPersonRelationInfo)
                                              throws AlreadyExistsException,
                                                     DataValidationErrorException,
                                                     DoesNotExistException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     PermissionDeniedException,
                                                     OperationFailedException
Specified by:
createOrgPersonRelation in interface OrganizationService
Throws:
AlreadyExistsException
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
PermissionDeniedException
OperationFailedException

createOrganization

public OrgInfo createOrganization(String orgTypeKey,
                                  OrgInfo orgInfo)
                           throws AlreadyExistsException,
                                  DataValidationErrorException,
                                  InvalidParameterException,
                                  MissingParameterException,
                                  OperationFailedException,
                                  PermissionDeniedException
Specified by:
createOrganization in interface OrganizationService
Throws:
AlreadyExistsException
DataValidationErrorException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

deleteOrganization

public StatusInfo deleteOrganization(String orgId)
                              throws DoesNotExistException,
                                     InvalidParameterException,
                                     MissingParameterException,
                                     OperationFailedException,
                                     PermissionDeniedException
Specified by:
deleteOrganization in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getAllAncestors

public List<String> getAllAncestors(String orgId,
                                    String orgHierarchy)
                             throws InvalidParameterException,
                                    MissingParameterException,
                                    OperationFailedException,
                                    PermissionDeniedException
Specified by:
getAllAncestors in interface OrganizationService
Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getAllDescendants

public List<String> getAllDescendants(String orgId,
                                      String orgHierarchy)
                               throws InvalidParameterException,
                                      MissingParameterException,
                                      OperationFailedException,
                                      PermissionDeniedException
Specified by:
getAllDescendants in interface OrganizationService
Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getAllOrgPersonRelationsByOrg

public List<OrgPersonRelationInfo> getAllOrgPersonRelationsByOrg(String orgId)
                                                          throws DoesNotExistException,
                                                                 InvalidParameterException,
                                                                 MissingParameterException,
                                                                 OperationFailedException,
                                                                 PermissionDeniedException
Specified by:
getAllOrgPersonRelationsByOrg in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getAllOrgPersonRelationsByPerson

public List<OrgPersonRelationInfo> getAllOrgPersonRelationsByPerson(String personId)
                                                             throws DoesNotExistException,
                                                                    InvalidParameterException,
                                                                    MissingParameterException,
                                                                    OperationFailedException,
                                                                    PermissionDeniedException
Specified by:
getAllOrgPersonRelationsByPerson in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getOrgHierarchies

public List<OrgHierarchyInfo> getOrgHierarchies()
                                         throws OperationFailedException
Specified by:
getOrgHierarchies in interface OrganizationService
Throws:
OperationFailedException

getOrgHierarchy

public OrgHierarchyInfo getOrgHierarchy(String orgHierarchyKey)
                                 throws DoesNotExistException,
                                        InvalidParameterException,
                                        MissingParameterException,
                                        OperationFailedException
Specified by:
getOrgHierarchy in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getOrgOrgRelation

public OrgOrgRelationInfo getOrgOrgRelation(String orgOrgRelationId)
                                     throws DoesNotExistException,
                                            InvalidParameterException,
                                            MissingParameterException,
                                            OperationFailedException,
                                            PermissionDeniedException
Specified by:
getOrgOrgRelation in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getOrgOrgRelationType

public OrgOrgRelationTypeInfo getOrgOrgRelationType(String orgOrgRelationTypeKey)
                                             throws DoesNotExistException,
                                                    InvalidParameterException,
                                                    MissingParameterException,
                                                    OperationFailedException
Specified by:
getOrgOrgRelationType in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getOrgOrgRelationTypes

public List<OrgOrgRelationTypeInfo> getOrgOrgRelationTypes()
                                                    throws OperationFailedException
Specified by:
getOrgOrgRelationTypes in interface OrganizationService
Throws:
OperationFailedException

getOrgOrgRelationTypesForOrgHierarchy

public List<OrgOrgRelationTypeInfo> getOrgOrgRelationTypesForOrgHierarchy(String orgHierarchyKey)
                                                                   throws DoesNotExistException,
                                                                          InvalidParameterException,
                                                                          MissingParameterException,
                                                                          OperationFailedException
Specified by:
getOrgOrgRelationTypesForOrgHierarchy in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getOrgOrgRelationTypesForOrgType

public List<OrgOrgRelationTypeInfo> getOrgOrgRelationTypesForOrgType(String orgTypeKey)
                                                              throws DoesNotExistException,
                                                                     InvalidParameterException,
                                                                     MissingParameterException,
                                                                     OperationFailedException
Specified by:
getOrgOrgRelationTypesForOrgType in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getOrgOrgRelationsByIdList

public List<OrgOrgRelationInfo> getOrgOrgRelationsByIdList(List<String> orgOrgRelationIdList)
                                                    throws DoesNotExistException,
                                                           InvalidParameterException,
                                                           MissingParameterException,
                                                           OperationFailedException,
                                                           PermissionDeniedException
Specified by:
getOrgOrgRelationsByIdList in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getOrgOrgRelationsByOrg

public List<OrgOrgRelationInfo> getOrgOrgRelationsByOrg(String orgId)
                                                 throws DoesNotExistException,
                                                        InvalidParameterException,
                                                        MissingParameterException,
                                                        OperationFailedException,
                                                        PermissionDeniedException
Specified by:
getOrgOrgRelationsByOrg in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getOrgOrgRelationsByRelatedOrg

public List<OrgOrgRelationInfo> getOrgOrgRelationsByRelatedOrg(String relatedOrgId)
                                                        throws DoesNotExistException,
                                                               InvalidParameterException,
                                                               MissingParameterException,
                                                               OperationFailedException,
                                                               PermissionDeniedException
Specified by:
getOrgOrgRelationsByRelatedOrg in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getOrgPersonRelation

public OrgPersonRelationInfo getOrgPersonRelation(String orgPersonRelationId)
                                           throws DoesNotExistException,
                                                  InvalidParameterException,
                                                  MissingParameterException,
                                                  OperationFailedException,
                                                  PermissionDeniedException
Specified by:
getOrgPersonRelation in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getOrgPersonRelationType

public OrgPersonRelationTypeInfo getOrgPersonRelationType(String orgPersonRelationTypeKey)
                                                   throws DoesNotExistException,
                                                          InvalidParameterException,
                                                          MissingParameterException,
                                                          OperationFailedException
Specified by:
getOrgPersonRelationType in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getOrgPersonRelationTypes

public List<OrgPersonRelationTypeInfo> getOrgPersonRelationTypes()
                                                          throws OperationFailedException
Specified by:
getOrgPersonRelationTypes in interface OrganizationService
Throws:
OperationFailedException

getOrgPersonRelationTypesForOrgType

public List<OrgPersonRelationTypeInfo> getOrgPersonRelationTypesForOrgType(String orgTypeKey)
                                                                    throws DoesNotExistException,
                                                                           InvalidParameterException,
                                                                           MissingParameterException,
                                                                           OperationFailedException
Specified by:
getOrgPersonRelationTypesForOrgType in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getOrgPersonRelationsByIdList

public List<OrgPersonRelationInfo> getOrgPersonRelationsByIdList(List<String> orgPersonRelationIdList)
                                                          throws DoesNotExistException,
                                                                 InvalidParameterException,
                                                                 MissingParameterException,
                                                                 OperationFailedException,
                                                                 PermissionDeniedException
Specified by:
getOrgPersonRelationsByIdList in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getOrgPersonRelationsByOrg

public List<OrgPersonRelationInfo> getOrgPersonRelationsByOrg(String orgId)
                                                       throws DoesNotExistException,
                                                              InvalidParameterException,
                                                              MissingParameterException,
                                                              OperationFailedException,
                                                              PermissionDeniedException
Specified by:
getOrgPersonRelationsByOrg in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getOrgPersonRelationsByPerson

public List<OrgPersonRelationInfo> getOrgPersonRelationsByPerson(String personId,
                                                                 String orgId)
                                                          throws DoesNotExistException,
                                                                 InvalidParameterException,
                                                                 MissingParameterException,
                                                                 OperationFailedException,
                                                                 PermissionDeniedException
Specified by:
getOrgPersonRelationsByPerson in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getOrgTree

public List<OrgTreeInfo> getOrgTree(String rootOrgId,
                                    String orgHierarchyId,
                                    int maxLevels)
                             throws DoesNotExistException,
                                    InvalidParameterException,
                                    MissingParameterException,
                                    OperationFailedException,
                                    PermissionDeniedException
Specified by:
getOrgTree in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getOrgType

public OrgTypeInfo getOrgType(String orgTypeKey)
                       throws DoesNotExistException,
                              InvalidParameterException,
                              MissingParameterException,
                              OperationFailedException
Specified by:
getOrgType in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getOrgTypes

public List<OrgTypeInfo> getOrgTypes()
                              throws OperationFailedException
Specified by:
getOrgTypes in interface OrganizationService
Throws:
OperationFailedException

getOrganization

public OrgInfo getOrganization(String orgId)
                        throws DoesNotExistException,
                               InvalidParameterException,
                               MissingParameterException,
                               OperationFailedException,
                               PermissionDeniedException
Specified by:
getOrganization in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getOrganizationsByIdList

public List<OrgInfo> getOrganizationsByIdList(List<String> orgIdList)
                                       throws DoesNotExistException,
                                              InvalidParameterException,
                                              MissingParameterException,
                                              OperationFailedException,
                                              PermissionDeniedException
Specified by:
getOrganizationsByIdList in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getPersonIdsForOrgByRelationType

public List<String> getPersonIdsForOrgByRelationType(String orgId,
                                                     String orgPersonRelationTypeKey)
                                              throws DoesNotExistException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     OperationFailedException,
                                                     PermissionDeniedException
Specified by:
getPersonIdsForOrgByRelationType in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

getPositionRestrictionsByOrg

public List<OrgPositionRestrictionInfo> getPositionRestrictionsByOrg(String orgId)
                                                              throws DataValidationErrorException,
                                                                     DoesNotExistException,
                                                                     InvalidParameterException,
                                                                     MissingParameterException,
                                                                     PermissionDeniedException,
                                                                     OperationFailedException
Specified by:
getPositionRestrictionsByOrg in interface OrganizationService
Throws:
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
PermissionDeniedException
OperationFailedException

hasOrgOrgRelation

public Boolean hasOrgOrgRelation(String orgId,
                                 String comparisonOrgId,
                                 String orgOrgRelationTypeKey)
                          throws InvalidParameterException,
                                 MissingParameterException,
                                 OperationFailedException,
                                 PermissionDeniedException
Specified by:
hasOrgOrgRelation in interface OrganizationService
Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

hasOrgPersonRelation

public Boolean hasOrgPersonRelation(String orgId,
                                    String personId,
                                    String orgPersonRelationTypeKey)
                             throws InvalidParameterException,
                                    MissingParameterException,
                                    OperationFailedException,
                                    PermissionDeniedException
Specified by:
hasOrgPersonRelation in interface OrganizationService
Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

isDescendant

public Boolean isDescendant(String orgId,
                            String descendantOrgId,
                            String orgHierarchy)
                     throws InvalidParameterException,
                            MissingParameterException,
                            OperationFailedException,
                            PermissionDeniedException
Specified by:
isDescendant in interface OrganizationService
Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

removeOrgOrgRelation

public StatusInfo removeOrgOrgRelation(String orgOrgRelationId)
                                throws DoesNotExistException,
                                       InvalidParameterException,
                                       MissingParameterException,
                                       OperationFailedException,
                                       PermissionDeniedException
Specified by:
removeOrgOrgRelation in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

removeOrgPersonRelation

public StatusInfo removeOrgPersonRelation(String orgPersonRelationId)
                                   throws DoesNotExistException,
                                          InvalidParameterException,
                                          MissingParameterException,
                                          OperationFailedException,
                                          PermissionDeniedException
Specified by:
removeOrgPersonRelation in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

removePositionRestrictionFromOrg

public StatusInfo removePositionRestrictionFromOrg(String orgId,
                                                   String orgPersonRelationTypeKey)
                                            throws DoesNotExistException,
                                                   InvalidParameterException,
                                                   MissingParameterException,
                                                   OperationFailedException,
                                                   PermissionDeniedException
Specified by:
removePositionRestrictionFromOrg in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException

updateOrgOrgRelation

public OrgOrgRelationInfo updateOrgOrgRelation(String orgOrgRelationId,
                                               OrgOrgRelationInfo orgOrgRelationInfo)
                                        throws DataValidationErrorException,
                                               DoesNotExistException,
                                               InvalidParameterException,
                                               MissingParameterException,
                                               OperationFailedException,
                                               PermissionDeniedException,
                                               VersionMismatchException
Specified by:
updateOrgOrgRelation in interface OrganizationService
Throws:
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
VersionMismatchException

updateOrgPersonRelation

public OrgPersonRelationInfo updateOrgPersonRelation(String orgPersonRelationId,
                                                     OrgPersonRelationInfo orgPersonRelationInfo)
                                              throws DataValidationErrorException,
                                                     DoesNotExistException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     OperationFailedException,
                                                     PermissionDeniedException,
                                                     VersionMismatchException
Specified by:
updateOrgPersonRelation in interface OrganizationService
Throws:
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
VersionMismatchException

updateOrganization

public OrgInfo updateOrganization(String orgId,
                                  OrgInfo orgInfo)
                           throws DataValidationErrorException,
                                  DoesNotExistException,
                                  InvalidParameterException,
                                  MissingParameterException,
                                  OperationFailedException,
                                  PermissionDeniedException,
                                  VersionMismatchException
Specified by:
updateOrganization in interface OrganizationService
Throws:
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
VersionMismatchException

updatePositionRestrictionForOrg

public OrgPositionRestrictionInfo updatePositionRestrictionForOrg(String orgId,
                                                                  String orgPersonRelationTypeKey,
                                                                  OrgPositionRestrictionInfo orgPositionRestrictionInfo)
                                                           throws DataValidationErrorException,
                                                                  DoesNotExistException,
                                                                  InvalidParameterException,
                                                                  MissingParameterException,
                                                                  OperationFailedException,
                                                                  PermissionDeniedException,
                                                                  VersionMismatchException
Specified by:
updatePositionRestrictionForOrg in interface OrganizationService
Throws:
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
VersionMismatchException

validateOrg

public List<ValidationResultInfo> validateOrg(String validationType,
                                              OrgInfo orgInfo)
                                       throws DoesNotExistException,
                                              InvalidParameterException,
                                              MissingParameterException,
                                              OperationFailedException
Specified by:
validateOrg in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

validateOrgOrgRelation

public List<ValidationResultInfo> validateOrgOrgRelation(String validationType,
                                                         OrgOrgRelationInfo orgOrgRelationInfo)
                                                  throws DoesNotExistException,
                                                         InvalidParameterException,
                                                         MissingParameterException,
                                                         OperationFailedException
Specified by:
validateOrgOrgRelation in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

validateOrgPersonRelation

public List<ValidationResultInfo> validateOrgPersonRelation(String validationType,
                                                            OrgPersonRelationInfo orgPersonRelationInfo)
                                                     throws DoesNotExistException,
                                                            InvalidParameterException,
                                                            MissingParameterException,
                                                            OperationFailedException
Specified by:
validateOrgPersonRelation in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

validateOrgPositionRestriction

public List<ValidationResultInfo> validateOrgPositionRestriction(String validationType,
                                                                 OrgPositionRestrictionInfo orgPositionRestrictionInfo)
                                                          throws DoesNotExistException,
                                                                 InvalidParameterException,
                                                                 MissingParameterException,
                                                                 OperationFailedException
Specified by:
validateOrgPositionRestriction in interface OrganizationService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getObjectStructure

public ObjectStructure getObjectStructure(String objectTypeKey)
Specified by:
getObjectStructure in interface DictionaryService

getObjectTypes

public List<String> getObjectTypes()
Specified by:
getObjectTypes in interface DictionaryService

getSearchCriteriaType

public SearchCriteriaTypeInfo getSearchCriteriaType(String searchCriteriaTypeKey)
                                             throws DoesNotExistException,
                                                    InvalidParameterException,
                                                    MissingParameterException,
                                                    OperationFailedException
Specified by:
getSearchCriteriaType in interface SearchService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getSearchCriteriaTypes

public List<SearchCriteriaTypeInfo> getSearchCriteriaTypes()
                                                    throws OperationFailedException
Specified by:
getSearchCriteriaTypes in interface SearchService
Throws:
OperationFailedException

getSearchResultType

public SearchResultTypeInfo getSearchResultType(String searchResultTypeKey)
                                         throws DoesNotExistException,
                                                InvalidParameterException,
                                                MissingParameterException,
                                                OperationFailedException
Specified by:
getSearchResultType in interface SearchService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getSearchResultTypes

public List<SearchResultTypeInfo> getSearchResultTypes()
                                                throws OperationFailedException
Specified by:
getSearchResultTypes in interface SearchService
Throws:
OperationFailedException

getSearchType

public SearchTypeInfo getSearchType(String searchTypeKey)
                             throws DoesNotExistException,
                                    InvalidParameterException,
                                    MissingParameterException,
                                    OperationFailedException
Specified by:
getSearchType in interface SearchService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getSearchTypes

public List<SearchTypeInfo> getSearchTypes()
                                    throws OperationFailedException
Specified by:
getSearchTypes in interface SearchService
Throws:
OperationFailedException

getSearchTypesByCriteria

public List<SearchTypeInfo> getSearchTypesByCriteria(String searchCriteriaTypeKey)
                                              throws DoesNotExistException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     OperationFailedException
Specified by:
getSearchTypesByCriteria in interface SearchService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

getSearchTypesByResult

public List<SearchTypeInfo> getSearchTypesByResult(String searchResultTypeKey)
                                            throws DoesNotExistException,
                                                   InvalidParameterException,
                                                   MissingParameterException,
                                                   OperationFailedException
Specified by:
getSearchTypesByResult in interface SearchService
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

search

public SearchResult search(SearchRequest searchRequest)
                    throws MissingParameterException
Specified by:
search in interface SearchService
Throws:
MissingParameterException


Copyright © 2010 The Kuali Foundation. All rights reserved.