|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.search.impl.lucene.LuceneCategoryServiceImpl
public class LuceneCategoryServiceImpl
Category service implementation
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.alfresco.service.cmr.search.CategoryService |
---|
CategoryService.Depth, CategoryService.Mode |
Constructor Summary | |
---|---|
LuceneCategoryServiceImpl()
|
Method Summary | |
---|---|
NodeRef |
createCategory(NodeRef parent,
java.lang.String name)
Create a new category. |
NodeRef |
createClassification(StoreRef storeRef,
QName typeName,
java.lang.String attributeName)
Create a new category. |
NodeRef |
createRootCategory(StoreRef storeRef,
QName aspectName,
java.lang.String name)
Create a new root category in the given classification |
void |
deleteCategory(NodeRef nodeRef)
Delete a category |
void |
deleteClassification(StoreRef storeRef,
QName aspectName)
Delete a classification |
java.util.Collection |
getCategories(StoreRef storeRef,
QName aspectQName,
CategoryService.Depth depth)
Get a list of all the categories appropriate for a given property. |
java.util.Collection |
getChildren(NodeRef categoryRef,
CategoryService.Mode mode,
CategoryService.Depth depth)
Get the children of a given category node |
java.util.Collection |
getClassificationAspects()
Get all the types that represent categories |
java.util.Collection |
getClassifications(StoreRef storeRef)
Get all the classification entries |
java.util.Collection |
getRootCategories(StoreRef storeRef,
QName aspectName)
Get the root categories for an aspect/classification |
java.util.List |
getTopCategories(StoreRef storeRef,
QName aspectName,
int count)
Get the most polular categories |
void |
setDictionaryService(DictionaryService dictionaryService)
Set the dictionary service |
void |
setIndexerAndSearcher(IndexerAndSearcher indexerAndSearcher)
Set the indexer and searcher |
void |
setNamespacePrefixResolver(NamespacePrefixResolver namespacePrefixResolver)
Set the service to map prefixes to uris |
void |
setNodeService(NodeService nodeService)
Set the node service |
void |
setPublicNodeService(NodeService publicNodeService)
Set the public node service |
void |
setTenantService(TenantService tenantService)
Set the tenant service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LuceneCategoryServiceImpl()
Method Detail |
---|
public void setNodeService(NodeService nodeService)
nodeService
- public void setPublicNodeService(NodeService publicNodeService)
nodeService
- public void setTenantService(TenantService tenantService)
tenantService
- public void setNamespacePrefixResolver(NamespacePrefixResolver namespacePrefixResolver)
namespacePrefixResolver
- public void setDictionaryService(DictionaryService dictionaryService)
dictionaryService
- public void setIndexerAndSearcher(IndexerAndSearcher indexerAndSearcher)
indexerAndSearcher
- public java.util.Collection getChildren(NodeRef categoryRef, CategoryService.Mode mode, CategoryService.Depth depth)
CategoryService
getChildren
in interface CategoryService
categoryRef
- - the category nodemode
- - the enumeration mode for what to recoverdepth
- - the enumeration depth for what level to recover
public java.util.Collection getCategories(StoreRef storeRef, QName aspectQName, CategoryService.Depth depth)
CategoryService
getCategories
in interface CategoryService
depth
- - the enumeration depth for what level to recover
public java.util.Collection getClassifications(StoreRef storeRef)
CategoryService
getClassifications
in interface CategoryService
public java.util.Collection getClassificationAspects()
CategoryService
getClassificationAspects
in interface CategoryService
public NodeRef createClassification(StoreRef storeRef, QName typeName, java.lang.String attributeName)
CategoryService
createClassification
in interface CategoryService
public java.util.Collection getRootCategories(StoreRef storeRef, QName aspectName)
CategoryService
getRootCategories
in interface CategoryService
public NodeRef createCategory(NodeRef parent, java.lang.String name)
CategoryService
createCategory
in interface CategoryService
public NodeRef createRootCategory(StoreRef storeRef, QName aspectName, java.lang.String name)
CategoryService
createRootCategory
in interface CategoryService
public void deleteCategory(NodeRef nodeRef)
CategoryService
deleteCategory
in interface CategoryService
public void deleteClassification(StoreRef storeRef, QName aspectName)
CategoryService
deleteClassification
in interface CategoryService
public java.util.List getTopCategories(StoreRef storeRef, QName aspectName, int count)
CategoryService
getTopCategories
in interface CategoryService
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |