|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NaturalLanguageUsageBoService
This is the interface for accessing repository NaturalLanguageUsageBo
related business objects.
Method Detail |
---|
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.void 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |