public interface NaturalLanguageUsageBoService
NaturalLanguageUsageBo
related business objects.NaturalLanguageUsage createNaturalLanguageUsage(NaturalLanguageUsage naturalLanguageUsage)
NaturalLanguageUsage
exactly like the parameter passed in.naturalLanguageUsage
- The NaturalLanguageUsage to create.NaturalLanguageUsage
exactly like the parameter passed in.IllegalArgumentException
- if the NaturalLanguageUsage is null.IllegalStateException
- if the NaturalLanguageUsage already exists in the system.NaturalLanguageUsage getNaturalLanguageUsage(String naturalLanguageUsageId)
naturalLanguageUsageId
- to retrieve.NaturalLanguageUsage
identified by the given id.
A null reference is returned if an invalid or non-existent id is supplied.NaturalLanguageUsage getNaturalLanguageUsageByName(String namespace, String name)
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.NaturalLanguageUsage updateNaturalLanguageUsage(NaturalLanguageUsage naturalLanguageUsage)
NaturalLanguageUsage
.naturalLanguageUsage
- The NaturalLanguageUsage to update.IllegalArgumentException
- if the NaturalLanguageUsage is null.IllegalStateException
- if the NaturalLanguageUsage does not exists in the system.void deleteNaturalLanguageUsage(String naturalLanguageUsageId)
NaturalLanguageUsage
with the given id.naturalLanguageUsageId
- to delete.IllegalArgumentException
- if the NaturalLanguageUsage is null.IllegalStateException
- if the NaturalLanguageUsage does not exists in the systemList<NaturalLanguageUsage> findNaturalLanguageUsagesByName(String name)
List<NaturalLanguageUsage> findNaturalLanguageUsagesByDescription(String description)
List<NaturalLanguageUsage> findNaturalLanguageUsagesByNamespace(String namespace)
NaturalLanguageUsage to(NaturalLanguageUsageBo naturalLanguageUsageBo)
NaturalLanguageUsageBo
to its immutable counterpart, NaturalLanguageUsage
.naturalLanguageUsageBo
- the mutable business object.NaturalLanguageUsage
the immutable object.NaturalLanguageUsageBo from(NaturalLanguageUsage naturalLanguageUsage)
NaturalLanguageUsage
to its mutable NaturalLanguageUsageBo
counterpart.naturalLanguageUsage
- the immutable object.NaturalLanguageUsageBo
the mutable NaturalLanguageUsageBo.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.