public interface IDefinedTermDao extends IIdentifiableDao<DefinedTermBase>, ITitledDao<DefinedTermBase>
Modifier and Type | Method and Description |
---|---|
long |
count(java.util.List<TermVocabulary> vocs,
java.lang.String pattern)
Returns the number of terms in the vocabularies vocs filteres by the given pattern
|
long |
count(NamedAreaLevel level,
NamedAreaType type)
Returns a count of NamedArea instances (optionally filtered by type or level)
|
long |
countDefinedTermByRepresentationAbbrev(java.lang.String text,
java.lang.Class<? extends DefinedTermBase> clazz) |
long |
countDefinedTermByRepresentationText(java.lang.String text,
java.lang.Class<? extends DefinedTermBase> clazz) |
<T extends DefinedTermBase> |
countGeneralizationOf(T definedTerm)
Return a count of terms which are specializations of a given definedTerm
|
<T extends DefinedTermBase> |
countIncludes(java.util.Collection<T> definedTerms)
Return a count of terms which are part of the terms supplied
|
long |
countMedia(DefinedTermBase definedTerm)
Returns a count of the Media that represent a given
DefinedTermBase instance
|
<T extends DefinedTermBase> |
countPartOf(java.util.Set<T> definedTerms)
Return a count of distinct terms which include the terms supplied
|
java.util.Collection<TermDto> |
findByTitleAsDto(java.lang.String title,
TermType termType)
Returns a collection of
TermDto s that match the given search parameters. |
java.util.Collection<TermDto> |
findByTypeAsDto(TermType termType) |
DefinedTermBase |
findByUri(java.net.URI uri) |
java.util.Collection<TermDto> |
findByUriAsDto(java.net.URI uri,
java.lang.String termLabel,
TermType termType)
Returns a collection of
TermDto s that match the given search parameters. |
java.util.Collection<TermDto> |
findByUUIDsAsDto(java.util.List<java.util.UUID> uuidList) |
Country |
getCountryByIso(java.lang.String iso639)
Returns the country with the isoCode iso639, works only with string length 2 or 3
|
<TERM extends DefinedTermBase> |
getDefinedTermByIdInVocabulary(java.lang.String idInVoc,
java.util.UUID vocUuid,
java.lang.Class<TERM> clazz,
java.lang.Integer pageSize,
java.lang.Integer pageNumber)
Returns a term or a list of terms depending of the label/id used in its vocabulary.
|
<TYPE extends DefinedTermBase> |
getDefinedTermByRepresentationAbbrev(java.lang.String text,
java.lang.Class<TYPE> clazz,
java.lang.Integer pageSize,
java.lang.Integer pageNumber) |
<TYPE extends DefinedTermBase> |
getDefinedTermByRepresentationText(java.lang.String text,
java.lang.Class<TYPE> clazz) |
<TYPE extends DefinedTermBase> |
getDefinedTermByRepresentationText(java.lang.String text,
java.lang.Class<TYPE> clazz,
java.lang.Integer pageSize,
java.lang.Integer pageNumber) |
<T extends DefinedTermBase> |
getGeneralizationOf(T definedTerm,
java.lang.Integer pageSize,
java.lang.Integer pageNumber)
Return a list of terms which are specializations of a given definedTerm
|
<T extends DefinedTermBase> |
getIncludes(java.util.Collection<T> definedTerms,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<java.lang.String> propertyPaths)
Return a List of terms which are part of the terms supplied
|
java.util.Collection<TermDto> |
getIncludesAsDto(TermDto parentTerm)
Returns all terms that are included in the given parent term resp.
|
java.util.Collection<TermDto> |
getKindOfsAsDto(TermDto parentTerm)
Returns all terms that the given term is a generalization of resp.
|
Language |
getLanguageByIso(java.lang.String iso639) |
java.util.List<Language> |
getLanguagesByIso(java.util.List<java.lang.String> iso639List) |
java.util.List<Language> |
getLanguagesByLocale(java.util.Enumeration<java.util.Locale> locales) |
java.util.List<Media> |
getMedia(DefinedTermBase definedTerm,
java.lang.Integer pageSize,
java.lang.Integer pageNumber)
Returns a List of Media that represent a given DefinedTerm instance
|
<T extends DefinedTermBase> |
getPartOf(java.util.Set<T> definedTerms,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<java.lang.String> propertyPaths)
Return a List of distinct terms which include the terms supplied
|
java.util.List<TermDto> |
getSupportedStatesForFeature(java.util.UUID featureUuid)
Returns all states for all supportedCategoricalEnumeration of this categorical feature
|
java.util.List<NamedArea> |
list(NamedAreaLevel level,
NamedAreaType type,
java.lang.Integer pageSize,
java.lang.Integer pageNumber)
Returns a List of NamedArea instances (optionally filtered by type or level)
|
java.util.List<NamedArea> |
list(NamedAreaLevel level,
NamedAreaType type,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths) |
<TERM extends DefinedTermBase> |
listByTermClass(java.lang.Class<TERM> clazz,
java.lang.Integer limit,
java.lang.Integer start,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths) |
<T extends DefinedTermBase> |
listByTermType(TermType termType,
java.lang.Integer limit,
java.lang.Integer start,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths)
Retrieves all
DefinedTermBase s with the given TermType |
java.util.List<NamedArea> |
listNamedArea(java.util.List<TermVocabulary> vocs,
java.lang.Integer pageNumber,
java.lang.Integer limit,
java.lang.String pattern,
MatchMode matchMode) |
java.util.List<NamedArea> |
listNamedArea(java.util.List<TermVocabulary> vocs,
java.lang.Integer limit,
java.lang.String pattern) |
java.util.List<NamedArea> |
listNamedAreaByAbbrev(java.util.List<TermVocabulary> vocs,
java.lang.Integer pageNumber,
java.lang.Integer limit,
java.lang.String pattern,
MatchMode matchmode,
NamedAreaSearchField type) |
java.util.List<NamedArea> |
listNamedAreaByAbbrev(java.util.List<TermVocabulary> vocs,
java.lang.Integer limit,
java.lang.String pattern,
NamedAreaSearchField type) |
countByIdentifier, countByMarker, countByReferenceTitle, countByReferenceTitleWithRestrictions, countByTitle, countByTitleWithRestrictions, countRights, countSources, countTitleCache, find, findByIdentifier, findByMarker, findByReferenceTitle, findByReferenceTitleWithRestrictions, findByTitle, findByTitleWithRestrictions, findOriginalSourceByIdInSource, findTitleCache, getRights, getSources, getTitleCache, getUuidAndTitleCache, getUuidAndTitleCache, getUuidAndTitleCache, getUuidAndTitleCacheByMarker
countAnnotations, countMarkers, countMarkers, getAnnotations, getMarkers, groupMarkers
countAuditEvents, countAuditEvents, getAuditEvents, getAuditEvents, getNextAuditEvent, getPreviousAuditEvent
clear, count, count, count, count, countByParam, countByParamWithRestrictions, delete, exists, findById, findByParam, findByParam, findByParamWithRestrictions, findByUuid, findByUuidWithoutFlush, flush, getSession, getType, group, list, list, list, list, list, list, list, list, list, load, load, load, loadList, lock, merge, merge, refresh, refresh, replace, save, saveAll, saveOrUpdate, saveOrUpdateAll, update
countByTitle, countByTitle, countByTitle, findByTitle, findByTitle, findByTitle
count, optimizeIndex, purgeIndex, rebuildIndex, search, suggestQuery
Language getLanguageByIso(java.lang.String iso639)
iso639
- a two or three letter language code according to iso639-1 or iso639-2java.util.List<Language> getLanguagesByIso(java.util.List<java.lang.String> iso639List)
java.util.List<Language> getLanguagesByLocale(java.util.Enumeration<java.util.Locale> locales)
Country getCountryByIso(java.lang.String iso639)
iso639
- the isoCode of the searched country<TYPE extends DefinedTermBase> java.util.List<TYPE> getDefinedTermByRepresentationText(java.lang.String text, java.lang.Class<TYPE> clazz)
<TYPE extends DefinedTermBase> java.util.List<TYPE> getDefinedTermByRepresentationText(java.lang.String text, java.lang.Class<TYPE> clazz, java.lang.Integer pageSize, java.lang.Integer pageNumber)
long countDefinedTermByRepresentationText(java.lang.String text, java.lang.Class<? extends DefinedTermBase> clazz)
<TYPE extends DefinedTermBase> java.util.List<TYPE> getDefinedTermByRepresentationAbbrev(java.lang.String text, java.lang.Class<TYPE> clazz, java.lang.Integer pageSize, java.lang.Integer pageNumber)
long countDefinedTermByRepresentationAbbrev(java.lang.String text, java.lang.Class<? extends DefinedTermBase> clazz)
java.util.List<Media> getMedia(DefinedTermBase definedTerm, java.lang.Integer pageSize, java.lang.Integer pageNumber)
definedTerm
- the definedTerm represented by 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)long countMedia(DefinedTermBase definedTerm)
definedTerm
- the definedTerm represented by these mediajava.util.List<NamedArea> list(NamedAreaLevel level, NamedAreaType type, java.lang.Integer pageSize, java.lang.Integer pageNumber)
level
- restrict the result set to named areas of a certain level (can be null)type
- restrict the result set to named areas of a certain type (can be null)pageSize
- The maximum number of namedAreas returned (can be null for all named areas)pageNumber
- The offset (in pageSize chunks) from the start of the result set (0 - based)java.util.List<NamedArea> list(NamedAreaLevel level, NamedAreaType type, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
level
- type
- pageSize
- pageNumber
- orderHints
- propertyPaths
- long count(NamedAreaLevel level, NamedAreaType type)
level
- restrict the result set to named areas of a certain level (can be null)type
- restrict the result set to named areas of a certain type (can be null)<T extends DefinedTermBase> java.util.List<T> getGeneralizationOf(T definedTerm, java.lang.Integer pageSize, java.lang.Integer pageNumber)
definedTerm
- The term which is a generalization of the terms returnedpageSize
- The maximum number of terms returned (can be null for all specializations)pageNumber
- The offset (in pageSize chunks) from the start of the result set (0 - based)<T extends DefinedTermBase> long countGeneralizationOf(T definedTerm)
definedTerm
- The term which is a generalization of the terms returned<T extends DefinedTermBase> java.util.List<T> getPartOf(java.util.Set<T> definedTerms, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<java.lang.String> propertyPaths)
definedTerms
- the set of terms which are part of the terms of interestpageSize
- The maximum number of terms returned (can be null for all terms)pageNumber
- The offset (in pageSize chunks) from the start of the result set (0 - based)propertyPaths
- properties to initialize - see IBeanInitializer.initialize(Object, List)
<T extends DefinedTermBase> long countPartOf(java.util.Set<T> definedTerms)
definedTerms
- the set of terms which are part of the terms of interest<T extends DefinedTermBase> java.util.List<T> getIncludes(java.util.Collection<T> definedTerms, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<java.lang.String> propertyPaths)
definedTerms
- the collection of terms which include the terms of interestpageSize
- The maximum number of terms returned (can be null for all terms)pageNumber
- The offset (in pageSize chunks) from the start of the result set (0 - based)propertyPaths
- properties to initialize - see IBeanInitializer.initialize(Object, List)
<T extends DefinedTermBase> long countIncludes(java.util.Collection<T> definedTerms)
definedTerms
- the set of terms which include the terms of interestDefinedTermBase findByUri(java.net.URI uri)
<T extends DefinedTermBase> java.util.List<T> listByTermType(TermType termType, java.lang.Integer limit, java.lang.Integer start, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
DefinedTermBase
s with the given TermType
termType
- the term type to filter the termslimit
- start
- orderHints
- propertyPaths
- <TERM extends DefinedTermBase> java.util.List<TERM> listByTermClass(java.lang.Class<TERM> clazz, java.lang.Integer limit, java.lang.Integer start, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
<TERM extends DefinedTermBase> java.util.List<TERM> getDefinedTermByIdInVocabulary(java.lang.String idInVoc, java.util.UUID vocUuid, java.lang.Class<TERM> clazz, java.lang.Integer pageSize, java.lang.Integer pageNumber)
idInVoc
- vocUuid
- clazz
- pageSize
- pageNumber
- java.util.List<NamedArea> listNamedArea(java.util.List<TermVocabulary> vocs, java.lang.Integer limit, java.lang.String pattern)
clazz
- vocs
- limit
- pattern
- java.util.Collection<TermDto> getIncludesAsDto(TermDto parentTerm)
parentTerm
- the parent termjava.util.Collection<TermDto> getKindOfsAsDto(TermDto parentTerm)
parentTerm
- the parent termjava.util.Collection<TermDto> findByTitleAsDto(java.lang.String title, TermType termType)
TermDto
s that match the given search parameters.title
- the term label that the terms have to matchtermType
- the termType that the terms have to matchjava.util.Collection<TermDto> findByUriAsDto(java.net.URI uri, java.lang.String termLabel, TermType termType)
TermDto
s that match the given search parameters.uri
- the URI
that the terms have to matchtermLabel
- the term label that the terms have to matchtermType
- the termType that the terms have to matchlong count(java.util.List<TermVocabulary> vocs, java.lang.String pattern)
vocs
- pattern
- java.util.List<NamedArea> listNamedArea(java.util.List<TermVocabulary> vocs, java.lang.Integer pageNumber, java.lang.Integer limit, java.lang.String pattern, MatchMode matchMode)
vocs
- pageNumber
- limit
- pattern
- java.util.List<NamedArea> listNamedAreaByAbbrev(java.util.List<TermVocabulary> vocs, java.lang.Integer pageNumber, java.lang.Integer limit, java.lang.String pattern, MatchMode matchmode, NamedAreaSearchField type)
vocs
- limit
- pattern
- java.util.List<NamedArea> listNamedAreaByAbbrev(java.util.List<TermVocabulary> vocs, java.lang.Integer limit, java.lang.String pattern, NamedAreaSearchField type)
vocs
- limit
- pattern
- java.util.List<TermDto> getSupportedStatesForFeature(java.util.UUID featureUuid)
featureUuid
- the feature which has to support categorical datajava.util.Collection<TermDto> findByUUIDsAsDto(java.util.List<java.util.UUID> uuidList)
uuidList
- Copyright © 2007-2020 EDIT. All Rights Reserved.