org.kuali.rice.krad.service.impl
Class RiceApplicationConfigurationServiceImpl

java.lang.Object
  extended by org.kuali.rice.krad.service.impl.RiceApplicationConfigurationServiceImpl
All Implemented Interfaces:
RiceApplicationConfigurationService

public class RiceApplicationConfigurationServiceImpl
extends Object
implements RiceApplicationConfigurationService


Field Summary
protected  List<org.kuali.rice.core.api.component.Component> components
           
protected  List<String> packagePrefixes
           
 
Constructor Summary
RiceApplicationConfigurationServiceImpl()
           
 
Method Summary
 String getBaseHelpUrl(String businessObjectClassName)
           
 String getBaseInquiryUrl(String businessObjectClassName)
           
 String getBaseLookupUrl(String businessObjectClassName)
           
 org.kuali.rice.krad.datadictionary.AttributeDefinition getBusinessObjectAttributeDefinition(String businessObjectClassName, String attributeName)
          This method will return the attribute definition from the local data dictionary.
 String getConfigurationParameter(String parameterName)
          Given a property name (parameterName), returns the value associated with it.
protected  org.kuali.rice.krad.service.DataDictionaryService getDataDictionaryService()
           
protected  String getDetailTypeName(Class documentOrStepClass)
           
protected  org.kuali.rice.core.api.config.property.ConfigurationService getKualiConfigurationService()
           
protected  org.kuali.rice.krad.service.KualiModuleService getKualiModuleService()
           
 List<org.kuali.rice.core.api.component.Component> getNonDatabaseComponents()
          This method derived ParameterDetailedTypes from the DataDictionary for all BusinessObjects and Documents and from Spring for all batch Steps.
 List<String> getPackagePrefixes()
           
protected  org.kuali.rice.core.api.component.Component getParameterDetailType(Class documentOrStepClass)
           
 boolean isResponsibleForPackage(String packageName)
          Checks whether this application is responsible for the package given.
 void setPackagePrefixes(List<String> packagePrefixes)
           
 boolean supportsBusinessObjectClass(String businessObjectClassName)
          Checks whether this application supports the given business object (whether it is defined in the data dictionary)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

components

protected List<org.kuali.rice.core.api.component.Component> components

packagePrefixes

protected List<String> packagePrefixes
Constructor Detail

RiceApplicationConfigurationServiceImpl

public RiceApplicationConfigurationServiceImpl()
Method Detail

getConfigurationParameter

public String getConfigurationParameter(String parameterName)
Description copied from interface: RiceApplicationConfigurationService
Given a property name (parameterName), returns the value associated with it.

Specified by:
getConfigurationParameter in interface RiceApplicationConfigurationService
Returns:
String associated with the given parameterName

getNonDatabaseComponents

public List<org.kuali.rice.core.api.component.Component> getNonDatabaseComponents()
This method derived ParameterDetailedTypes from the DataDictionary for all BusinessObjects and Documents and from Spring for all batch Steps.

Specified by:
getNonDatabaseComponents in interface RiceApplicationConfigurationService
Returns:
List containing the detailed types derived from the data dictionary and Spring

getParameterDetailType

protected org.kuali.rice.core.api.component.Component getParameterDetailType(Class documentOrStepClass)

getDetailTypeName

protected String getDetailTypeName(Class documentOrStepClass)

getKualiConfigurationService

protected org.kuali.rice.core.api.config.property.ConfigurationService getKualiConfigurationService()

getKualiModuleService

protected org.kuali.rice.krad.service.KualiModuleService getKualiModuleService()

getDataDictionaryService

protected org.kuali.rice.krad.service.DataDictionaryService getDataDictionaryService()

getBaseInquiryUrl

public String getBaseInquiryUrl(String businessObjectClassName)
Specified by:
getBaseInquiryUrl in interface RiceApplicationConfigurationService
See Also:
RiceApplicationConfigurationService.getBaseInquiryUrl(java.lang.String)

getBaseLookupUrl

public String getBaseLookupUrl(String businessObjectClassName)
Specified by:
getBaseLookupUrl in interface RiceApplicationConfigurationService
See Also:
RiceApplicationConfigurationService.getBaseLookupUrl(java.lang.String)

getBaseHelpUrl

public String getBaseHelpUrl(String businessObjectClassName)
Specified by:
getBaseHelpUrl in interface RiceApplicationConfigurationService

isResponsibleForPackage

public boolean isResponsibleForPackage(String packageName)
Description copied from interface: RiceApplicationConfigurationService
Checks whether this application is responsible for the package given. It will ensure that it falls within a set of configured parent packages.

Specified by:
isResponsibleForPackage in interface RiceApplicationConfigurationService
See Also:
RiceApplicationConfigurationService.isResponsibleForPackage(java.lang.String)

supportsBusinessObjectClass

public boolean supportsBusinessObjectClass(String businessObjectClassName)
Description copied from interface: RiceApplicationConfigurationService
Checks whether this application supports the given business object (whether it is defined in the data dictionary)

Specified by:
supportsBusinessObjectClass in interface RiceApplicationConfigurationService
See Also:
RiceApplicationConfigurationService.supportsBusinessObjectClass(java.lang.String)

getBusinessObjectAttributeDefinition

public org.kuali.rice.krad.datadictionary.AttributeDefinition getBusinessObjectAttributeDefinition(String businessObjectClassName,
                                                                                                   String attributeName)
Description copied from interface: RiceApplicationConfigurationService
This method will return the attribute definition from the local data dictionary. It assumes that the #supportsBusinessObjectClass(java.lang.String) method has already been checked to make sure that this service will handle that class. If not present, this method will return null. This method also returns null if the given attribute definition can not be found on the business object.

Specified by:
getBusinessObjectAttributeDefinition in interface RiceApplicationConfigurationService
See Also:
RiceApplicationConfigurationService.getBusinessObjectAttributeDefinition(java.lang.String, java.lang.String)

getPackagePrefixes

public List<String> getPackagePrefixes()
Returns:
the packagePrefixes

setPackagePrefixes

public void setPackagePrefixes(List<String> packagePrefixes)
Parameters:
packagePrefixes - the packagePrefixes to set


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