public interface NaturalLanguageTemplateBoService
NaturalLanguageTemplateBo
related business objects.NaturalLanguageTemplate createNaturalLanguageTemplate(NaturalLanguageTemplate naturalLanguageTemplate)
NaturalLanguageTemplate
exactly like the
parameter passed in except the id will be assigned and create date/user
will be set.naturalLanguageTemplate
- The NaturalLanguageTemplate to create.NaturalLanguageTemplate
exactly like the parameter passed in.IllegalArgumentException
- if the NaturalLanguageTemplate is null.IllegalStateException
- if the NaturalLanguageTemplate already exists in the system.NaturalLanguageTemplate getNaturalLanguageTemplate(String naturalLanguageTemplateId)
naturalLanguageTemplateId
- to retrieve.NaturalLanguageTemplate
identified by the given id.
A null reference is returned if an invalid or non-existent id is supplied.void updateNaturalLanguageTemplate(NaturalLanguageTemplate naturalLanguageTemplate)
NaturalLanguageTemplate
.naturalLanguageTemplate
- The NaturalLanguageTemplate to update.IllegalArgumentException
- if the NaturalLanguageTemplate is null.IllegalStateException
- if the NaturalLanguageTemplate does not exists in the system.void deleteNaturalLanguageTemplate(String naturalLanguageTemplateId)
NaturalLanguageTemplate
with the given id.naturalLanguageTemplateId
- to delete.IllegalArgumentException
- if the NaturalLanguageTemplate is null.IllegalStateException
- if the NaturalLanguageTemplate does not exists in the systemList<NaturalLanguageTemplate> findNaturalLanguageTemplatesByAttributes(Map attributes)
List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByLanguageCode(String languageCode)
NaturalLanguageTemplate findNaturalLanguageTemplateByLanguageCodeTypeIdAndNluId(String languageCode, String typeId, String naturalLanguageUsageId)
List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByNaturalLanguageUsage(String naturalLanguageUsageId)
List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByType(String typeId)
List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByTemplate(String template)
NaturalLanguageTemplate to(NaturalLanguageTemplateBo naturalLanguageTemplateBo)
NaturalLanguageTemplateBo
to its immutable counterpart, NaturalLanguageTemplate
.naturalLanguageTemplateBo
- the mutable business object.NaturalLanguageTemplate
the immutable object.NaturalLanguageTemplateBo from(NaturalLanguageTemplate naturalLanguageTemplate)
NaturalLanguageTemplate
to its mutable NaturalLanguageTemplateBo
counterpart.naturalLanguageTemplate
- the immutable object.NaturalLanguageTemplateBo
the mutable NaturalLanguageTemplateBo.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.