public final class Classification extends BaseScopableProcessorExtension
| Modifier and Type | Class and Description |
|---|---|
class |
Classification.Tag
Tag class returned from getCategoryUsage().
|
| Constructor and Description |
|---|
Classification() |
| Modifier and Type | Method and Description |
|---|---|
CategoryNode |
createRootCategory(java.lang.String aspect,
java.lang.String name)
Create a root category in a classification.
|
org.mozilla.javascript.Scriptable |
getAllCategoryNodes(java.lang.String aspect)
Find all the category nodes in a given classification.
|
java.lang.String[] |
getAllClassificationAspects()
Get all the aspects that define a classification.
|
CategoryNode |
getCategory(java.lang.String categoryRef)
Get the category node from the category node reference.
|
org.mozilla.javascript.Scriptable |
getCategoryUsage(java.lang.String aspect,
int maxCount)
Get the category usage count.
|
org.mozilla.javascript.Scriptable |
getRootCategories(java.lang.String aspect)
Get the root categories in a classification.
|
void |
setServiceRegistry(ServiceRegistry services)
Set the service registry
|
void |
setStoreUrl(java.lang.String storeRef)
Set the default store reference
|
getScope, setScopegetExtensionName, register, setExtensionName, setProcessorpublic void setStoreUrl(java.lang.String storeRef)
storeRef - the default store referencepublic void setServiceRegistry(ServiceRegistry services)
services - the service registrypublic org.mozilla.javascript.Scriptable getAllCategoryNodes(java.lang.String aspect)
aspect - public java.lang.String[] getAllClassificationAspects()
public CategoryNode createRootCategory(java.lang.String aspect, java.lang.String name)
aspect - name - public CategoryNode getCategory(java.lang.String categoryRef)
categoryRef - category node referenceCategoryNode category nodepublic org.mozilla.javascript.Scriptable getRootCategories(java.lang.String aspect)
aspect - public org.mozilla.javascript.Scriptable getCategoryUsage(java.lang.String aspect,
int maxCount)
aspect - maxCount - Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.