public class CategoryKey extends ObjectKey
Title: A ObjectKey class for categories
Description:
Copyright: Copyright (c) 2002
Company: Jahia Ltd
| Modifier and Type | Field and Description |
|---|---|
static String |
CATEGORY_TYPE |
key, OBJECT_TYPEKEY_SEPARATOR| Modifier | Constructor and Description |
|---|---|
protected |
CategoryKey()
Protected constructor to use this class also as a factory by calling
the getChildInstance method
|
|
CategoryKey(String categoryID) |
|
CategoryKey(String categoryID,
String objectKey) |
| Modifier and Type | Method and Description |
|---|---|
static Set<CategoryKey> |
getCategories(String[] keys)
Return a set of categories for the given array of String keys
|
int |
getCategoryID()
Deprecated.
ObjectKey.getIDInType() should be used instead. |
ObjectKey |
getChildInstance(String IDInType,
String objectKey)
Factory method to create an instance of the corresponding ObjectKey
implementation class.
|
compareTo, equals, getIdInType, getIDInType, getInstance, getKey, getType, hashCode, toObjectKeyString, toString, unregisterTypepublic static final String CATEGORY_TYPE
protected CategoryKey()
public CategoryKey(String categoryID)
public int getCategoryID()
ObjectKey.getIDInType() should be used instead.public ObjectKey getChildInstance(String IDInType, String objectKey)
ObjectKeyInterfaceIDInType - identifier within typeobjectKey - the full ObjectKey string representation. This is
an optimization to avoid having to rebuild it as when we call this
method we already have it.public static Set<CategoryKey> getCategories(String[] keys)
keys - Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.