public class CustomAttributeServiceImpl extends Object implements CustomAttributeService
| Constructor and Description |
|---|
CustomAttributeServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected CustomAttribute |
copyCustomAttribute(CustomAttribute customAttribute) |
protected CustomAttributeDocument |
copyCustomAttributeDocument(CustomAttributeDocument customAttributeDocument) |
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService()
Accessor for
|
protected HashSet<Long> |
getCurrentCustomAttributeIds(List<? extends DocumentCustomData> customDataList) |
CustomAttributeDataType |
getCustomAttributeDataType(String dataTypeCode)
This method is to get the custom attribute data type based on data type code
|
protected List<CustomAttributeDocument> |
getCustomAttributeDocuments(String documentTypeCode)
Get the Custom Attribute Documents from the database.
|
Map<String,CustomAttributeDocument> |
getDefaultAwardCustomAttributeDocuments() |
Map<String,CustomAttributeDocument> |
getDefaultCustomAttributeDocuments(String documentTypeCode,
List<? extends DocumentCustomData> customDataList)
This method returns a Map of Custom Attribute Documents where the key is the
customAttributeId.
|
List |
getLookupReturns(String lookupClass)
This method is to get the lookupfields of the lookupclass.
|
String |
getLookupReturnsForAjaxCall(String lookupClass)
This method is to get the lookupfields of the lookupclass, and converted to string ans separated by ",".
|
void |
saveCustomAttributeValues(ResearchDocumentBase document) |
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService bos)
Accessor for
|
void |
setCustomAttributeKeyValue(String documentNumber,
Map<String,CustomAttributeDocument> customAttributeDocuments,
String attributeName,
String networkId)
This method is to set up the the custom attribute in attribute content
|
public Map<String,CustomAttributeDocument> getDefaultCustomAttributeDocuments(String documentTypeCode, List<? extends DocumentCustomData> customDataList)
CustomAttributeServicegetDefaultCustomAttributeDocuments in interface CustomAttributeServicedocumentTypeCode - document type to get custom attributes fororg.kuali.kra.service.CustomAttributeService#getDefaultAwardCustomAttributeDocuments()protected HashSet<Long> getCurrentCustomAttributeIds(List<? extends DocumentCustomData> customDataList)
protected List<CustomAttributeDocument> getCustomAttributeDocuments(String documentTypeCode)
documentTypeCode - protected CustomAttributeDocument copyCustomAttributeDocument(CustomAttributeDocument customAttributeDocument)
protected CustomAttribute copyCustomAttribute(CustomAttribute customAttribute)
public Map<String,CustomAttributeDocument> getDefaultAwardCustomAttributeDocuments()
org.kuali.kra.service.CustomAttributeService#getDefaultAwardCustomAttributeDocuments()public void saveCustomAttributeValues(ResearchDocumentBase document)
org.kuali.kra.service.CustomAttributeService#saveCustomAttributeValues(org.kuali.kra.document.ResearchDocumentBase)public void setCustomAttributeKeyValue(String documentNumber, Map<String,CustomAttributeDocument> customAttributeDocuments, String attributeName, String networkId)
CustomAttributeServicesetCustomAttributeKeyValue in interface CustomAttributeServiceorg.kuali.kra.service.CustomAttributeService#setCustomAttributeKeyValue(org.kuali.kra.document.ResearchDocumentBase, java.lang.String, java.lang.String)public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService bos)
BusinessObjectServicesetBusinessObjectService in interface CustomAttributeServicebos - BusinessObjectServicepublic org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
BusinessObjectServicegetBusinessObjectService in interface CustomAttributeServicepublic CustomAttributeDataType getCustomAttributeDataType(String dataTypeCode)
CustomAttributeServicegetCustomAttributeDataType in interface CustomAttributeServiceCustomAttributeService.getCustomAttributeDataType(java.lang.String)public List getLookupReturns(String lookupClass) throws Exception
CustomAttributeServicegetLookupReturns in interface CustomAttributeServiceExceptionCustomAttributeService.getLookupReturns(java.lang.String)public String getLookupReturnsForAjaxCall(String lookupClass) throws Exception
CustomAttributeServicegetLookupReturnsForAjaxCall in interface CustomAttributeServiceExceptionCustomAttributeService.getLookupReturnsForAjaxCall(java.lang.String)Copyright © 2013 The Kuali Foundation. All Rights Reserved.