public class StatementServiceMock extends Object implements StatementService
| Constructor and Description | 
|---|
| StatementServiceMock() | 
public StatementServiceMock()
public void clear()
public List<String> getObjectTypes()
getObjectTypes in interface DictionaryServicepublic ObjectStructureDefinition getObjectStructure(String objectTypeKey)
getObjectStructure in interface DictionaryServicepublic List<String> getRefObjectTypes() throws OperationFailedException
getRefObjectTypes in interface StatementServiceOperationFailedExceptionpublic List<String> getRefObjectSubTypes(String objectTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getRefObjectSubTypes in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic List<NlUsageTypeInfo> getNlUsageTypes() throws OperationFailedException
getNlUsageTypes in interface StatementServiceOperationFailedExceptionpublic NlUsageTypeInfo getNlUsageType(String nlUsageTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getNlUsageType in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic RefStatementRelationInfo createRefStatementRelation(RefStatementRelationInfo refStatementRelationInfo) throws AlreadyExistsException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
public RefStatementRelationInfo updateRefStatementRelation(String refStatementRelationId, RefStatementRelationInfo refStatementRelationInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
public StatusInfo deleteRefStatementRelation(String refStatementRelationId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
deleteRefStatementRelation in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionPermissionDeniedExceptionpublic List<ValidationResultInfo> validateRefStatementRelation(String validationType, RefStatementRelationInfo refStatementRelationInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
validateRefStatementRelation in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic RefStatementRelationInfo getRefStatementRelation(String refStatementRelationId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getRefStatementRelation in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic List<RefStatementRelationInfo> getRefStatementRelationsByRef(String refObjectTypeKey, String refObjectId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getRefStatementRelationsByRef in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic List<RefStatementRelationInfo> getRefStatementRelationsByStatement(String statementId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getRefStatementRelationsByStatement in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic String getNaturalLanguageForStatement(String statementId, String nlUsageTypeKey, String language) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getNaturalLanguageForStatement in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic String getNaturalLanguageForRefStatementRelation(String refStatementRelationId, String nlUsageTypeKey, String language) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getNaturalLanguageForRefStatementRelation in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic String getNaturalLanguageForReqComponent(String reqComponentId, String nlUsageTypeKey, String language) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getNaturalLanguageForReqComponent in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic String translateStatementTreeViewToNL(StatementTreeViewInfo statementTreeViewInfo, String nlUsageTypeKey, String language) throws InvalidParameterException, MissingParameterException, OperationFailedException
translateStatementTreeViewToNL in interface StatementServiceInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic String translateReqComponentToNL(ReqComponentInfo reqComponentInfo, String nlUsageTypeKey, String language) throws InvalidParameterException, MissingParameterException, OperationFailedException
translateReqComponentToNL in interface StatementServiceInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic List<ValidationResultInfo> validateReqComponent(String validationType, ReqComponentInfo reqComponentInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
validateReqComponent in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic List<ValidationResultInfo> validateStatement(String validationType, StatementInfo statementInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
validateStatement in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic StatementInfo getStatement(String statementId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getStatement in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic List<StatementInfo> getStatementsByType(String statementTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getStatementsByType in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic ReqComponentInfo getReqComponent(String reqComponentId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getReqComponent in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic List<ReqComponentInfo> getReqComponentsByType(String reqComponentTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getReqComponentsByType in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic List<StatementInfo> getStatementsUsingReqComponent(String reqComponentId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getStatementsUsingReqComponent in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic List<StatementInfo> getStatementsUsingStatement(String statementId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getStatementsUsingStatement in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic ReqComponentInfo createReqComponent(String reqComponentType, ReqComponentInfo reqComponentInfo) throws AlreadyExistsException, DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
public StatusInfo deleteReqComponent(String reqComponentId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
deleteReqComponent in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionPermissionDeniedExceptionpublic StatementInfo createStatement(String statementType, StatementInfo statementInfo) throws AlreadyExistsException, DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
public StatementInfo updateStatement(String statementId, StatementInfo statementInfo) throws CircularReferenceException, DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
public StatusInfo deleteStatement(String statementId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
deleteStatement in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionPermissionDeniedExceptionpublic StatementTypeInfo getStatementType(String statementTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getStatementType in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic List<StatementTypeInfo> getStatementTypes() throws OperationFailedException
getStatementTypes in interface StatementServiceOperationFailedExceptionpublic List<String> getStatementTypesForStatementType(String statementTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getStatementTypesForStatementType in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic List<ReqComponentTypeInfo> getReqComponentTypes() throws OperationFailedException
getReqComponentTypes in interface StatementServiceOperationFailedExceptionpublic ReqComponentTypeInfo getReqComponentType(String reqComponentTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getReqComponentType in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic List<ReqComponentTypeInfo> getReqComponentTypesForStatementType(String statementTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getReqComponentTypesForStatementType in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic List<RefStatementRelationTypeInfo> getRefStatementRelationTypes() throws OperationFailedException
getRefStatementRelationTypes in interface StatementServiceOperationFailedExceptionpublic RefStatementRelationTypeInfo getRefStatementRelationType(String refStatementRelationTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getRefStatementRelationType in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic List<String> getStatementTypesForRefStatementRelationType(String refStatementRelationTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getStatementTypesForRefStatementRelationType in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic List<String> getRefStatementRelationTypesForRefObjectSubType(String refSubTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getRefStatementRelationTypesForRefObjectSubType in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic ReqComponentInfo updateReqComponent(String reqComponentId, ReqComponentInfo reqComponentInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
public StatementTreeViewInfo getStatementTreeView(String statementId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getStatementTreeView in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic StatementTreeViewInfo getStatementTreeViewForNlUsageType(String statementId, String nlUsageTypeKey, String language) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getStatementTreeViewForNlUsageType in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic StatementTreeViewInfo updateStatementTreeView(String statementId, StatementTreeViewInfo statementTreeViewInfo) throws CircularReferenceException, DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
public StatementTreeViewInfo createStatementTreeView(StatementTreeViewInfo statementTreeViewInfo) throws CircularReferenceException, AlreadyExistsException, DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
public StatusInfo deleteStatementTreeView(String statementId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
deleteStatementTreeView in interface StatementServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionPermissionDeniedExceptionpublic List<TypeInfo> getSearchTypes(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException
getSearchTypes in interface SearchServiceInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic TypeInfo getSearchType(String searchTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
getSearchType in interface SearchServiceDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionpublic SearchResultInfo search(SearchRequestInfo searchRequestInfo, ContextInfo contextInfo) throws MissingParameterException, OperationFailedException, PermissionDeniedException
search in interface SearchServiceMissingParameterExceptionOperationFailedExceptionPermissionDeniedExceptionCopyright © 2004-2014 The Kuali Foundation. All Rights Reserved.