public class AutoTaggingManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AutoTaggingManager.AutoTaggingConfiguration |
Modifier and Type | Field and Description |
---|---|
static int |
CONFIG_KEY_PROVIDER_GUID |
Modifier and Type | Method and Description |
---|---|
AutoTaggingManager.AutoTaggingConfiguration |
getConfiguration() |
static AutoTaggingManager |
getInstance(Server server) |
java.util.Set<java.lang.String> |
getKeywords(Item item)
Returns the keywords for the given item from the configured provider.
|
java.util.Map<java.lang.Integer,java.util.Set<java.lang.String>> |
getLanguageKeywords(Item item)
Returns the keywords for the given item from the configured provider for the configured languages.
|
static boolean |
supportsField(Layout layout,
GUID fieldUID)
Returns whether the field is supported
|
void |
tagItem(Item item)
Tags the given item with the keywords from the configured provider.
|
public static AutoTaggingManager getInstance(Server server)
public void tagItem(Item item) throws java.io.IOException
item
- the item to tagjava.io.IOException
public java.util.Set<java.lang.String> getKeywords(Item item) throws java.io.IOException
item
- the item to get keywords forjava.io.IOException
public java.util.Map<java.lang.Integer,java.util.Set<java.lang.String>> getLanguageKeywords(Item item) throws java.io.IOException
item
- the item to get keywords forjava.io.IOException
public static boolean supportsField(Layout layout, GUID fieldUID)
layout
- the table layoutfieldUID
- the field to checktrue
if the field is supported, false
elsepublic AutoTaggingManager.AutoTaggingConfiguration getConfiguration()
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.