public interface ProtocolFundingSourceService
| Modifier and Type | Method and Description |
|---|---|
Map.Entry<String,String> |
getLookupParameters(String fundingSourceTypeCode)
Returns lookup parameters to create a funding source lookup URL based its type.
|
String |
getViewProtocolFundingSourceUrl(ProtocolFundingSourceBase protocolFundingSource,
ProtocolActionBase action)
Creates a view URL for the ProtocolBase funding source.
|
boolean |
isEditable(String fundingSourceTypeCode)
Returns whether the name attribute is editable according to
fundingSourceTypeCode. |
boolean |
isLookupable(String fundingSourceTypeCode)
Returns whether a lookup can be performed according to
fundingSourceTypeCode. |
boolean |
isValidIdForType(ProtocolFundingSourceBase protocolFundingSource)
Checks if the identifier contained in
protocolFundingSource is valid for the type (e.g. |
String |
updateLookupParameter(String parameter,
String boClassName,
String fieldConversions)
Modifies the generic lookup URL contained in
parameter to include the boClassName and fieldConversions. |
ProtocolFundingSourceBase |
updateProtocolFundingSource(String fundingSourceTypeCode,
String fundingSourceNumber,
String fundingSourceName)
Updates the name and title for a ProtocolBase funding source.
|
ProtocolFundingSourceBase updateProtocolFundingSource(String fundingSourceTypeCode, String fundingSourceNumber, String fundingSourceName)
fundingSourceTypeCode - the type code of the funding sourcefundingSourceNumber - the human-readable number of the funding sourcefundingSourceName - the name of the funding sourceboolean isValidIdForType(ProtocolFundingSourceBase protocolFundingSource)
protocolFundingSource is valid for the type (e.g. for type Unit, verifies whether it has a valid unit
number).protocolFundingSource - the ProtocolBase funding source to validateMap.Entry<String,String> getLookupParameters(String fundingSourceTypeCode)
fundingSourceTypeCode - the type code of the funding sourceString updateLookupParameter(String parameter, String boClassName, String fieldConversions)
parameter to include the boClassName and fieldConversions.parameter - the generic lookup URLboClassName - the class name used in the lookupfieldConversions - the field conversions between the lookup and the pageString getViewProtocolFundingSourceUrl(ProtocolFundingSourceBase protocolFundingSource, ProtocolActionBase action) throws Exception
protocolFundingSource - the funding source to viewaction - a back reference back to the actionExceptionboolean isEditable(String fundingSourceTypeCode)
fundingSourceTypeCode.fundingSourceTypeCode - the type code of the funding sourceboolean isLookupable(String fundingSourceTypeCode)
fundingSourceTypeCode.fundingSourceTypeCode - the type code of the funding sourceCopyright © 2013 The Kuali Foundation. All Rights Reserved.