|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IClassificationService
| Method Summary | |
|---|---|
Map<UUID,List<MediaRepresentation>> |
getAllMediaForChildNodes(Taxon taxon,
Classification taxTree,
List<String> propertyPaths,
int size,
int height,
int widthOrDuration,
String[] mimeTypes)
Deprecated. use getAllMediaForChildNodes(TaxonNode taxonNode, ...) instead if you have a classification and a taxon that is in it, you should also have the according taxonNode |
Map<UUID,List<MediaRepresentation>> |
getAllMediaForChildNodes(TaxonNode taxonNode,
List<String> propertyPaths,
int size,
int height,
int widthOrDuration,
String[] mimeTypes)
|
List<TaxonNode> |
getAllNodes()
|
TaxonNode |
getTaxonNodeByUuid(UUID uuid)
|
List<UuidAndTitleCache<TaxonNode>> |
getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(Classification classification)
|
ITreeNode |
getTreeNodeByUuid(UUID uuid)
|
List<Classification> |
listClassifications(Integer limit,
Integer start,
List<OrderHint> orderHints,
List<String> propertyPaths)
|
List<TaxonNode> |
listRankSpecificRootNodes(Classification classification,
Rank rank,
Integer pageSize,
Integer pageIndex,
List<String> propertyPaths)
Loads all TaxonNodes of the specified classification for a given Rank or lower. |
List<TaxonNode> |
loadChildNodesOfTaxon(Taxon taxon,
Classification classification,
List<String> propertyPaths)
Although this method seems to be a redundant alternative to loadChildNodesOfTaxonNode(TaxonNode, List) it is an important
alternative from which web services benefit. |
List<TaxonNode> |
loadChildNodesOfTaxonNode(TaxonNode taxonNode,
List<String> propertyPaths)
Deprecated. move to TaxonNodeService |
List<TaxonNode> |
loadRankSpecificRootNodes(Classification classification,
Rank rank,
Integer limit,
Integer start,
List<String> propertyPaths)
Deprecated. use listRankSpecificRootNodes(Classification, Rank, Integer, Integer, List) instead |
TaxonNode |
loadTaxonNode(TaxonNode taxonNode,
List<String> propertyPaths)
Deprecated. use TaxonNodeService instead |
TaxonNode |
loadTaxonNodeByTaxon(Taxon taxon,
UUID classificationUuid,
List<String> propertyPaths)
Deprecated. use loadTaxonNode(TaxonNode taxonNode, ...) instead if you have a classification and a taxon that is in it, you should also have the according taxonNode |
List<TaxonNode> |
loadTreeBranch(TaxonNode taxonNode,
Rank baseRank,
List<String> propertyPaths)
|
List<TaxonNode> |
loadTreeBranchToTaxon(Taxon taxon,
Classification classification,
Rank baseRank,
List<String> propertyPaths)
Although this method seems to be a redundant alternative to loadChildNodesOfTaxonNode(TaxonNode, List) it is an important
alternative from which web services benefit. |
Pager<TaxonNode> |
pageRankSpecificRootNodes(Classification classification,
Rank rank,
Integer pageSize,
Integer pageIndex,
List<String> propertyPaths)
Loads all TaxonNodes of the specified classification for a given Rank or lower. |
UUID |
removeTaxonNode(TaxonNode taxonNode)
Deprecated. use TaxonNodeService instead |
UUID |
removeTreeNode(ITreeNode treeNode)
|
UUID |
saveTaxonNode(TaxonNode taxonNode)
Deprecated. use TaxonNodeService instead |
Map<UUID,TaxonNode> |
saveTaxonNodeAll(Collection<TaxonNode> taxonNodeCollection)
Deprecated. use TaxonNodeService instead |
UUID |
saveTreeNode(ITreeNode treeNode)
|
| 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, 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 |
| Method Detail |
|---|
TaxonNode getTaxonNodeByUuid(UUID uuid)
uuid -
ITreeNode getTreeNodeByUuid(UUID uuid)
uuid -
List<Classification> listClassifications(Integer limit,
Integer start,
List<OrderHint> orderHints,
List<String> propertyPaths)
limit - start - orderHints - propertyPaths -
@Deprecated
TaxonNode loadTaxonNodeByTaxon(Taxon taxon,
UUID classificationUuid,
List<String> propertyPaths)
taxon - classificationUuid - propertyPaths -
@Deprecated
TaxonNode loadTaxonNode(TaxonNode taxonNode,
List<String> propertyPaths)
taxonNode - propertyPaths -
@Deprecated
List<TaxonNode> loadRankSpecificRootNodes(Classification classification,
Rank rank,
Integer limit,
Integer start,
List<String> propertyPaths)
listRankSpecificRootNodes(Classification, Rank, Integer, Integer, List) instead
rank is null the absolute root nodes will be returned.
classification - may be null for all classificationsrank - the set to null for to get the root nodes of classificationslimit - The maximum number of objects returned (can be null for all matching objects)start - The offset from the start of the result set (0 - based, can be null -
equivalent of starting at the beginning of the recordset)propertyPaths -
List<TaxonNode> listRankSpecificRootNodes(Classification classification,
Rank rank,
Integer pageSize,
Integer pageIndex,
List<String> propertyPaths)
rank is null the absolute root nodes will be returned.
classification - may be null for all classificationsrank - the set to null for to get the root nodes of classificationspageSize - The maximum number of relationships returned (can be null for all relationships)pageIndex - The offset (in pageSize chunks) from the start of the result set (0 - based)propertyPaths -
Pager<TaxonNode> pageRankSpecificRootNodes(Classification classification,
Rank rank,
Integer pageSize,
Integer pageIndex,
List<String> propertyPaths)
rank is null the absolute root nodes will be returned.
classification - may be null for all classificationsrank - the set to null for to get the root nodes of classificationspageSize - The maximum number of relationships returned (can be null for all relationships)pageIndex - The offset (in pageSize chunks) from the start of the result set (0 - based)propertyPaths -
List<TaxonNode> loadTreeBranch(TaxonNode taxonNode,
Rank baseRank,
List<String> propertyPaths)
taxonNode - baseRank - specifies the root level of the classification, may be null.
Nodes of this rank or in case this rank does not exist in the
current branch the next lower rank is taken as root node for
this rank henceforth called the base node.propertyPaths - the initialization strategy for the returned TaxonNode
instances.
List<TaxonNode> loadTreeBranchToTaxon(Taxon taxon,
Classification classification,
Rank baseRank,
List<String> propertyPaths)
loadChildNodesOfTaxonNode(TaxonNode, List) it is an important
alternative from which web services benefit. Without this method the web service controller method, which operates outside of the
transaction, would have to initialize the full taxon tree with all nodes of the taxon.
This would be rather slow compared to using this method.
taxon - classification - the classification to be usedbaseRank - specifies the root level of the classification, may be null.
Nodes of this rank or in case this rank does not exist in the
current branch the next lower rank is taken as as root node for
this rank henceforth called the base node.propertyPaths - the initialization strategy for the returned TaxonNode
instances.
List<TaxonNode> loadChildNodesOfTaxon(Taxon taxon,
Classification classification,
List<String> propertyPaths)
loadChildNodesOfTaxonNode(TaxonNode, List) it is an important
alternative from which web services benefit. Without this method the web service controller method, which operates outside of the
transaction, would have to initialize the full taxon tree with all nodes of the taxon.
This would be rather slow compared to using this method.
taxon - classification - propertyPaths -
@Deprecated
List<TaxonNode> loadChildNodesOfTaxonNode(TaxonNode taxonNode,
List<String> propertyPaths)
taxonNode - propertyPaths -
List<UuidAndTitleCache<TaxonNode>> getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(Classification classification)
classification -
@Deprecated
Map<UUID,List<MediaRepresentation>> getAllMediaForChildNodes(Taxon taxon,
Classification taxTree,
List<String> propertyPaths,
int size,
int height,
int widthOrDuration,
String[] mimeTypes)
taxon - taxTree - propertyPaths - size - height - widthOrDuration - mimeTypes -
Map<UUID,List<MediaRepresentation>> getAllMediaForChildNodes(TaxonNode taxonNode,
List<String> propertyPaths,
int size,
int height,
int widthOrDuration,
String[] mimeTypes)
taxonNode - propertyPaths - size - height - widthOrDuration - mimeTypes -
@Deprecated UUID removeTaxonNode(TaxonNode taxonNode)
taxonNode -
@Deprecated UUID saveTaxonNode(TaxonNode taxonNode)
taxonNode -
@Deprecated Map<UUID,TaxonNode> saveTaxonNodeAll(Collection<TaxonNode> taxonNodeCollection)
taxonNodeCollection -
UUID removeTreeNode(ITreeNode treeNode)
treeNode -
UUID saveTreeNode(ITreeNode treeNode)
treeNode -
List<TaxonNode> getAllNodes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||