public class NaturalLanguageTemplateBoServiceImpl extends Object implements NaturalLanguageTemplateBoService
NaturalLanguageTemplateBo
related business objects.Constructor and Description |
---|
NaturalLanguageTemplateBoServiceImpl() |
public NaturalLanguageTemplateBoServiceImpl()
public void setDataObjectService(DataObjectService dataObjectService)
dataObjectService
- the DataObjectService value to set.public void setAttributeDefinitionService(KrmsAttributeDefinitionService attributeDefinitionService)
public KrmsAttributeDefinitionService getAttributeDefinitionService()
public NaturalLanguageTemplaterContract getNaturalLanguageTemplater()
public void setNaturalLanguageTemplater(NaturalLanguageTemplaterContract naturalLanguageTemplater)
public NaturalLanguageTemplate createNaturalLanguageTemplate(NaturalLanguageTemplate naturalLanguageTemplate)
NaturalLanguageTemplateBoService
NaturalLanguageTemplate
exactly like the
parameter passed in except the id will be assigned and create date/user
will be set.createNaturalLanguageTemplate
in interface NaturalLanguageTemplateBoService
naturalLanguageTemplate
- The NaturalLanguageTemplate to create.NaturalLanguageTemplate
exactly like the parameter passed in.public NaturalLanguageTemplate getNaturalLanguageTemplate(String naturalLanguageTemplateId)
NaturalLanguageTemplateBoService
getNaturalLanguageTemplate
in interface NaturalLanguageTemplateBoService
naturalLanguageTemplateId
- to retrieve.NaturalLanguageTemplate
identified by the given id.
A null reference is returned if an invalid or non-existent id is supplied.public NaturalLanguageTemplate updateNaturalLanguageTemplate(NaturalLanguageTemplate naturalLanguageTemplate)
NaturalLanguageTemplateBoService
NaturalLanguageTemplate
.updateNaturalLanguageTemplate
in interface NaturalLanguageTemplateBoService
naturalLanguageTemplate
- The NaturalLanguageTemplate to update.public void deleteNaturalLanguageTemplate(String naturalLanguageTemplateId)
NaturalLanguageTemplateBoService
NaturalLanguageTemplate
with the given id.deleteNaturalLanguageTemplate
in interface NaturalLanguageTemplateBoService
naturalLanguageTemplateId
- to delete.public List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByAttributes(Map attributes)
findNaturalLanguageTemplatesByAttributes
in interface NaturalLanguageTemplateBoService
public List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByLanguageCode(String languageCode)
findNaturalLanguageTemplatesByLanguageCode
in interface NaturalLanguageTemplateBoService
public NaturalLanguageTemplate findNaturalLanguageTemplateByLanguageCodeTypeIdAndNluId(String languageCode, String typeId, String naturalLanguageUsageId)
findNaturalLanguageTemplateByLanguageCodeTypeIdAndNluId
in interface NaturalLanguageTemplateBoService
public List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByNaturalLanguageUsage(String naturalLanguageUsageId)
findNaturalLanguageTemplatesByNaturalLanguageUsage
in interface NaturalLanguageTemplateBoService
public List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByType(String typeId)
findNaturalLanguageTemplatesByType
in interface NaturalLanguageTemplateBoService
public List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByTemplate(String template)
findNaturalLanguageTemplatesByTemplate
in interface NaturalLanguageTemplateBoService
public List<NaturalLanguageTemplate> convertBosToImmutables(Collection<NaturalLanguageTemplateBo> naturalLanguageTemplateBos)
public NaturalLanguageTemplate to(NaturalLanguageTemplateBo naturalLanguageTemplateBo)
NaturalLanguageTemplateBoService
NaturalLanguageTemplateBo
to its immutable counterpart, NaturalLanguageTemplate
.to
in interface NaturalLanguageTemplateBoService
naturalLanguageTemplateBo
- the mutable business object.NaturalLanguageTemplate
the immutable object.public NaturalLanguageTemplateBo from(NaturalLanguageTemplate naturalLanguageTemplate)
NaturalLanguageTemplateBoService
NaturalLanguageTemplate
to its mutable NaturalLanguageTemplateBo
counterpart.from
in interface NaturalLanguageTemplateBoService
naturalLanguageTemplate
- the immutable object.NaturalLanguageTemplateBo
the mutable NaturalLanguageTemplateBo.Copyright © 2005–2015 The Kuali Foundation. All rights reserved.