public class ProcessPocPopulationServiceMockImpl extends Object implements PopulationService, MockService
| Constructor and Description |
|---|
ProcessPocPopulationServiceMockImpl() |
| Modifier and Type | Method and Description |
|---|---|
StatusInfo |
addPopulationToPopulationCategory(String populationId,
String populationCategoryId,
ContextInfo contextInfo)
Adds Population to a PopulationCategory.
|
StatusInfo |
applyPopulationRuleToPopulation(String populationRuleId,
String populationId,
ContextInfo contextInfo)
Applies PopulationRule to a Population.
|
void |
clear()
Clear all cached service data.
|
PopulationInfo |
createPopulation(PopulationInfo populationInfo,
ContextInfo contextInfo)
Creates a new Population.
|
PopulationCategoryInfo |
createPopulationCategory(String populationCategoryTypeKey,
PopulationCategoryInfo populationCategoryInfo,
ContextInfo contextInfo)
Creates a new PopulationCategory.
|
PopulationRuleInfo |
createPopulationRule(PopulationRuleInfo populationInfo,
ContextInfo contextInfo)
Creates a new PopulationRule.
|
StatusInfo |
deletePopulation(String populationId,
ContextInfo contextInfo)
Deletes an existing Population.
|
StatusInfo |
deletePopulationCategory(String populationCategoryId,
ContextInfo contextInfo)
Deletes an existing PopulationCategory.
|
StatusInfo |
deletePopulationRule(String populationRuleId,
ContextInfo contextInfo)
Deletes an existing PopulationRule.
|
List<String> |
getMembersAsOfDate(String populationId,
Date date,
ContextInfo contextInfo)
Gets a list of people Ids who qualify as a member of a
Population.
|
PopulationInfo |
getPopulation(String populationId,
ContextInfo contextInfo)
Retrieves a Population.
|
List<PopulationCategoryInfo> |
getPopulationCategoriesByIds(List<String> populationCategoryIds,
ContextInfo contextInfo)
Retrieves a list of PopulationCategorys corresponding to the
given list of PopulationCategory Ids.
|
List<PopulationCategoryInfo> |
getPopulationCategoriesForPopulation(String populationId,
ContextInfo contextInfo)
Retrieves a list of PopulationCategories in which the given
Population is related.
|
PopulationCategoryInfo |
getPopulationCategory(String populationCategoryId,
ContextInfo contextInfo)
Retrieves a PopulationCategory.
|
List<String> |
getPopulationCategoryIdsByType(String populationTypeKey,
ContextInfo contextInfo)
Retrieves a list of PopulationCategory Ids of the specified type.
|
List<String> |
getPopulationIdsByType(String populationTypeId,
ContextInfo contextInfo)
Retrieves a list of Population Ids of the specified type.
|
PopulationRuleInfo |
getPopulationRule(String populationRuleId,
ContextInfo contextInfo)
Retrieves a PopulationRule.
|
PopulationRuleInfo |
getPopulationRuleForPopulation(String populationKey,
ContextInfo contextInfo)
Retrieves a list of PopulationRules in which the given
Population is related.
|
List<String> |
getPopulationRuleIdsByType(String populationTypeKey,
ContextInfo contextInfo)
Retrieves a list of PopulationRule Ids of the specified type.
|
List<PopulationRuleInfo> |
getPopulationRulesByIds(List<String> populationRuleIds,
ContextInfo contextInfo)
Retrieves a list of PopulationRules corresponding to the
given list of PopulationRule Ids.
|
List<PopulationInfo> |
getPopulationsByIds(List<String> populationIds,
ContextInfo contextInfo)
Retrieves a list of Populations corresponding to the given list
of Population Ids.
|
List<PopulationInfo> |
getPopulationsForPopulationRule(String populationRuleId,
ContextInfo contextInfo)
Retrieves a list of Populations in which the given
PopulationRule is applied.
|
Boolean |
isMemberAsOfDate(String personId,
String populationId,
Date date,
ContextInfo contextInfo)
Tests if a Person is a member of a Population.
|
StatusInfo |
removePopulationFromPopulationCategory(String populationId,
String populationCategoryId,
ContextInfo contextInfo)
Removes Population from a PopulationCategory.
|
StatusInfo |
removePopulationRuleFromPopulation(String populationRuleId,
String populationId,
ContextInfo contextInfo)
Removes Population from a PopulationRule.
|
List<PopulationCategoryInfo> |
searchForPopulationCategories(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for PopulationCategories based on the criteria and
returns a list of PopulationCategories which match the search
criteria.
|
List<String> |
searchForPopulationCategoryIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for PopulationCategories based on the criteria and
returns a list of PopulationCategory identifiers which match the
search criteria.
|
List<String> |
searchForPopulationIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for Populations based on the criteria and returns a list
of Population identifiers which match the search criteria.
|
List<String> |
searchForPopulationRuleIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for PopulationRules based on the criteria and
returns a list of PopulationRule identifiers which match the
search criteria.
|
List<PopulationRuleInfo> |
searchForPopulationRules(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for PopulationRules based on the criteria and
returns a list of PopulationRules which match the search
criteria.
|
List<PopulationInfo> |
searchForPopulations(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for Populations based on the criteria and returns a list of
Populations which match the search criteria.
|
PopulationInfo |
updatePopulation(String populationId,
PopulationInfo populationInfo,
ContextInfo contextInfo)
Updates an existing Population.
|
PopulationCategoryInfo |
updatePopulationCategory(String populationCategoryId,
PopulationCategoryInfo populationInfo,
ContextInfo contextInfo)
Updates an existing PopulationCategory.
|
PopulationRuleInfo |
updatePopulationRule(String populationRuleId,
PopulationRuleInfo populationInfo,
ContextInfo contextInfo)
Updates an existing PopulationRule.
|
List<ValidationResultInfo> |
validatePopulation(String validationTypeId,
PopulationInfo populationInfo,
ContextInfo contextInfo)
Validates a Population.
|
List<ValidationResultInfo> |
validatePopulationCategory(String validationTypeKey,
String populationCategoryTypeKey,
PopulationCategoryInfo populationCategoryInfo,
ContextInfo contextInfo)
Validates a PopulationCategory.
|
List<ValidationResultInfo> |
validatePopulationRule(String validationTypeKey,
PopulationRuleInfo populationInfo,
ContextInfo contextInfo)
Validates a PopulationRule.
|
public ProcessPocPopulationServiceMockImpl()
public void clear()
MockServiceclear in interface MockServicepublic Boolean isMemberAsOfDate(String personId, String populationId, Date date, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServiceisMemberAsOfDate in interface PopulationServicepersonId - a unique Id of a PersonpopulationId - a unique Id of a Populationdate - the date on which to perform the evaluationcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - populationId not foundInvalidParameterException - invalid personId,
populationId, or contextInfoMissingParameterException - populationId, date, or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<String> getMembersAsOfDate(String populationId, Date date, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicegetMembersAsOfDate in interface PopulationServicepopulationId - a unique Id of a Populationdate - the date on which to perform the evaluationcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - populationId not foundInvalidParameterException - invalid populationId or
contextInfoMissingParameterException - populationId, date, or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic PopulationInfo getPopulation(String populationId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicegetPopulation in interface PopulationServicepopulationId - a unique Id of a PopulationcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - populationId not foundInvalidParameterException - invalid populationId or contextInfoMissingParameterException - missing populationId or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<PopulationInfo> getPopulationsByIds(List<String> populationIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicegetPopulationsByIds in interface PopulationServicepopulationIds - list of Populationss to be retrievedcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - an populationId in list not foundInvalidParameterException - invalid populationId or contextInfoMissingParameterException - missing populationId or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<String> getPopulationIdsByType(String populationTypeId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicegetPopulationIdsByType in interface PopulationServicepopulationTypeId - a Population type to be retrievedcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationInvalidParameterException - invalid populationTypeId or
contextInfoMissingParameterException - missing populationTypeId or
contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<PopulationInfo> getPopulationsForPopulationRule(String populationRuleId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicegetPopulationsForPopulationRule in interface PopulationServicepopulationRuleId - a PopulationRule IdcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationInvalidParameterException - invalid populationRuleId or
contextInfoMissingParameterException - missing populationRuleId or
contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<String> searchForPopulationIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicesearchForPopulationIds in interface PopulationServicecriteria - the search criteriacontextInfo - Context information containing the
principalId and locale information about the caller of
service operationInvalidParameterException - invalid criteria or contextInfoMissingParameterException - missing criteria or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<PopulationInfo> searchForPopulations(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicesearchForPopulations in interface PopulationServicecriteria - the search criteriacontextInfo - Context information containing the
principalId and locale information about the caller of
service operationInvalidParameterException - invalid criteria or contextInfoMissingParameterException - missing criteria or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<ValidationResultInfo> validatePopulation(String validationTypeId, PopulationInfo populationInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicevalidatePopulation in interface PopulationServicevalidationTypeId - the identifier of the extent of validationpopulationInfo - the Population information to be testedcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - validationTypeId not foundInvalidParameterException - invalid validationTypeId,
populationInfo, or contextInfoMissingParameterException - missing validationTypeKey,
populationInfo, or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic PopulationInfo createPopulation(PopulationInfo populationInfo, ContextInfo contextInfo) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
PopulationServicecreatePopulation in interface PopulationServicepopulationInfo - the details of Population to be createdcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDataValidationErrorException - one or more values invalid
for this operationInvalidParameterException - invalid populationInfo or
contextInfoMissingParameterException - missing populationInfo or
contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureReadOnlyException - an attempt at supplying information
designated as read-onlypublic PopulationInfo updatePopulation(String populationId, PopulationInfo populationInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
PopulationServiceupdatePopulation in interface PopulationServicepopulationId - the Id of Population to be updatedpopulationInfo - the details of updates to Population being updatedcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDataValidationErrorException - One or more values invalid
for this operationDoesNotExistException - populationId not foundInvalidParameterException - invalid populationId,
populationInfo, or contextInfoMissingParameterException - missing populationId,
populationInfo, or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureReadOnlyException - an attempt at supplying information
designated as read-onlyVersionMismatchException - The action was attempted on an out
of date version.public StatusInfo deletePopulation(String populationId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicedeletePopulation in interface PopulationServicepopulationId - the Id of the Population to be deletedcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - populationId not foundInvalidParameterException - invalid populationId or contextInfoMissingParameterException - missing populationId or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic PopulationRuleInfo getPopulationRule(String populationRuleId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicegetPopulationRule in interface PopulationServicepopulationRuleId - a unique Id of a PopulationRulecontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - populationRuleId not foundInvalidParameterException - invalid populationRuleId or
contextInfoMissingParameterException - missing populationRuleId or
contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<PopulationRuleInfo> getPopulationRulesByIds(List<String> populationRuleIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicegetPopulationRulesByIds in interface PopulationServicepopulationRuleIds - list of PopulationRules to be retrievedcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - an populationRuleId in list not foundInvalidParameterException - invalid populationRuleId or
contextInfoMissingParameterException - missing populationRuleId or
contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<String> getPopulationRuleIdsByType(String populationTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicegetPopulationRuleIdsByType in interface PopulationServicepopulationTypeKey - a PopulationRule type to be retrievedcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationInvalidParameterException - invalid populationTypeKey or
contextInfoMissingParameterException - missing populationTypeKey or
contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic PopulationRuleInfo getPopulationRuleForPopulation(String populationKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicegetPopulationRuleForPopulation in interface PopulationServicepopulationKey - a Population idcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - populationId is not foundInvalidParameterException - invalid populationid or contextInfoMissingParameterException - missing populationId or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<String> searchForPopulationRuleIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicesearchForPopulationRuleIds in interface PopulationServicecriteria - the search criteriacontextInfo - Context information containing the
principalId and locale information about the caller of
service operationInvalidParameterException - invalid criteria or contextInfoMissingParameterException - missing criteria or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<PopulationRuleInfo> searchForPopulationRules(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicesearchForPopulationRules in interface PopulationServicecriteria - the search criteriacontextInfo - Context information containing the
principalId and locale information about the caller of
service operationInvalidParameterException - invalid criteria or contextInfoMissingParameterException - missing criteria or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<ValidationResultInfo> validatePopulationRule(String validationTypeKey, PopulationRuleInfo populationInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicevalidatePopulationRule in interface PopulationServicevalidationTypeKey - the identifier of the extent of validationpopulationInfo - the PopulationRule information to be testedcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - validationTypeKey not foundInvalidParameterException - invalid validationTypeKey,
populationInfo, or contextInfoMissingParameterException - missing validationTypeKey,
populationInfo, or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic PopulationRuleInfo createPopulationRule(PopulationRuleInfo populationInfo, ContextInfo contextInfo) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
PopulationServicecreatePopulationRule in interface PopulationServicepopulationInfo - the details of PopulationRule to be createdcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDataValidationErrorException - one or more values invalid
for this operationInvalidParameterException - invalid populationInfo or
contextInfoMissingParameterException - missing populationInfo or
contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureReadOnlyException - an attempt at supplying information
designated as read-onlypublic PopulationRuleInfo updatePopulationRule(String populationRuleId, PopulationRuleInfo populationInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
PopulationServiceupdatePopulationRule in interface PopulationServicepopulationRuleId - the Id of PopulationRule to be updatedpopulationInfo - the details of updates to PopulationRule
being updatedcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDataValidationErrorException - One or more values invalid
for this operationDoesNotExistException - populationRuleId not foundInvalidParameterException - invalid populationRuleId,
populationInfo, or contextInfoMissingParameterException - missing populationRuleId,
populationInfo, or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureReadOnlyException - an attempt at supplying information
designated as read-onlyVersionMismatchException - The action was attempted on an out
of date version.public StatusInfo deletePopulationRule(String populationRuleId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicedeletePopulationRule in interface PopulationServicepopulationRuleId - the Id of the PopulationRule to be deletedcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - populationRuleId not foundInvalidParameterException - invalid populationRuleId or
contextInfoMissingParameterException - missing populationRuleId or
contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic StatusInfo applyPopulationRuleToPopulation(String populationRuleId, String populationId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServiceapplyPopulationRuleToPopulation in interface PopulationServicepopulationRuleId - a unique identifier for a PopulationRulepopulationId - a unique identifier for a PopulationcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - populationId or
populationRuleId not foundInvalidParameterException - invalid populationRuleId,
populationId, or contextInfoMissingParameterException - missing populationRuleId,
populationId, or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic StatusInfo removePopulationRuleFromPopulation(String populationRuleId, String populationId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServiceremovePopulationRuleFromPopulation in interface PopulationServicepopulationRuleId - a unique identifier for a PopulationRulepopulationId - a unique identifier for a PopulationcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - populationRuleId or
populationId not found or unrelatedInvalidParameterException - invalid populationRuleId,
populationId, or contextInfoMissingParameterException - missing populationRuleId,
populationId, or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic PopulationCategoryInfo getPopulationCategory(String populationCategoryId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicegetPopulationCategory in interface PopulationServicepopulationCategoryId - a unique Id of a PopulationCategorycontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - populationCategoryId not foundInvalidParameterException - invalid populationCategoryId or
contextInfoMissingParameterException - missing populationCategoryId or
contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<PopulationCategoryInfo> getPopulationCategoriesByIds(List<String> populationCategoryIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicegetPopulationCategoriesByIds in interface PopulationServicepopulationCategoryIds - list of PopulationCategories to be retrievedcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - an populationCategoryId in list not foundInvalidParameterException - invalid populationCategoryId or
contextInfoMissingParameterException - missing populationCategoryId or
contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<String> getPopulationCategoryIdsByType(String populationTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicegetPopulationCategoryIdsByType in interface PopulationServicepopulationTypeKey - a PopulationCategory type to be retrievedcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationInvalidParameterException - invalid PopulationTypeKey or contextInfoMissingParameterException - missing PopulationTypeKey or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<PopulationCategoryInfo> getPopulationCategoriesForPopulation(String populationId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicegetPopulationCategoriesForPopulation in interface PopulationServicepopulationId - a Population keycontextInfo - Context information containing the
principalId and locale information about the caller of
service operationInvalidParameterException - invalid populationId or contextInfoMissingParameterException - missing populationId or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<String> searchForPopulationCategoryIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicesearchForPopulationCategoryIds in interface PopulationServicecriteria - the search criteriacontextInfo - Context information containing the
principalId and locale information about the caller of
service operationInvalidParameterException - invalid criteria or contextInfoMissingParameterException - missing criteria or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<PopulationCategoryInfo> searchForPopulationCategories(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicesearchForPopulationCategories in interface PopulationServicecriteria - the search criteriacontextInfo - Context information containing the
principalId and locale information about the caller of
service operationInvalidParameterException - invalid criteria or contextInfoMissingParameterException - missing criteria or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<ValidationResultInfo> validatePopulationCategory(String validationTypeKey, String populationCategoryTypeKey, PopulationCategoryInfo populationCategoryInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicevalidatePopulationCategory in interface PopulationServicevalidationTypeKey - the identifier of the extent of validationpopulationCategoryTypeKey - the PopulationCategory type keypopulationCategoryInfo - the PopulationCategory information to be testedcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - validationTypeKey not foundInvalidParameterException - invalid validationTypeKey,
PopulationInfo, or contextInfoMissingParameterException - missing validationTypeKey,
PopulationInfo, or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic PopulationCategoryInfo createPopulationCategory(String populationCategoryTypeKey, PopulationCategoryInfo populationCategoryInfo, ContextInfo contextInfo) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
PopulationServicecreatePopulationCategory in interface PopulationServicepopulationCategoryTypeKey - the PopulationCategory type keypopulationCategoryInfo - the details of PopulationCategory to be createdcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDataValidationErrorException - one or more values invalid
for this operationInvalidParameterException - invalid PopulationInfo or
contextInfoMissingParameterException - missing PopulationInfo or
contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureReadOnlyException - an attempt at supplying information
designated as read-onlypublic PopulationCategoryInfo updatePopulationCategory(String populationCategoryId, PopulationCategoryInfo populationInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
PopulationServiceupdatePopulationCategory in interface PopulationServicepopulationCategoryId - the Id of PopulationCategory to be updatedpopulationInfo - the details of updates to PopulationCategory
being updatedcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDataValidationErrorException - One or more values invalid
for this operationDoesNotExistException - populationCategoryId not foundInvalidParameterException - invalid populationCategoryId,
PopulationInfo, or contextInfoMissingParameterException - missing populationCategoryId,
PopulationInfo, or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureReadOnlyException - an attempt at supplying information
designated as read-onlyVersionMismatchException - The action was attempted on an out
of date version.public StatusInfo deletePopulationCategory(String populationCategoryId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServicedeletePopulationCategory in interface PopulationServicepopulationCategoryId - the Id of the PopulationCategory to be deletedcontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - populationCategoryId not foundInvalidParameterException - invalid populationCategoryId or
contextInfoMissingParameterException - missing populationCategoryId or
contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic StatusInfo addPopulationToPopulationCategory(String populationId, String populationCategoryId, ContextInfo contextInfo) throws AlreadyExistsException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServiceaddPopulationToPopulationCategory in interface PopulationServicepopulationId - a unique identifier for a PopulationpopulationCategoryId - a unique identifier for a PopulationCategorycontextInfo - Context information containing the
principalId and locale information about the caller of
service operationAlreadyExistsException - populationId already related to
populationCategoryIdDoesNotExistException - populationId or
populationCategoryId not foundInvalidParameterException - invalid populationId,
populationCategoryId, or contextInfoMissingParameterException - missing populationId,
populationCategoryId, or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic StatusInfo removePopulationFromPopulationCategory(String populationId, String populationCategoryId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
PopulationServiceremovePopulationFromPopulationCategory in interface PopulationServicepopulationId - a unique identifier for a PopulationpopulationCategoryId - a unique identifier for a PopulationCategorycontextInfo - Context information containing the
principalId and locale information about the caller of
service operationDoesNotExistException - populationId or
populationCategoryId not found or unrelatedInvalidParameterException - invalid populationId,
populationCategoryId, or contextInfoMissingParameterException - missing populationId,
populationCategoryId, or contextInfoOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.