|
|||||||||
| 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 | |
|---|---|
org.alfresco.service.cmr.repository.NodeRef |
createCategory(org.alfresco.service.cmr.repository.NodeRef parent,
java.lang.String name)
Create a new category. |
org.alfresco.service.cmr.repository.NodeRef |
createClassification(org.alfresco.service.cmr.repository.StoreRef storeRef,
org.alfresco.service.namespace.QName typeName,
java.lang.String attributeName)
Create a new category. |
org.alfresco.service.cmr.repository.NodeRef |
createRootCategory(org.alfresco.service.cmr.repository.StoreRef storeRef,
org.alfresco.service.namespace.QName aspectName,
java.lang.String name)
Create a new root category in the given classification |
void |
deleteCategory(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Delete a category |
void |
deleteClassification(org.alfresco.service.cmr.repository.StoreRef storeRef,
org.alfresco.service.namespace.QName aspectName)
Delete a classification |
java.util.Collection |
getCategories(org.alfresco.service.cmr.repository.StoreRef storeRef,
org.alfresco.service.namespace.QName aspectQName,
CategoryService.Depth depth)
Get a list of all the categories appropriate for a given property. |
java.util.Collection |
getChildren(org.alfresco.service.cmr.repository.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(org.alfresco.service.cmr.repository.StoreRef storeRef)
Get all the classification entries |
java.util.Collection |
getRootCategories(org.alfresco.service.cmr.repository.StoreRef storeRef,
org.alfresco.service.namespace.QName aspectName)
Get the root categories for an aspect/classification |
java.util.List |
getTopCategories(org.alfresco.service.cmr.repository.StoreRef storeRef,
org.alfresco.service.namespace.QName aspectName,
int count)
Get the most polular categories |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Set the dictionary service |
void |
setIndexerAndSearcher(IndexerAndSearcher indexerAndSearcher)
Set the indexer and searcher |
void |
setNamespacePrefixResolver(org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver)
Set the service to map prefixes to uris |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set the node service |
void |
setPublicNodeService(org.alfresco.service.cmr.repository.NodeService publicNodeService)
Set the public node service |
void |
setTenantService(org.alfresco.repo.tenant.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(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - public void setPublicNodeService(org.alfresco.service.cmr.repository.NodeService publicNodeService)
nodeService - public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
tenantService - public void setNamespacePrefixResolver(org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver)
namespacePrefixResolver - public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService - public void setIndexerAndSearcher(IndexerAndSearcher indexerAndSearcher)
indexerAndSearcher -
public java.util.Collection getChildren(org.alfresco.service.cmr.repository.NodeRef categoryRef,
CategoryService.Mode mode,
CategoryService.Depth depth)
CategoryService
getChildren in interface CategoryServicecategoryRef - - the category nodemode - - the enumeration mode for what to recoverdepth - - the enumeration depth for what level to recover
public java.util.Collection getCategories(org.alfresco.service.cmr.repository.StoreRef storeRef,
org.alfresco.service.namespace.QName aspectQName,
CategoryService.Depth depth)
CategoryService
getCategories in interface CategoryServicedepth - - the enumeration depth for what level to recover
public java.util.Collection getClassifications(org.alfresco.service.cmr.repository.StoreRef storeRef)
CategoryService
getClassifications in interface CategoryServicepublic java.util.Collection getClassificationAspects()
CategoryService
getClassificationAspects in interface CategoryService
public org.alfresco.service.cmr.repository.NodeRef createClassification(org.alfresco.service.cmr.repository.StoreRef storeRef,
org.alfresco.service.namespace.QName typeName,
java.lang.String attributeName)
CategoryService
createClassification in interface CategoryService
public java.util.Collection getRootCategories(org.alfresco.service.cmr.repository.StoreRef storeRef,
org.alfresco.service.namespace.QName aspectName)
CategoryService
getRootCategories in interface CategoryService
public org.alfresco.service.cmr.repository.NodeRef createCategory(org.alfresco.service.cmr.repository.NodeRef parent,
java.lang.String name)
CategoryService
createCategory in interface CategoryService
public org.alfresco.service.cmr.repository.NodeRef createRootCategory(org.alfresco.service.cmr.repository.StoreRef storeRef,
org.alfresco.service.namespace.QName aspectName,
java.lang.String name)
CategoryService
createRootCategory in interface CategoryServicepublic void deleteCategory(org.alfresco.service.cmr.repository.NodeRef nodeRef)
CategoryService
deleteCategory in interface CategoryService
public void deleteClassification(org.alfresco.service.cmr.repository.StoreRef storeRef,
org.alfresco.service.namespace.QName aspectName)
CategoryService
deleteClassification in interface CategoryService
public java.util.List getTopCategories(org.alfresco.service.cmr.repository.StoreRef storeRef,
org.alfresco.service.namespace.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 | ||||||||