Copyright© 2008-2022 Sitevision AB, all rights reserved.
public static enum IndexUtil.IndexType extends Enum<IndexUtil.IndexType>
IndexUtil
.
Example of how to get the USER_IDENTITY
type:
#set ($instanceCreatorUtil = $sitevisionUtils.instanceCreatorUtil)
#set ($enumClassName = 'senselogic.sitevision.api.search.index.IndexUtil$IndexType') ## Note the '$' separator...
#set ($userIdentityEnum = $instanceCreatorUtil.getEnumInstance($enumClassName, 'USER_IDENTITY'))
var userIdentityEnum = require('IndexUtil.IndexType.USER_IDENTITY');
Enum Constant and Description |
---|
NODE
The node index type (index of pages/articles/files/images).
|
UGC
The UGC (user-generated content) index type.
|
USER
The user index type (index of sv:simpleUser users).
|
USER_IDENTITY
The user identity index type (index of social user identities).
|
Modifier and Type | Method and Description |
---|---|
static IndexUtil.IndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexUtil.IndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Requireable(value="IndexUtil.IndexType.NODE") public static final IndexUtil.IndexType NODE
@Requireable(value="IndexUtil.IndexType.USER_IDENTITY") public static final IndexUtil.IndexType USER_IDENTITY
Note! This type is only applicable when a Social Collaboration license is in use.
@Requireable(value="IndexUtil.IndexType.USER") public static final IndexUtil.IndexType USER
@Requireable(value="IndexUtil.IndexType.UGC") public static final IndexUtil.IndexType UGC
public static IndexUtil.IndexType[] values()
for (IndexUtil.IndexType c : IndexUtil.IndexType.values()) System.out.println(c);
public static IndexUtil.IndexType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullSitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.