public class MockModuleService extends RemoteModuleServiceBase
RemoteModuleServiceBase.BaseLookupUrlsHolder
applicationContext, kualiConfigurationService, kualiModuleService, legacyDataAdapter, LOG, lookupService, moduleConfiguration
Constructor and Description |
---|
MockModuleService(List<? extends ExternalizableBusinessObject> instances,
List<Class<?>> lookupable,
List<Class<?>> inquirable)
Create a mock module service for a given set of instances and key properties.
|
Modifier and Type | Method and Description |
---|---|
<T extends ExternalizableBusinessObject> |
getExternalizableBusinessObject(Class<T> businessObjectClass,
Map<String,Object> fieldValues) |
<T extends ExternalizableBusinessObject> |
getExternalizableBusinessObjectsList(Class<T> businessObjectClass,
Map<String,Object> fieldValues) |
boolean |
isExternalizableBusinessObjectInquirable(Class boClass) |
boolean |
isExternalizableBusinessObjectLookupable(Class boClass) |
afterPropertiesSet, createNewObjectFromExternalizableClass, getBaseInquiryUrl, getBaseLookupUrl, getBusinessObjectRelationship, getExternalizableBusinessObjectDictionaryEntry, getExternalizableBusinessObjectImplementation, getExternalizableBusinessObjectInquiryUrl, getExternalizableBusinessObjectLookupUrl, getExternalizableBusinessObjectsListForLookup, getExternalizableDataObjectInquiryUrl, getExternalizableDataObjectLookupUrl, getInquiryUrl, getKualiConfigurationService, getKualiModuleService, getLegacyDataAdapter, getLookupService, getModuleConfiguration, getRiceBaseLookupUrl, getUrlParameters, goToCentralRiceForInquiry, isExternalizable, isLocked, isNonBlankValueForKey, isResponsibleFor, listAlternatePrimaryKeyFieldNames, listPrimaryKeyFieldNames, packagePrefixesMatchesDataObject, persistenceProvidersMatchDataObject, retrieveExternalizableBusinessObjectIfNecessary, retrieveExternalizableBusinessObjectsList, setApplicationContext, setKualiConfigurationService, setKualiModuleService, setModuleConfiguration, toString
public MockModuleService(List<? extends ExternalizableBusinessObject> instances, List<Class<?>> lookupable, List<Class<?>> inquirable)
instances
- List of mock instances to make available.lookupable
- List of classes to treat as lookupable.inquirable
- List of classes to treat as inquirable.public <T extends ExternalizableBusinessObject> T getExternalizableBusinessObject(Class<T> businessObjectClass, Map<String,Object> fieldValues)
public <T extends ExternalizableBusinessObject> List<T> getExternalizableBusinessObjectsList(Class<T> businessObjectClass, Map<String,Object> fieldValues)
public boolean isExternalizableBusinessObjectLookupable(Class boClass)
public boolean isExternalizableBusinessObjectInquirable(Class boClass)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.