public class NaturalLanguageUsageBoServiceImpl extends Object implements NaturalLanguageUsageBoService
NaturalLanguageUsageBo
related business objects.Constructor and Description |
---|
NaturalLanguageUsageBoServiceImpl() |
public NaturalLanguageUsageBoServiceImpl()
public void setDataObjectService(DataObjectService dataObjectService)
dataObjectService
- the DataObjectService value to set.public void setAttributeDefinitionService(KrmsAttributeDefinitionService attributeDefinitionService)
public KrmsAttributeDefinitionService getAttributeDefinitionService()
public NaturalLanguageUsage createNaturalLanguageUsage(NaturalLanguageUsage naturalLanguageUsage)
NaturalLanguageUsageBoService
NaturalLanguageUsage
exactly like the parameter passed in.createNaturalLanguageUsage
in interface NaturalLanguageUsageBoService
naturalLanguageUsage
- The NaturalLanguageUsage to create.NaturalLanguageUsage
exactly like the parameter passed in.public NaturalLanguageUsage getNaturalLanguageUsage(String naturalLanguageUsageId)
NaturalLanguageUsageBoService
getNaturalLanguageUsage
in interface NaturalLanguageUsageBoService
naturalLanguageUsageId
- to retrieve.NaturalLanguageUsage
identified by the given id.
A null reference is returned if an invalid or non-existent id is supplied.public NaturalLanguageUsage getNaturalLanguageUsageByName(String namespace, String name)
NaturalLanguageUsageBoService
getNaturalLanguageUsageByName
in interface NaturalLanguageUsageBoService
namespace
- of the NaturalLanguageUsage to retrieve.name
- of the NaturalLanguageUsage to retrieve.NaturalLanguageUsage
identified by the given namespace and name.
A null reference is returned if the repository does not contain a NaturalLanguageUsage with the given namespace
and name.public NaturalLanguageUsage updateNaturalLanguageUsage(NaturalLanguageUsage naturalLanguageUsage)
NaturalLanguageUsageBoService
NaturalLanguageUsage
.updateNaturalLanguageUsage
in interface NaturalLanguageUsageBoService
naturalLanguageUsage
- The NaturalLanguageUsage to update.public void deleteNaturalLanguageUsage(String naturalLanguageUsageId)
NaturalLanguageUsageBoService
NaturalLanguageUsage
with the given id.deleteNaturalLanguageUsage
in interface NaturalLanguageUsageBoService
naturalLanguageUsageId
- to delete.public List<NaturalLanguageUsage> findNaturalLanguageUsagesByName(String name)
findNaturalLanguageUsagesByName
in interface NaturalLanguageUsageBoService
public List<NaturalLanguageUsage> findNaturalLanguageUsagesByDescription(String description)
findNaturalLanguageUsagesByDescription
in interface NaturalLanguageUsageBoService
public List<NaturalLanguageUsage> findNaturalLanguageUsagesByNamespace(String namespace)
findNaturalLanguageUsagesByNamespace
in interface NaturalLanguageUsageBoService
public List<NaturalLanguageUsage> convertBosToImmutables(Collection<NaturalLanguageUsageBo> naturalLanguageUsageBos)
public NaturalLanguageUsage to(NaturalLanguageUsageBo naturalLanguageUsageBo)
NaturalLanguageUsageBoService
NaturalLanguageUsageBo
to its immutable counterpart, NaturalLanguageUsage
.to
in interface NaturalLanguageUsageBoService
naturalLanguageUsageBo
- the mutable business object.NaturalLanguageUsage
the immutable object.public NaturalLanguageUsageBo from(NaturalLanguageUsage naturalLanguageUsage)
NaturalLanguageUsageBoService
NaturalLanguageUsage
to its mutable NaturalLanguageUsageBo
counterpart.from
in interface NaturalLanguageUsageBoService
naturalLanguageUsage
- the immutable object.NaturalLanguageUsageBo
the mutable NaturalLanguageUsageBo.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.