|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krms.impl.repository.NaturalLanguageTemplateBoServiceImpl
public final class NaturalLanguageTemplateBoServiceImpl
Implementation of the @{link NaturalLanguageTemplateBoService} interface for accessing NaturalLanguageTemplateBo
related business objects.
Constructor Summary | |
---|---|
NaturalLanguageTemplateBoServiceImpl()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NaturalLanguageTemplateBoServiceImpl()
Method Detail |
---|
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 void 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |