|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.etaxonomy.cdm.api.service.ServiceBase<T,DAO>
eu.etaxonomy.cdm.api.service.VersionableServiceBase<T,DAO>
eu.etaxonomy.cdm.api.service.AnnotatableServiceBase<T,DAO>
eu.etaxonomy.cdm.api.service.IdentifiableServiceBase<DescriptionBase,IDescriptionDao>
eu.etaxonomy.cdm.api.service.DescriptionServiceImpl
@Service @Transactional(readOnly=true) public class DescriptionServiceImpl
| Field Summary | |
|---|---|
protected IDefinedTermDao |
definedTermDao
|
protected IDescriptionElementDao |
descriptionElementDao
|
protected IFeatureDao |
featureDao
|
protected IFeatureNodeDao |
featureNodeDao
|
protected IFeatureTreeDao |
featureTreeDao
|
protected IStatisticalMeasurementValueDao |
statisticalMeasurementValueDao
|
protected ITermVocabularyDao |
vocabularyDao
|
| Fields inherited from class eu.etaxonomy.cdm.api.service.IdentifiableServiceBase |
|---|
commonService, UPDATE_TITLE_CACHE_DEFAULT_STEP_SIZE |
| Fields inherited from class eu.etaxonomy.cdm.api.service.ServiceBase |
|---|
appContext, dao |
| Constructor Summary | |
|---|---|
DescriptionServiceImpl()
|
|
| Method Summary | ||
|---|---|---|
void |
aggregateDistributions(List<NamedArea> superAreas,
Rank lowerRank,
Rank upperRank)
|
|
int |
count(Class<? extends DescriptionBase> type,
Boolean hasImages,
Boolean hasText,
Set<Feature> feature)
Count the descriptions of type |
|
int |
countTaxonDescriptionMedia(UUID taxonUuid,
boolean limitToGalleries,
Set<MarkerType> markerTypes)
Returns count for all Media attached to a taxon via TaxonDescription.elements.media. |
|
UUID |
deleteDescriptionElement(DescriptionElementBase descriptionElement)
FIXME Candidate for harmonization descriptionElementService.delete |
|
String |
generateNaturalLanguageDescription(FeatureTree featureTree,
TaxonDescription description,
List<Language> preferredLanguages,
String separator)
Generate a string representation of the structured description supplied in natural language
The featureTree will be used to structure the NaturalLanguageDescription. |
|
TermVocabulary<Feature> |
getDefaultFeatureVocabulary()
|
|
Pager<Annotation> |
getDescriptionElementAnnotations(DescriptionElementBase annotatedObj,
MarkerType status,
Integer pageSize,
Integer pageNumber,
List<OrderHint> orderHints,
List<String> propertyPaths)
Return a Pager containing Annotation entities belonging to the DescriptionElementBase instance supplied, optionally filtered by MarkerType |
|
DescriptionElementBase |
getDescriptionElementByUuid(UUID uuid)
FIXME Candidate for harmonization descriptionElementService.find |
|
Pager<DescriptionElementBase> |
getDescriptionElements(DescriptionBase description,
Set<Feature> features,
Class<? extends DescriptionElementBase> type,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
FIXME Candidate for harmonization rename -> getElements |
|
|
getDescriptionElementsForTaxon(Taxon taxon,
Set<Feature> features,
Class<T> type,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
FIXME Candidate for harmonization descriptionElementService.listDescriptionElementsForTaxon |
|
TermVocabulary<Feature> |
getFeatureVocabulary(UUID uuid)
|
|
Pager<Media> |
getMedia(DescriptionElementBase descriptionElement,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
Returns a List of Media that are associated with a given description element |
|
DistributionTree |
getOrderedDistributions(Set<TaxonDescription> taxonDescriptions,
Set<NamedAreaLevel> omitLevels,
List<String> propertyPaths)
|
|
Pager<TaxonNameDescription> |
getTaxonNameDescriptions(TaxonNameBase name,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
Returns a List of TaxonNameDescription instances, optionally filtered by the name which they refer to |
|
boolean |
hasStructuredData(DescriptionBase<?> description)
Preliminary method to test whether a description contains structured data. |
|
List<DescriptionElementBase> |
listDescriptionElements(DescriptionBase description,
Set<Feature> features,
Class<? extends DescriptionElementBase> type,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
Returns description elements of type |
|
List<Media> |
listTaxonDescriptionMedia(UUID taxonUuid,
boolean limitToGalleries,
Set<MarkerType> markerTypes,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
Returns all Media attached to a taxon via TaxonDescription.elements.media. |
|
List<TaxonDescription> |
listTaxonDescriptions(Taxon taxon,
Set<Scope> scopes,
Set<NamedArea> geographicalScope,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
|
|
List<TaxonDescription> |
listTaxonDescriptions(Taxon taxon,
Set<Scope> scopes,
Set<NamedArea> geographicalScope,
Set<MarkerType> markerTypes,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
|
|
DescriptionElementBase |
loadDescriptionElement(UUID uuid,
List<String> propertyPaths)
FIXME Candidate for harmonization descriptionElementService.load |
|
void |
moveDescriptionElementsToDescription(Collection<DescriptionElementBase> descriptionElements,
DescriptionBase targetDescription,
boolean isCopy)
Add the collection of description elements to the targetDescription. |
|
Pager<DescriptionBase> |
page(Class<? extends DescriptionBase> type,
Boolean hasImages,
Boolean hasText,
Set<Feature> feature,
Integer pageSize,
Integer pageNumber,
List<OrderHint> orderHints,
List<String> propertyPaths)
List the descriptions of type |
|
Pager<TaxonDescription> |
pageTaxonDescriptions(Taxon taxon,
Set<Scope> scopes,
Set<NamedArea> geographicalScope,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
Returns a List of TaxonDescription instances, optionally filtered by parameters passed to this method |
|
Pager<TaxonDescription> |
pageTaxonDescriptions(Taxon taxon,
Set<Scope> scopes,
Set<NamedArea> geographicalScope,
Set<MarkerType> markerTypes,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
Returns a List of TaxonDescription instances, optionally filtered by parameters passed to this method |
|
Map<UUID,DescriptionElementBase> |
saveDescriptionElement(Collection<DescriptionElementBase> descriptionElements)
FIXME Candidate for harmonization descriptionElementService.save |
|
UUID |
saveDescriptionElement(DescriptionElementBase descriptionElement)
FIXME Candidate for harmonization descriptionElementService.save |
|
Pager<TaxonDescription> |
searchDescriptionByDistribution(Set<NamedArea> namedAreas,
PresenceAbsenceTermBase presence,
Integer pageSize,
Integer pageNumber,
List<OrderHint> orderHints,
List<String> propertyPaths)
FIXME Candidate for harmonization Rename: searchByDistribution |
|
Pager<DescriptionElementBase> |
searchElements(Class<? extends DescriptionElementBase> clazz,
String queryString,
Integer pageSize,
Integer pageNumber,
List<OrderHint> orderHints,
List<String> propertyPaths)
FIXME Candidate for harmonization move: descriptionElementService.search |
|
protected void |
setDao(IDescriptionDao dao)
|
|
protected void |
setDefinedTermDao(IDefinedTermDao definedTermDao)
|
|
protected void |
setDescriptionElementDao(IDescriptionElementDao descriptionElementDao)
|
|
protected void |
setFeatureDao(IFeatureDao featureDao)
|
|
protected void |
setFeatureNodeDao(IFeatureNodeDao featureNodeDao)
|
|
protected void |
setFeatureTreeDao(IFeatureTreeDao featureTreeDao)
|
|
protected void |
setNaturalLanguageGenerator(NaturalLanguageGenerator naturalLanguageGenerator)
|
|
protected void |
setVocabularyDao(ITermVocabularyDao vocabularyDao)
|
|
protected void |
statisticalMeasurementValueDao(IStatisticalMeasurementValueDao statisticalMeasurementValueDao)
|
|
void |
updateTitleCache(Class<? extends DescriptionBase> clazz,
Integer stepSize,
IIdentifiableEntityCacheStrategy<DescriptionBase> cacheStrategy,
IProgressMonitor monitor)
(Re-)generate the title caches for all objects of this concrete IdentifiableEntity class |
|
| Methods inherited from class eu.etaxonomy.cdm.api.service.IdentifiableServiceBase |
|---|
countByTitle, countByTitle, deduplicate, find, findByTitle, findByTitle, findCdmObjectsByTitle, findCdmObjectsByTitle, findCdmObjectsByTitle, findTitleCache, getRights, getSourcedObjectByIdInSource, getSources, getUuidAndTitleCache, listByReferenceTitle, listByTitle, replace, search, setOtherCachesNull, updateTitleCache, updateTitleCacheImpl |
| Methods inherited from class eu.etaxonomy.cdm.api.service.AnnotatableServiceBase |
|---|
countMarkers, getAnnotations, getMarkers, groupMarkers |
| Methods inherited from class eu.etaxonomy.cdm.api.service.VersionableServiceBase |
|---|
getNextAuditEvent, getPreviousAuditEvent, pageAuditEvents, pageAuditEvents |
| Methods inherited from class eu.etaxonomy.cdm.api.service.ServiceBase |
|---|
clear, count, delete, exists, find, find, find, findById, getSession, group, list, list, load, load, lock, merge, page, refresh, refresh, rows, save, save, saveOrUpdate, saveOrUpdate, setApplicationContext, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface eu.etaxonomy.cdm.api.service.IIdentifiableEntityService |
|---|
countByTitle, countByTitle, deduplicate, find, findByTitle, findByTitle, findTitleCache, getRights, getSourcedObjectByIdInSource, getSources, getUuidAndTitleCache, listByReferenceTitle, listByTitle, replace, search, updateTitleCache |
| Methods inherited from interface eu.etaxonomy.cdm.api.service.IAnnotatableService |
|---|
countMarkers, getAnnotations, getMarkers, groupMarkers |
| Methods inherited from interface eu.etaxonomy.cdm.api.service.IVersionableService |
|---|
getNextAuditEvent, getPreviousAuditEvent, pageAuditEvents, pageAuditEvents |
| Methods inherited from interface eu.etaxonomy.cdm.api.service.IService |
|---|
clear, count, delete, exists, find, find, find, findById, getSession, group, list, list, load, load, lock, merge, page, refresh, refresh, rows, save, save, saveOrUpdate, saveOrUpdate, update |
| Field Detail |
|---|
protected IDescriptionElementDao descriptionElementDao
protected IFeatureTreeDao featureTreeDao
protected IFeatureNodeDao featureNodeDao
protected IFeatureDao featureDao
protected ITermVocabularyDao vocabularyDao
protected IDefinedTermDao definedTermDao
protected IStatisticalMeasurementValueDao statisticalMeasurementValueDao
| Constructor Detail |
|---|
public DescriptionServiceImpl()
| Method Detail |
|---|
@Autowired protected void setFeatureTreeDao(IFeatureTreeDao featureTreeDao)
@Autowired protected void setFeatureNodeDao(IFeatureNodeDao featureNodeDao)
@Autowired protected void setFeatureDao(IFeatureDao featureDao)
@Autowired protected void setVocabularyDao(ITermVocabularyDao vocabularyDao)
@Autowired protected void setDefinedTermDao(IDefinedTermDao definedTermDao)
@Autowired protected void statisticalMeasurementValueDao(IStatisticalMeasurementValueDao statisticalMeasurementValueDao)
@Autowired protected void setDescriptionElementDao(IDescriptionElementDao descriptionElementDao)
@Autowired protected void setNaturalLanguageGenerator(NaturalLanguageGenerator naturalLanguageGenerator)
@Transactional(readOnly=false)
public void updateTitleCache(Class<? extends DescriptionBase> clazz,
Integer stepSize,
IIdentifiableEntityCacheStrategy<DescriptionBase> cacheStrategy,
IProgressMonitor monitor)
IIdentifiableEntityService
updateTitleCache in interface IIdentifiableEntityService<DescriptionBase>clazz - class of objects to be updatedstepSize - number of objects loaded per step. If null use default.cacheStrategy - cachestrategy used for title cache. If null use default.monitor - progress monitor. If null use default.public TermVocabulary<Feature> getDefaultFeatureVocabulary()
getDefaultFeatureVocabulary in interface IDescriptionService@Autowired protected void setDao(IDescriptionDao dao)
setDao in class ServiceBase<DescriptionBase,IDescriptionDao>
public int count(Class<? extends DescriptionBase> type,
Boolean hasImages,
Boolean hasText,
Set<Feature> feature)
IDescriptionService
count in interface IDescriptionServicetype - The type of description returned (Taxon, TaxonName, or Specimen)hasText - Restrict the description to those that do (true) or don't (false) contain TextData elements that have some textual content (can be null)feature - Restrict the description to those elements which are scoped by one of the Features passed (can be null or empty)
public Pager<DescriptionElementBase> getDescriptionElements(DescriptionBase description,
Set<Feature> features,
Class<? extends DescriptionElementBase> type,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
getDescriptionElements in interface IDescriptionServicedescription - The description which these description elements belong to (can be null to count all description elements)features - Restrict the results to those description elements which are scoped by one of the Features passed (can be null or empty)type - The type of descriptionpageSize - The maximum number of description elements returned (can be null for all description elements)pageNumber - The offset (in pageSize chunks) from the start of the result set (0 - based)propertyPaths - Properties to initialize in the returned entities, following the syntax described in IBeanInitializer.initialize(Object, List)
public List<DescriptionElementBase> listDescriptionElements(DescriptionBase description,
Set<Feature> features,
Class<? extends DescriptionElementBase> type,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
IDescriptionService
listDescriptionElements in interface IDescriptionServicedescription - The description which these description elements belong to (can be null to count all description elements)features - Restrict the results to those description elements which are scoped by one of the Features passed (can be null or empty)type - The type of descriptionpageSize - The maximum number of description elements returned (can be null for all description elements)pageNumber - The offset (in pageSize chunks) from the start of the result set (0 - based)propertyPaths - Properties to initialize in the returned entities, following the syntax described in IBeanInitializer.initialize(Object, List)
public Pager<Annotation> getDescriptionElementAnnotations(DescriptionElementBase annotatedObj,
MarkerType status,
Integer pageSize,
Integer pageNumber,
List<OrderHint> orderHints,
List<String> propertyPaths)
IDescriptionService
getDescriptionElementAnnotations in interface IDescriptionServiceannotatedObj - The object that "owns" the annotations returnedstatus - Only return annotations which are marked with a Marker of this type (can be null to return all annotations)pageSize - The maximum number of terms returned (can be null for all annotations)pageNumber - The offset (in pageSize chunks) from the start of the result set (0 - based)orderHints - may be nullpropertyPaths - properties to initialize - see IBeanInitializer.initialize(Object, List)
public Pager<Media> getMedia(DescriptionElementBase descriptionElement,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
IDescriptionService
getMedia in interface IDescriptionServicedescriptionElement - the description element associated with these mediapageSize - The maximum number of media returned (can be null for all related media)pageNumber - The offset (in pageSize chunks) from the start of the result set (0 - based)propertyPaths - properties to initialize - see IBeanInitializer.initialize(Object, List)
public Pager<TaxonDescription> pageTaxonDescriptions(Taxon taxon,
Set<Scope> scopes,
Set<NamedArea> geographicalScope,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
IDescriptionService
pageTaxonDescriptions in interface IDescriptionServicetaxon - The taxon which the description refers to (can be null for all TaxonDescription instances)scopes - Restrict the results to those descriptions which are scoped by one of the Scope instances passed (can be null or empty)geographicalScope - Restrict the results to those descriptions which have a geographical scope that overlaps with the NamedArea instances passed (can be null or empty)pageSize - The maximum number of descriptions returned (can be null for all descriptions)pageNumber - The offset (in pageSize chunks) from the start of the result set (0 - based)propertyPaths - Properties to initialize in the returned entities, following the syntax described in IBeanInitializer.initialize(Object, List)
#pageMarkedTaxonDescriptions(Taxon, Set, Set, Set, Integer, Integer, List)
public List<TaxonDescription> listTaxonDescriptions(Taxon taxon,
Set<Scope> scopes,
Set<NamedArea> geographicalScope,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
listTaxonDescriptions in interface IDescriptionService#pageTaxonDescriptions(Taxon, Set, Set, Integer, Integer, List)}
public Pager<TaxonDescription> pageTaxonDescriptions(Taxon taxon,
Set<Scope> scopes,
Set<NamedArea> geographicalScope,
Set<MarkerType> markerTypes,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
IDescriptionService
pageTaxonDescriptions in interface IDescriptionServicetaxon - The taxon which the description refers to (can be null for all TaxonDescription instances)scopes - Restrict the results to those descriptions which are scoped by one of the Scope instances passed (can be null or empty)geographicalScope - Restrict the results to those descriptions which have a geographical scope that overlaps with the NamedArea instances passed (can be null or empty)pageSize - The maximum number of descriptions returned (can be null for all descriptions)pageNumber - The offset (in pageSize chunks) from the start of the result set (0 - based)propertyPaths - Properties to initialize in the returned entities, following the syntax described in IBeanInitializer.initialize(Object, List)
public List<TaxonDescription> listTaxonDescriptions(Taxon taxon,
Set<Scope> scopes,
Set<NamedArea> geographicalScope,
Set<MarkerType> markerTypes,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
listTaxonDescriptions in interface IDescriptionService#pageMarkedTaxonDescriptions(Taxon, Set, Set, Set, Integer, Integer, List)}
public List<Media> listTaxonDescriptionMedia(UUID taxonUuid,
boolean limitToGalleries,
Set<MarkerType> markerTypes,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
IDescriptionServiceMedia attached to a taxon via TaxonDescription.elements.media.
listTaxonDescriptionMedia in interface IDescriptionServicetaxonUuid - the taxons uuid, if null media for all taxa are returnedlimitToGalleries - if true only media in TaxonDescriptions with imageGallery flag=true are returnedmarkerTypes - only media for TaxonDescriptions with marker of type markerType and marker.flag=true are returned, one matching marker type is sufficientpropertyPaths - Properties to initialize in the returned entities, following the syntax described in IBeanInitializer.initialize(Object, List)
public int countTaxonDescriptionMedia(UUID taxonUuid,
boolean limitToGalleries,
Set<MarkerType> markerTypes)
IDescriptionServiceMedia attached to a taxon via TaxonDescription.elements.media.
countTaxonDescriptionMedia in interface IDescriptionServicetaxonUuid - the taxons uuid, if null media for all taxa are returnedlimitToGalleries - if true only media in TaxonDescriptions with imageGallery flag=true are returnedmarkerTypes - only media for TaxonDescriptions with marker of type markerType and marker.flag=true are returned, one matching marker type is sufficient
public DistributionTree getOrderedDistributions(Set<TaxonDescription> taxonDescriptions,
Set<NamedAreaLevel> omitLevels,
List<String> propertyPaths)
getOrderedDistributions in interface IDescriptionService
public Pager<TaxonNameDescription> getTaxonNameDescriptions(TaxonNameBase name,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
IDescriptionService
getTaxonNameDescriptions in interface IDescriptionServicename - Restrict the results to those descriptions that refer to a specific name (can be null for all TaxonNameDescription instances)pageSize - The maximum number of descriptions returned (can be null for all descriptions)pageNumber - The offset (in pageSize chunks) from the start of the result set (0 - based)propertyPaths - Properties to initialize in the returned entities, following the syntax described in IBeanInitializer.initialize(Object, List)
public Pager<DescriptionBase> page(Class<? extends DescriptionBase> type,
Boolean hasImages,
Boolean hasText,
Set<Feature> feature,
Integer pageSize,
Integer pageNumber,
List<OrderHint> orderHints,
List<String> propertyPaths)
IDescriptionService
page in interface IDescriptionServicetype - The type of description returned (Taxon, TaxonName, or Specimen)hasImages - Restrict the description to those that do (true) or don't (false) contain elements that have one or more media (can be null)hasText - Restrict the description to those that do (true) or don't (false) contain TextData elements that have some textual content (can be null)feature - Restrict the description to those elements which are scoped by one of the Features passed (can be null or empty)pageSize - The maximum number of descriptions returned (can be null for all descriptions)pageNumber - The offset (in pageSize chunks) from the start of the result set (0 - based)orderHints - may be nullpropertyPaths - properties to initialize - see IBeanInitializer.initialize(Object, List)
public Pager<TaxonDescription> searchDescriptionByDistribution(Set<NamedArea> namedAreas,
PresenceAbsenceTermBase presence,
Integer pageSize,
Integer pageNumber,
List<OrderHint> orderHints,
List<String> propertyPaths)
searchDescriptionByDistribution in interface IDescriptionServicenamedAreas - The set of NamedArea instancespresence - Restrict the descriptions to those which have Distribution elements are of this status (can be null)pageSize - The maximum number of descriptions returned (can be null for all descriptions)pageNumber - The offset (in pageSize chunks) from the start of the result set (0 - based)propertyPaths - Properties to initialize in the returned entities, following the syntax described in IBeanInitializer.initialize(Object, List)
public Pager<DescriptionElementBase> searchElements(Class<? extends DescriptionElementBase> clazz,
String queryString,
Integer pageSize,
Integer pageNumber,
List<OrderHint> orderHints,
List<String> propertyPaths)
searchElements in interface IDescriptionServiceclazz - filter the results by class (or pass null to return all DescriptionElementBase instances)pageSize - The maximum number of descriptionElements returned (can be null for all matching descriptionElements)pageNumber - The offset (in pageSize chunks) from the start of the result set (0 - based)orderHints - Supports path like orderHints.propertyNames which
include *-to-one properties like createdBy.username or
authorTeam.persistentTitleCachepropertyPaths - properties to be initialized
public DescriptionElementBase getDescriptionElementByUuid(UUID uuid)
getDescriptionElementByUuid in interface IDescriptionServiceuuid - the uuid of the DescriptionElement of interest
public DescriptionElementBase loadDescriptionElement(UUID uuid,
List<String> propertyPaths)
loadDescriptionElement in interface IDescriptionServiceuuid - the uuid of the DescriptionElement of interest
@Transactional(readOnly=false) public UUID saveDescriptionElement(DescriptionElementBase descriptionElement)
saveDescriptionElement in interface IDescriptionService@Transactional(readOnly=false) public Map<UUID,DescriptionElementBase> saveDescriptionElement(Collection<DescriptionElementBase> descriptionElements)
saveDescriptionElement in interface IDescriptionServicepublic UUID deleteDescriptionElement(DescriptionElementBase descriptionElement)
deleteDescriptionElement in interface IDescriptionServicedescriptionElement - the description element to be deleted
public TermVocabulary<Feature> getFeatureVocabulary(UUID uuid)
getFeatureVocabulary in interface IDescriptionService
public <T extends DescriptionElementBase> List<T> getDescriptionElementsForTaxon(Taxon taxon,
Set<Feature> features,
Class<T> type,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
getDescriptionElementsForTaxon in interface IDescriptionService
public String generateNaturalLanguageDescription(FeatureTree featureTree,
TaxonDescription description,
List<Language> preferredLanguages,
String separator)
IDescriptionServicedescription supplied in natural language
The featureTree will be used to structure the NaturalLanguageDescription.
This method does not require a initialization strategy so there is no propertyPaths parameter.
generateNaturalLanguageDescription in interface IDescriptionServicepublic boolean hasStructuredData(DescriptionBase<?> description)
IDescriptionService
hasStructuredData in interface IDescriptionService
public void moveDescriptionElementsToDescription(Collection<DescriptionElementBase> descriptionElements,
DescriptionBase targetDescription,
boolean isCopy)
IDescriptionServicedescription elements to the targetDescription.
Remove the description elements from the description they are currently associated with.
moveDescriptionElementsToDescription in interface IDescriptionServiceisCopy - if true, the elements are only copied (cloned) and not removed from the
old description
public void aggregateDistributions(List<NamedArea> superAreas,
Rank lowerRank,
Rank upperRank)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||